Interface UISWTViewCore
- All Superinterfaces:
UIPluginView, UISWTView
- All Known Subinterfaces:
MdiEntrySWT
- All Known Implementing Classes:
BaseMdiEntry, SideBarEntrySWT, TabbedEntry, UISWTViewImpl
A holding area between the public UISWTView plugin interface,
and things that we may eventually move into UISWTView
-
Field Summary
FieldsFields inherited from interface UISWTView
CONTROLTYPE_AWT, CONTROLTYPE_SWT -
Method Summary
Modifier and TypeMethodDescriptionbuildStandAlone(SWTSkinObjectContainer soParent) booleanorg.eclipse.swt.widgets.CompositeThis method is called after initialize so that the Tab is set its control Caller is the GUI Thread.Retrieve the data sources related to this view.Called in order to set / update the title of this View.Messagebundle ID for titlegetUserData(Object key) voidinitialize(org.eclipse.swt.widgets.Composite composite) This method is called when the view is instanciated, it should initialize all GUI components.voidsetParentView(UISWTView parentView) voidvoidsetUseCoreDataSource(boolean useCoreDataSource) voidsetUserData(Object key, Object data) voidbooleanMethods inherited from interface UIPluginView
closeView, getToolBarListener, getViewID, setToolBarListenerMethods inherited from interface UISWTView
getControlType, getInitialDataSource, getParentView, getPluginInterface, getViewSubID, isContentDisposed, isDestroyOnDeactivate, setControlType, setDestroyOnDeactivate, setTitle, triggerEvent
-
Field Details
-
CONTROLTYPE_SKINOBJECT
static final int CONTROLTYPE_SKINOBJECT- See Also:
-
UD_STANDALONE_DATA_SOURCE
-
-
Method Details
-
initialize
void initialize(org.eclipse.swt.widgets.Composite composite) This method is called when the view is instanciated, it should initialize all GUI components. Must NOT be blocking, or it'll freeze the whole GUI. Caller is the GUI Thread.- Parameters:
composite- the parent composite. Each view should create a child composite, and then use this child composite to add all elements to.
-
getComposite
org.eclipse.swt.widgets.Composite getComposite()This method is called after initialize so that the Tab is set its control Caller is the GUI Thread.- Returns:
- the Composite that should be set as the control for the Tab item
-
getTitleID
String getTitleID()Messagebundle ID for title -
getFullTitle
String getFullTitle()Called in order to set / update the title of this View. When the view is being displayed in a tab, the full title is used for the tooltip.- Returns:
- the full title for the view
-
setPluginSkinObject
-
getPluginSkinObject
PluginUISWTSkinObject getPluginSkinObject() -
setUseCoreDataSource
void setUseCoreDataSource(boolean useCoreDataSource) -
useCoreDataSource
boolean useCoreDataSource() -
getDataSource
Object getDataSource()Description copied from interface:UISWTViewRetrieve the data sources related to this view.- Specified by:
getDataSourcein interfaceUIPluginView- Specified by:
getDataSourcein interfaceUISWTView- Returns:
- Returns data source, based on
useCoreDataSource()
-
getEventListener
UISWTViewEventListener getEventListener()- Specified by:
getEventListenerin interfaceUISWTView
-
getEventListenerBuilder
UISWTViewBuilderCore getEventListenerBuilder() -
getViewTitleInfo
ViewTitleInfo getViewTitleInfo() -
setViewTitleInfo
-
setUserData
-
getUserData
-
setParentView
-
buildStandAlone
-
canBuildStandAlone
boolean canBuildStandAlone()
-