|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infai.emo.matcher.editor.wizard.Wizard
org.infai.emo.matcher.editor.wizard.impl.ModOpWizard
public class ModOpWizard
This wizard is used to load the models for the comparison and to configure the comparison-settings.
Wizard
Field Summary | |
---|---|
private ModelMatcherEditor |
editor
The editor from which the wizard was called or which shall be opened by the wizard. |
private java.lang.String |
m1Path
The path of the file which contains the first model. |
private java.lang.String |
m2Path
The path of the file which contains the second model. |
private java.lang.String |
mmPath
The path of the file which contains the meta-model. |
Constructor Summary | |
---|---|
ModOpWizard(java.lang.String title,
ModelMatcherEditor editor)
This constructor initializes the wizard by adding some pages and building the UI. |
Method Summary | |
---|---|
boolean |
computeCancel()
This method is the central action to be executed after clicking the cancel-button. |
boolean |
computeFinish()
This method is the central action to be executed after clicking the finish-button. |
ModelMatcherEditor |
getEditor()
|
java.lang.String |
getM1Path()
|
java.lang.String |
getM2Path()
|
java.lang.String |
getMmPath()
|
void |
openWizard()
Method opens the pre-built wizard if the number of pages is different from 0. |
void |
setEditor(ModelMatcherEditor editor)
|
void |
setM1Path(java.lang.String path)
|
void |
setM2Path(java.lang.String path)
|
void |
setMmPath(java.lang.String mmPath)
|
Methods inherited from class org.infai.emo.matcher.editor.wizard.Wizard |
---|
addPage, disableBack, disableFinish, disableNext, enableBack, enableFinish, enableNext, getDisplay, getPages, getShell, setPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String m1Path
private java.lang.String m2Path
private java.lang.String mmPath
private ModelMatcherEditor editor
ModelMatcherEditor
Constructor Detail |
---|
public ModOpWizard(java.lang.String title, ModelMatcherEditor editor)
title
- the title for the editor that shall be shown in the title-bar.editor
- the editor.ModelMatcherEditor
Method Detail |
---|
public void openWizard()
openWizard
in class Wizard
public boolean computeFinish()
computeFinish
in class Wizard
public boolean computeCancel()
computeCancel
in class Wizard
public ModelMatcherEditor getEditor()
ModelMatcherEditor
public void setEditor(ModelMatcherEditor editor)
editor
- the editor for the comparison.ModelMatcherEditor
public java.lang.String getM1Path()
public void setM1Path(java.lang.String path)
path
- the path for the first model.public java.lang.String getM2Path()
public void setM2Path(java.lang.String path)
path
- the path for the second model.public java.lang.String getMmPath()
public void setMmPath(java.lang.String mmPath)
mmPath
- the path for the meta-model.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |