Class CustomizableIntroPart
- All Implemented Interfaces:
- EventListener,- IAdaptable,- IExecutableExtension,- IRegistryChangeListener,- IIntroPart
 Memento Support: This intro part tries to restore its previous state when
 possible. The state of the intro page is remembered, along with which standby
 content content part was opened. IStandbyContent parts are passed the Intro's
 memento shortly after construction, and are expected to restore there own
 state based on the memento. The customizable intro part handles there initial
 creation on load, and leaves restoring state to content part. Same with
 saving state. The memento is passed shortly before shutdown to enable storing
 of part specific data.
 Note: This class was made public for re-use, as-is, as a valid class for the
 org.eclipse.ui.intro extension point. It is not intended to be
 subclassed or used otherwise.
 
- Since:
- 3.0
- 
Field SummaryFields inherited from interface org.eclipse.ui.intro.IIntroPartPROP_TITLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreatePartControl(Composite parent) Creates the UI based on how the InroPart has been configured.voiddispose()TheIntroPartimplementation of thisIIntroPartmethod disposes the title image loaded bysetInitializationData.Returns the primary control associated with this Intro part.voidinit(IIntroSite site, IMemento memento) The base implementation of thisIIntroPartmethod ignores the memento and initializes the part in a fresh state.booleanvoidSupport dynamic awarness.voidThe base implementation of thisIIntroPartmethod does nothing.voidsetFocus()Asks this part to take focus within the workbench.voidstandbyStateChanged(boolean standby) Sets the standby state of this intro part.Methods inherited from class org.eclipse.ui.part.IntroPartaddPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getDefaultImage, getIntroSite, getTitle, getTitleImage, removePropertyListener, setInitializationData, setSite, setTitle, setTitleImageMethods inherited from class org.eclipse.core.commands.common.EventManageraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
- 
Constructor Details- 
CustomizableIntroPartpublic CustomizableIntroPart()
 
- 
- 
Method Details- 
initDescription copied from class:IntroPartThe base implementation of thisIIntroPartmethod ignores the memento and initializes the part in a fresh state. Subclasses may extend to perform any state restoration, but must call the super method.- Specified by:
- initin interface- IIntroPart
- Overrides:
- initin class- IntroPart
- Parameters:
- site- the intro site
- memento- the intro part state or- nullif there is no previous saved state
- Throws:
- PartInitException- if this part was not initialized successfully
 
- 
createPartControlCreates the UI based on how the InroPart has been configured.- Specified by:
- createPartControlin interface- IIntroPart
- Specified by:
- createPartControlin class- IntroPart
- Parameters:
- parent- the parent control
- See Also:
 
- 
standbyStateChangedpublic void standbyStateChanged(boolean standby) Description copied from interface:IIntroPartSets the standby state of this intro part. An intro part should render itself differently in the full and standby modes. In standby mode, the part should be partially visible to the user but otherwise allow them to work. In full mode, the part should be fully visible and be the center of the user's attention.This method is automatically called by the workbench at appropriate times. Clients must not call this method directly (call IIntroManager.setIntroStandby(IIntroPart, boolean)instead.- Specified by:
- standbyStateChangedin interface- IIntroPart
- Parameters:
- standby-- trueto put this part in its partially visible standy mode, and- falseto make it fully visible
 
- 
setFocuspublic void setFocus()Description copied from interface:IIntroPartAsks this part to take focus within the workbench.Clients should not call this method (the workbench calls this method at appropriate times). To have the workbench activate a part, use IIntroManager.showIntro(IWorkbenchWindow, boolean).- Specified by:
- setFocusin interface- IIntroPart
- Specified by:
- setFocusin class- IntroPart
 
- 
disposepublic void dispose()Description copied from class:IntroPartTheIntroPartimplementation of thisIIntroPartmethod disposes the title image loaded bysetInitializationData. Subclasses may extend.- Specified by:
- disposein interface- IIntroPart
- Overrides:
- disposein class- IntroPart
 
- 
getControlReturns the primary control associated with this Intro part.- Returns:
- the SWT control which displays this Intro part's content, or
         nullif this standby part's controls have not yet been created.
 
- 
saveStateDescription copied from class:IntroPartThe base implementation of thisIIntroPartmethod does nothing. Subclasses may override.- Specified by:
- saveStatein interface- IIntroPart
- Overrides:
- saveStatein class- IntroPart
- Parameters:
- memento- a memento to receive the object state
 
- 
registryChangedSupport dynamic awarness.- Specified by:
- registryChangedin interface- IRegistryChangeListener
- Parameters:
- event- the registry change event
- See Also:
 
- 
internal_isFinishedLoadingpublic boolean internal_isFinishedLoading()
 
-