this abstract class realize the basics for the axbench diagram editors. The zest plugin is integrated inside an editor part with a palette. The usage of Zest or direct GEF is the response of the subclasses.
More...
List of all members.
Detailed Description
this abstract class realize the basics for the axbench diagram editors. The zest plugin is integrated inside an editor part with a palette. The usage of Zest or direct GEF is the response of the subclasses.
- Author:
- skaegebein
- Version:
- 0.9.0
- Since:
- 0.9.0
Constructor & Destructor Documentation
de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.DiagramEditor |
( |
AXLDiagramMultiPage |
diagrammultipage |
) |
|
the constructor
- Parameters:
-
Member Function Documentation
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.adaptActualToolBarZoom |
( |
|
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.adaptNewZoom |
( |
String |
z, |
|
|
AXBenchZoomContributionItem |
who | |
|
) |
| | |
this method realizes the adaption of the combo zoom inside the toolbar.
- Parameters:
-
abstract void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.addAdditionalMenus |
( |
MenuManager |
manager |
) |
[protected, pure virtual] |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.buildUpToolBar |
( |
|
) |
[protected] |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.closeEditor |
( |
boolean |
save |
) |
[protected] |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.commandStackChanged |
( |
EventObject |
event |
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.createActions |
( |
|
) |
[protected] |
Creates actions for this editor. Subclasses should override this method to create and register actions with the ActionRegistry.
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.createLayout |
( |
|
) |
|
CustomPalettePage de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.createPalettePage |
( |
|
) |
[protected] |
PaletteViewerProvider de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.createPaletteViewerProvider |
( |
|
) |
[protected] |
Creates a PaletteViewerProvider that will be used to create palettes for the view and the flyout.
- Returns:
- the palette provider
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.createPartControl |
( |
Composite |
parent |
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.dispose |
( |
|
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.doSave |
( |
IProgressMonitor |
monitor |
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.doSaveAs |
( |
|
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.firePropertyChange |
( |
int |
property |
) |
[protected] |
- See also:
- org.eclipse.ui.part.WorkbenchPart.firePropertyChange(int)
ActionRegistry de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getActionRegistry |
( |
|
) |
[protected] |
Lazily creates and returns the action registry.
- Returns:
- the action registry
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getActualAXBenchModel |
( |
|
) |
|
Object de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getAdapter |
( |
Class |
type |
) |
|
CommandStack de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getCommandStack |
( |
|
) |
[protected] |
Returns the command stack.
- Returns:
- the command stack
DefaultEditDomain de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getEditDomain |
( |
|
) |
[protected] |
Returns the edit domain.
- Returns:
- the edit domain
AXLDiagramMultiPage de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getMyMultiPage |
( |
|
) |
|
FlyoutPreferences de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getPalettePreferences |
( |
|
) |
[protected] |
By default, this method returns a FlyoutPreferences object that stores the flyout settings in the GEF plugin. Sub-classes may override.
- Returns:
- the FlyoutPreferences object used to save the flyout palette's preferences
PaletteRoot de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getPaletteRoot |
( |
|
) |
[protected] |
final PaletteViewerProvider de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getPaletteViewerProvider |
( |
|
) |
[protected] |
List<String> de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getPropertyActions |
( |
|
) |
[protected] |
Returns the list of IActions dependant on property changes in the Editor. These actions should implement the UpdateAction interface so that they can be updated in response to property changes. An example is the "Save" action.
- Returns:
- the list of property-dependant actions
List<String> de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getSelectionActions |
( |
|
) |
[protected] |
Returns the list of IDs of Actions that are dependant on changes in the workbench's ISelectionService. The associated Actions can be found in the action registry. Such actions should implement the UpdateAction interface so that they can be updated in response to selection changes.
- See also:
- updateActions(List)
- Returns:
- the list of selection-dependant action IDs
List<String> de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getStackActions |
( |
|
) |
[protected] |
Returns the list of IDs of Actions that are dependant on the CommmandStack's state. The associated Actions can be found in the action registry. These actions should implement the UpdateAction interface so that they can be updated in response to command stack changes. An example is the "undo" action.
- Returns:
- the list of stack-dependant action IDs
AXBenchGraphViewer de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getViewer |
( |
|
) |
|
AbstractZoomableViewer de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.getZoomableViewer |
( |
|
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.hookMouseScrollListener |
( |
|
) |
[protected] |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.hookSelectionListener |
( |
|
) |
[protected] |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.hookZoom |
( |
|
) |
[protected] |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.init |
( |
IEditorSite |
site, |
|
|
IEditorInput |
input | |
|
) |
| | throws PartInitException |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.initializeActionRegistry |
( |
|
) |
[protected] |
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.isDirty |
( |
|
) |
|
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.isSaveAsAllowed |
( |
|
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.selectionChanged |
( |
IWorkbenchPart |
part, |
|
|
ISelection |
selection | |
|
) |
| | |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.setFocus |
( |
|
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.superSetInput |
( |
IEditorInput |
input |
) |
[protected] |
void de.fraunhofer.isst.axbench.editors.axlmultipage.diagrams.editors.DiagramEditor.updateActions |
( |
List |
actionIds |
) |
[protected] |
A convenience method for updating a set of actions defined by the given List of action IDs. The actions are found by looking up the ID in the action registry. If the corresponding action is an UpdateAction, it will have its update()
method called.
- Parameters:
-
| actionIds | the list of IDs to update |
Member Data Documentation