|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.infai.emo.matcher.editor.wizard.WizardPage org.infai.emo.matcher.editor.wizard.impl.LoadPage
public class LoadPage
This page contains the file-choosers for the models.
It is plugged into the wizard as a wizard-page.
WizardPage
Field Summary | |
---|---|
private org.eclipse.swt.widgets.Button |
browseM1
The browse-button for the model-1-file-chooser. |
private org.eclipse.swt.widgets.Button |
browseM2
The browse-button for the model-2-file-chooser. |
private org.eclipse.swt.widgets.Button |
browseMM
The browse-button for the meta-model-file-chooser. |
private boolean |
crossProduct
This flag indicates whether a full cross-product between both models shall be used for the matching. |
private org.eclipse.swt.widgets.Button |
crossProductButton
The button that indicates the use of a full cross-product between both models. |
private java.lang.String |
m1Path
The path for the first model. |
private java.lang.String |
m2Path
The path for the second model. |
private java.lang.String |
mmPath
The path of the meta-model that describes the definition of the models. |
private org.eclipse.swt.widgets.Button |
noCrossProductButton
The button that indicates to not use a full cross-product between both models. |
private org.eclipse.swt.widgets.Text |
textM1
The text-field that contains the path of the first model. |
private org.eclipse.swt.widgets.Text |
textM2
The text-field that contains the path of the second model. |
private org.eclipse.swt.widgets.Text |
textMM
The text-field that contains the path of the meta-model. |
Constructor Summary | |
---|---|
LoadPage()
Creates a new LoadPage but does not initialize the UI. |
Method Summary | |
---|---|
private void |
addListeners()
Method adds the Listeners to the Buttons and the text-fields so that the models can be selected and a check for the existence of the models can be provided. |
private void |
checkInputs()
Checks whether the file extensions of both model-files equal. |
void |
createPage(org.eclipse.swt.widgets.Composite parent)
Creates the UI for the page. |
java.lang.String |
getM1Path()
|
java.lang.String |
getM2Path()
|
java.lang.String |
getMmPath()
|
java.lang.String |
getPageDescription()
|
java.lang.String |
getPageTitle()
|
void |
setM1Path(java.lang.String path)
|
void |
setM2Path(java.lang.String path)
|
void |
setMmPath(java.lang.String mmPath)
|
boolean |
useCrossProduct()
|
Methods inherited from class org.infai.emo.matcher.editor.wizard.WizardPage |
---|
getImage, getPage, getWizard, setImage, setPage, setWizard |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String mmPath
private java.lang.String m1Path
private java.lang.String m2Path
private org.eclipse.swt.widgets.Text textM1
Text
private org.eclipse.swt.widgets.Text textM2
Text
private org.eclipse.swt.widgets.Text textMM
Text
private org.eclipse.swt.widgets.Button browseM1
Button
private org.eclipse.swt.widgets.Button browseM2
Button
private org.eclipse.swt.widgets.Button browseMM
Button
private org.eclipse.swt.widgets.Button crossProductButton
Button
private org.eclipse.swt.widgets.Button noCrossProductButton
Button
private boolean crossProduct
Constructor Detail |
---|
public LoadPage()
Method Detail |
---|
public void createPage(org.eclipse.swt.widgets.Composite parent)
createPage
in class WizardPage
parent
- the Composite on which the page can be created.Composite
private void checkInputs()
private void addListeners()
public java.lang.String getPageTitle()
getPageTitle
in class WizardPage
public java.lang.String getPageDescription()
getPageDescription
in class WizardPage
public java.lang.String getMmPath()
public java.lang.String getM1Path()
public java.lang.String getM2Path()
public void setMmPath(java.lang.String mmPath)
mmPath
- the path of the file that contains the meta-model.public void setM1Path(java.lang.String path)
path
- the path of the file that contains the first model.public void setM2Path(java.lang.String path)
path
- the path of the file that contains the second model.public boolean useCrossProduct()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |