public abstract class AbstractDiagramWizardContributor extends AbstractWizardContributor implements IDiagramWizardContributor
IDiagramWizardContributor
that only provides useful fields and their
getters/setters.Constructor and Description |
---|
AbstractDiagramWizardContributor() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MObject owner)
This method checks if an element is accepted.
|
protected abstract boolean |
checkCanCreateIn(ModelElement owner)
Called by
accept(MObject) to check whether the given object has
sufficient rights to create the wizard new element. |
IPanelProvider |
getWizardPanel()
Get the GUI panel to display in the wizard.
|
actionPerformed, dispose, findStereotypeFromSpec, getDetails, getHelpUrl, getIcon, getInformation, getLabel, getModule, getParameters, getPreviewImage, getScopes, setDetails, setHelpUrl, setIcon, setInformation, setLabel, setModule, setParameters, setPreviewImage, setScopes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
dispose, getDetails, getHelpUrl, getIcon, getInformation, getLabel, getModule, getPreviewImage, getScopes, setDetails, setHelpUrl, setIcon, setInformation, setLabel, setModule, setParameters, setPreviewImage, setScopes
public IPanelProvider getWizardPanel()
IWizardContributor
getWizardPanel
in interface IWizardContributor
getWizardPanel
in class AbstractWizardContributor
public boolean accept(MObject owner)
IWizardContributor
accept
in interface IWizardContributor
accept
in class AbstractWizardContributor
owner
- the model element to check.true
if the element is accepted.protected abstract boolean checkCanCreateIn(ModelElement owner)
accept(MObject)
to check whether the given object has
sufficient rights to create the wizard new element.owner
- the new element owner.