|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.ContributionItem
eu.esdihumboldt.hale.ui.function.contribution.AbstractFunctionWizardContribution
public abstract class AbstractFunctionWizardContribution
Contribution that provides access to function wizards
Constructor Summary | |
---|---|
AbstractFunctionWizardContribution()
Create a function wizard contribution that doesn't hide augmentations. |
|
AbstractFunctionWizardContribution(boolean showAugmentations)
Constructor |
Method Summary | |
---|---|
protected abstract AbstractWizardAction<?> |
createWizardAction(FunctionWizardDescriptor<?> descriptor,
AlignmentService alignmentService)
Create a wizard action for the given function wizard descriptor |
void |
fill(org.eclipse.swt.widgets.Menu menu,
int index)
|
void |
fill(org.eclipse.swt.widgets.ToolBar parent,
int index)
|
protected Collection<FunctionWizardDescriptor<?>> |
getFunctionWizardDescriptors()
Get the currently applicable function wizard descriptors |
boolean |
hasActiveFunctions()
Determines if there are any active function wizards for the current selection |
abstract boolean |
isActive(FunctionWizardDescriptor<?> descriptor)
Determine if a function wizard is active for the current selection |
boolean |
isDynamic()
|
Methods inherited from class org.eclipse.jface.action.ContributionItem |
---|
dispose, fill, fill, getId, getParent, isDirty, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractFunctionWizardContribution(boolean showAugmentations)
showAugmentations
- if augmentations shall be shownpublic AbstractFunctionWizardContribution()
Method Detail |
---|
public void fill(org.eclipse.swt.widgets.ToolBar parent, int index)
fill
in interface org.eclipse.jface.action.IContributionItem
fill
in class org.eclipse.jface.action.ContributionItem
ContributionItem.fill(ToolBar, int)
protected Collection<FunctionWizardDescriptor<?>> getFunctionWizardDescriptors()
protected abstract AbstractWizardAction<?> createWizardAction(FunctionWizardDescriptor<?> descriptor, AlignmentService alignmentService)
descriptor
- the function wizard descriptoralignmentService
- the alignment service
public void fill(org.eclipse.swt.widgets.Menu menu, int index)
fill
in interface org.eclipse.jface.action.IContributionItem
fill
in class org.eclipse.jface.action.ContributionItem
ContributionItem.fill(Menu, int)
public boolean isDynamic()
isDynamic
in interface org.eclipse.jface.action.IContributionItem
isDynamic
in class org.eclipse.jface.action.ContributionItem
ContributionItem.isDynamic()
public abstract boolean isActive(FunctionWizardDescriptor<?> descriptor)
descriptor
- the function wizard descriptor
public boolean hasActiveFunctions()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |