Package com.biglybt.ui.swt.pifimpl
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 com.biglybt.ui.swt.pif.UISWTView
CONTROLTYPE_AWT, CONTROLTYPE_SWT
-
Method Summary
Modifier and TypeMethodDescriptionbuildStandAlone
(SWTSkinObjectContainer soParent) boolean
org.eclipse.swt.widgets.Composite
This 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) void
initialize
(org.eclipse.swt.widgets.Composite composite) This method is called when the view is instanciated, it should initialize all GUI components.void
setParentView
(UISWTView parentView) void
void
setUseCoreDataSource
(boolean useCoreDataSource) void
setUserData
(Object key, Object data) void
boolean
Methods inherited from interface com.biglybt.pif.ui.UIPluginView
closeView, getToolBarListener, getViewID, setToolBarListener
Methods inherited from interface com.biglybt.ui.swt.pif.UISWTView
getControlType, getInitialDataSource, getParentView, getPluginInterface, isContentDisposed, isDestroyOnDeactivate, setControlType, setDestroyOnDeactivate, setTitle, triggerEvent
-
Field Details
-
CONTROLTYPE_SKINOBJECT
static final int CONTROLTYPE_SKINOBJECT- See Also:
-
-
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:UISWTView
Retrieve the data sources related to this view.- Specified by:
getDataSource
in interfaceUIPluginView
- Specified by:
getDataSource
in interfaceUISWTView
- Returns:
- Returns data source, based on
useCoreDataSource()
-
getEventListener
UISWTViewEventListener getEventListener()- Specified by:
getEventListener
in interfaceUISWTView
-
getEventListenerBuilder
UISWTViewBuilderCore getEventListenerBuilder() -
getViewTitleInfo
ViewTitleInfo getViewTitleInfo() -
setViewTitleInfo
-
setUserData
-
getUserData
-
setParentView
-
buildStandAlone
-
canBuildStandAlone
boolean canBuildStandAlone()
-