|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAction
org.eclipse.egf.core.ui.workbench.action.navigator.AbstractNavigatorAction
org.eclipse.egf.core.ui.workbench.action.navigator.AbstractModelElementAction
org.eclipse.egf.core.ui.workbench.action.open.OpenModelElementAction
org.eclipse.egf.core.ui.workbench.action.open.OpenPatternAction
public class OpenPatternAction
Implement an action that opens a pattern editor for selected PatternModel element.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.egf.core.ui.workbench.action.open.OpenModelElementAction |
|---|
OPEN_ACTION_ID |
| Constructor Summary | |
|---|---|
OpenPatternAction(Shell shell_p,
ISelectionProvider selectionProvider_p,
boolean readOnlyMode_p)
Constructor. |
|
| Method Summary | |
|---|---|
protected String |
getEditorId()
Return the id of the editor to be opened. |
protected IEditorInput |
getEditorInput()
Return the input used by the open editor. |
protected Class<?> |
getModelElementClass()
Get the model element class for which this action is enabled for. |
boolean |
isEnabled()
|
void |
run()
|
| Methods inherited from class org.eclipse.egf.core.ui.workbench.action.open.OpenModelElementAction |
|---|
doOpenEditor, getWizardFor, shouldSaveEditorAfterOpening |
| Methods inherited from class org.eclipse.egf.core.ui.workbench.action.navigator.AbstractModelElementAction |
|---|
computeImageDescriptorForModelElement, executeCommand, getEditingDomain, getModelElement, isReadOnly, openWizardDialog, setSelectedElement |
| Methods inherited from class org.eclipse.egf.core.ui.workbench.action.navigator.AbstractNavigatorAction |
|---|
getSelection, getSelectionProvider, getSharedImages, getShell, isSelectionCompatible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenPatternAction(Shell shell_p,
ISelectionProvider selectionProvider_p,
boolean readOnlyMode_p)
shell_p - selectionProvider_p - readOnlyMode_p - | Method Detail |
|---|
protected String getEditorId()
OpenModelElementAction
getEditorId in class OpenModelElementActionOpenModelElementAction.getEditorId()protected IEditorInput getEditorInput()
OpenModelElementAction
getEditorInput in class OpenModelElementActionOpenModelElementAction.getEditorInput()public void run()
run in class OpenModelElementActionOpenModelElementAction.run()public boolean isEnabled()
org.eclipse.jface.action.Action#isEnabled()protected Class<?> getModelElementClass()
AbstractNavigatorAction
getModelElementClass in class AbstractNavigatorActionAbstractNavigatorAction.getModelElementClass()
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.