Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
#include <berryIIntroPart.h>
Public Member Functions | |
berryObjectMacro (berry::IIntroPart) | |
~IIntroPart () override | |
virtual IIntroSite::Pointer | GetIntroSite () const =0 |
virtual void | Init (IIntroSite::Pointer site, IMemento::Pointer memento)=0 |
virtual void | StandbyStateChanged (bool standby)=0 |
virtual void | SaveState (IMemento::Pointer memento)=0 |
virtual void | AddPropertyListener (IPropertyChangeListener *listener)=0 |
virtual void | CreatePartControl (void *parent)=0 |
virtual QIcon | GetTitleImage () const =0 |
virtual QString | GetPartName () const =0 |
virtual void | RemovePropertyListener (IPropertyChangeListener *listener)=0 |
virtual void | SetFocus ()=0 |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
virtual void | Delete () |
QDebug | Print (QDebug os, Indent Indent=0) const |
virtual QString | ToString () const |
virtual uint | HashCode () const |
virtual bool | operator< (const Object *) const |
void | Register () const |
void | UnRegister (bool del=true) const |
int | GetReferenceCount () const |
void | SetReferenceCount (int) |
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
virtual bool | operator== (const Object *) const |
Additional Inherited Members | |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Member Functions inherited from berry::Object | |
Object () | |
virtual | ~Object () |
virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
The intro part is a visual component within the workbench responsible for introducing the product to new users. The intro part is typically shown the first time a product is started up.
The intro part implementation is contributed to the workbench via the org.blueberry.ui.intro
extension point. There can be several intro part implementations, and associations between intro part implementations and products. The workbench will only make use of the intro part implementation for the current product (as given by berry::Platform#GetProduct(). There is at most one intro part instance in the entire workbench, and it resides in exactly one workbench window at a time.
This interface in not intended to be directly implemented. Rather, clients providing a intro part implementation should subclass berry::IntroPart.
Definition at line 52 of file berryIIntroPart.h.
|
override |
|
pure virtual |
Adds a listener for changes to properties of this intro part. Has no effect if an identical listener is already registered.
listener | a property listener |
Implemented in berry::IntroPart.
berry::IIntroPart::berryObjectMacro | ( | berry::IIntroPart | ) |
|
pure virtual |
Creates the SWT controls for this intro part.
Clients should not call this method (the workbench calls this method when it needs to, which may be never).
For implementors this is a multi-step process:
IActionService
. IActionService
. ISelectionService
(optional). parent | the parent control |
Implemented in berry::QtIntroPart.
|
pure virtual |
|
pure virtual |
Returns the title of this intro part.
The title is used to populate the title bar of this part's visual container.
null
) Implemented in berry::IntroPart.
|
pure virtual |
Returns the title image of this intro part.
The title image is usually used to populate the title bar of this part's visual container. Since this image is managed by the part itself, callers must not dispose the returned image.
Implemented in berry::IntroPart.
|
pure virtual |
Initializes this intro part with the given intro site. A memento is passed to the part which contains a snapshot of the part state from a previous session. Where possible, the part should try to recreate that state.
This method is automatically called by the workbench shortly after part construction. It marks the start of the intro's lifecycle. Clients must not call this method.
site | the intro site |
memento | the intro part state or null if there is no previous saved state |
PartInitException | if this part was not initialized successfully |
Implemented in berry::IntroPart.
|
pure virtual |
Removes the given property listener from this intro part. Has no affect if an identical listener is not registered.
listener | a property listener |
Implemented in berry::IntroPart.
|
pure virtual |
Saves the object state within a memento.
This method is automatically called by the workbench at appropriate times. Clients must not call this method directly.
memento | a memento to receive the object state |
Implemented in berry::IntroPart.
|
pure virtual |
Asks 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.
|
pure virtual |
Sets 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 instead.
standby | true to put this part in its partially visible standy mode, and false to make it fully visible |