public class EXTLibraryExtendedActionBarContributor extends EXTLibraryActionBarContributor
activeEditorPart, createChildActions, createChildMenuManager, createSiblingActions, createSiblingMenuManager, refreshViewerAction, selectionProvider, showPropertiesViewAction
activeEditor, ADDITIONS_LAST_STYLE, controlAction, copyAction, cutAction, deleteAction, liveValidationAction, loadResourceAction, pasteAction, redoAction, style, undoAction, validateAction
Constructor and Description |
---|
EXTLibraryExtendedActionBarContributor()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IAction> |
generateCreateChildActions(java.util.Collection<?> descriptors,
ISelection selection)
This generates a
CreateChildAction for each object in descriptors ,
and returns the collection of these actions |
protected java.util.Collection<IAction> |
generateCreateSiblingActions(java.util.Collection<?> descriptors,
ISelection selection)
This generates a
CreateSiblingAction for each object in descriptors ,
and returns the collection of these actions |
protected Action |
generateResourceAction(Resource resource)
Generates a library action for a given resource
|
void |
init(IActionBars actionBars) |
addGlobalActions, contributeToMenu, contributeToToolBar, depopulateManager, menuAboutToShow, populateManager, removeAllReferencesOnDelete, selectionChanged, setActiveEditor
activate, contributeToStatusLine, createCopyAction, createCutAction, createDeleteAction, createPasteAction, createRedoAction, createUndoAction, deactivate, getActiveEditor, propertyChanged, setActivePage, setActiveView, shareGlobalActions, update
public EXTLibraryExtendedActionBarContributor()
protected java.util.Collection<IAction> generateCreateChildActions(java.util.Collection<?> descriptors, ISelection selection)
EXTLibraryActionBarContributor
CreateChildAction
for each object in descriptors
,
and returns the collection of these actions.
generateCreateChildActions
in class EXTLibraryActionBarContributor
protected java.util.Collection<IAction> generateCreateSiblingActions(java.util.Collection<?> descriptors, ISelection selection)
EXTLibraryActionBarContributor
CreateSiblingAction
for each object in descriptors
,
and returns the collection of these actions.
generateCreateSiblingActions
in class EXTLibraryActionBarContributor
protected Action generateResourceAction(Resource resource)
resource
- the containing resourcepublic void init(IActionBars actionBars)
init
in class EditingDomainActionBarContributor