Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:50
João Pedro is currently offline João PedroFriend
Messages: 28
Registered: December 2014
Junior Member
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 Nov 16 19:48:01 GMT 2018

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

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

Back to the top