Class AbstractPagesPart<T extends AbstractTreeElementType,P extends IPartPage<T>>
java.lang.Object
com.amalgamasimulation.desktop.appelements.parts.AbstractPagesPart<T,P>
public abstract class AbstractPagesPart<T extends AbstractTreeElementType,P extends IPartPage<T>>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.e4.ui.model.application.MApplicationprotected ICommandFactoryprotected org.eclipse.e4.core.services.events.IEventBrokerprotected booleanprotected com.amalgamasimulation.desktop.utils.MessageManagerprotected intprotected intprotected org.eclipse.e4.ui.model.application.ui.basic.MPartprotected org.eclipse.swt.widgets.Compositeprotected org.eclipse.e4.ui.workbench.modeling.EPartServiceprotected T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.e4.core.services.events.IEventBrokerorg.eclipse.e4.ui.model.application.ui.basic.MPartgetPart()booleanisPageVisible(P page) protected voidonExternalSelection(Object selection) protected voidvoidpostConstruct(org.eclipse.swt.widgets.Composite parent, org.eclipse.e4.ui.model.application.ui.basic.MPart mPart) voidregisterPage(P page) protected abstract voidprotected voidsetPartStackVisible(boolean visible) protected voidprotected final <E> void
-
Field Details
-
eventBroker
@Inject protected org.eclipse.e4.core.services.events.IEventBroker eventBroker -
application
@Inject protected org.eclipse.e4.ui.model.application.MApplication application -
partService
@Inject protected org.eclipse.e4.ui.workbench.modeling.EPartService partService -
messageManager
@Inject protected com.amalgamasimulation.desktop.utils.MessageManager messageManager -
commandFactory
-
mPart
protected org.eclipse.e4.ui.model.application.ui.basic.MPart mPart -
parent
protected org.eclipse.swt.widgets.Composite parent -
minWidth
protected int minWidth -
minHeight
protected int minHeight -
hidePartStackWithoutPages
protected boolean hidePartStackWithoutPages -
shownType
-
pages
-
-
Constructor Details
-
AbstractPagesPart
public AbstractPagesPart()
-
-
Method Details
-
registerPages
protected abstract void registerPages() -
registerPage
-
isPageVisible
-
getEventBroker
public org.eclipse.e4.core.services.events.IEventBroker getEventBroker() -
getCommandFactory
-
getPart
public org.eclipse.e4.ui.model.application.ui.basic.MPart getPart() -
getShownType
-
showPages
-
onExternalSelection
-
onNewContainer
protected void onNewContainer() -
setPartStackVisible
protected void setPartStackVisible(boolean visible) -
subscribe
-
postConstruct
@PostConstruct public void postConstruct(org.eclipse.swt.widgets.Composite parent, org.eclipse.e4.ui.model.application.ui.basic.MPart mPart)
-