|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infai.emo.matcher.editor.action.PopupAction
public class PopupAction
This class is called when the user selects one or two EMF models and clicks the "Model Operations/compare Models" context-menu entry.
The class opens a new Edtitor for the ModelMatcher and a wizard for importing and comparing both models.
IWorkbenchWindowActionDelegate| Field Summary | |
|---|---|
private ModelMatcherEditor |
editor
The editor in which the models shall be imported. |
private org.eclipse.jface.viewers.ISelection |
selection
The selection of the treeViewer in which the user selected the models. |
| Constructor Summary | |
|---|---|
PopupAction()
|
|
| Method Summary | |
|---|---|
void |
dispose()
|
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
void |
run(org.eclipse.jface.action.IAction action)
Method is called after the user clicked the context-menu entry. |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private org.eclipse.jface.viewers.ISelection selection
ISelectionprivate ModelMatcherEditor editor
ModelMatcherEditor| Constructor Detail |
|---|
public PopupAction()
| Method Detail |
|---|
public void run(org.eclipse.jface.action.IAction action)
run in interface org.eclipse.ui.IActionDelegateaction - the action caused by the user.IActionDelegate.run(IAction)
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
selectionChanged in interface org.eclipse.ui.IActionDelegatepublic void dispose()
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegatepublic void init(org.eclipse.ui.IWorkbenchWindow window)
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||