Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » "Show list" button does not appear in Stack of MParts
"Show list" button does not appear in Stack of MParts [message #1785529] Mon, 16 April 2018 05:50
Eclipse UserFriend
I have a stack of MParts, which work correctly in general. However when there are too many tabs, they just get cramped up and the automatic button of "Show list" of tabs does not appear (see image), even if I open 50 tabs.

Code:
String labelName = "Parameter " + p.getShortName();
MUIElement window = modelService.find("parametereditor.trimmedwindow.parametersedition", app);
window.setToBeRendered(true);	
				
MPart foundPart = (MPart) modelService.find(labelName,app);
if(foundPart != null) {
    partService.showPart(foundPart, PartState.ACTIVATE);
    return;
}
				
MPart aPart = MBasicFactory.INSTANCE.createPart();
aPart.setLabel(labelName);
aPart.setElementId(labelName);
aPart.setContributionURI("bundleclass://ParameterEditor/parameterEditor.parts.ParameterAttributesPart");		
								
MPartStack stack = (MPartStack) modelService.find("parametereditor.partstack.4", app);
stack.getChildren().add(aPart);
			 	
partService.showPart(aPart, PartState.ACTIVATE);


What am I missing to activate the "Show list" button?
Previous Topic:Issue with E4 ProgressView
Next Topic:How to get rid of the Minimize ans Maximize buttons
Goto Forum:
  


Current Time: Fri Jul 04 17:22:28 EDT 2025

Powered by FUDForum. Page generated in 0.24605 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top