The main wizard class where all pages are added and the finish button is handled. More...
Public Member Functions | |
void | addPages () |
boolean | canFinish () |
void | changeWindowTitle (String title) |
changes the actual window title. | |
void | configureMainPage (String title, String startstring, String description, Vector< String > usedIdentifiers) |
via this method the mainpage can be configured. | |
void | configureNextPage (String title, String description, boolean done, String attribute) |
via this method all pages to the corresponding attribute can be configured. | |
void | configureReferencePage (String title, Vector< Role > possiblereferences, String description, boolean done, boolean referenceaction) |
via this method the reference page can be configured. | |
EditableViewWizard (Role myrole, String action, IAXLangElement element, IAXLangElement actualeditedelement) | |
IAXLangElement | getActualeditedelement () |
LinkedHashMap< String, AtomicBoolean > | getAttributechoosen () |
IAXLangElement | getElement () |
EditableViewMainWizardPage | getMainpage () |
EditableViewWizardDialog | getMyDialog () |
LinkedHashMap< Role, ArrayList < String > > | getNeededattributes () |
LinkedHashMap< String, EditableViewNextWizardPage > | getNextpages () |
ArrayList< String > | getPageorder () |
LinkedHashMap< String, LinkedHashMap< String, Boolean > > | getPossibleattributes () |
Vector< Role > | getPossiblereferences () |
LinkedHashMap< Role, ArrayList < Role > > | getReferenceconstraints () |
EditableViewReferenceWizardPage | getReferencepage () |
void | init (IWorkbench workbench, IStructuredSelection selection) |
void | performActivation () |
performs a Activation. | |
void | performActivity () |
performs a Activity. | |
void | performActivityAttribute () |
performs the ActivityAttribute. | |
void | performAddMultipleReferencesFromTable (IAXLangElement element, Role role, IAXLangElement referencedelement) |
adds multiple references to the element from a table. | |
void | performAddSingleReference (IAXLangElement element, Role role) |
adds a single reference to the element. | |
void | performAddSingleReferenceFromComboViaDependedRole (IAXLangElement element, Role parentrole, Role role) |
adds a single reference to the element via the depended role element map. | |
void | performBehaviour () |
performs a Behaviour. | |
void | performChildMapping () |
performs a ChildMapping. | |
void | performConfiguration (boolean featuremodelladd) |
performs a performXORHWSubComponent. | |
void | performConnection () |
performs the scope. | |
void | performDataElementLink () |
performs a DataElementLink. | |
void | performDescription () |
performs the description. | |
boolean | performFinish () |
void | performHWConnection () |
performs a HWConnection. | |
void | performMapping (Role source, Role target) |
performs a Mapping. | |
void | performNeededAttributes (Role myRole) |
realize the add of a needed attribute to the element. | |
void | performOptionalAttribute () |
performs the Optional attribute. | |
void | performORAttribute (Role role) |
performs the OR Attribute. | |
void | performRWAccess () |
performs a RWAccess. | |
void | performSubService () |
performs a SubService. | |
void | performTransactionModel () |
performs a TransactionModel. | |
void | performTrigger () |
performs a Trigger. | |
boolean | performXORAttribute (Role role) |
performs the XOR Attribute. | |
void | resetWindowTitle () |
resets the window title | |
void | setMyDialog (EditableViewWizardDialog dialog) |
Private Member Functions | |
IAXLangElement | getTheRightElement () |
looks for the right element for adding the new child or reference. | |
XORComponent | performXORSubComponent () |
performs a XORSubComponent. | |
Private Attributes | |
String | action = null |
the action to perform (for the title) | |
IAXLangElement | actualeditedelement = null |
the element which was chosen inside the TreeEditor | |
LinkedHashMap< String, AtomicBoolean > | attributechoosen = null |
map which saves the actual status of a attribute (chosen or not) and only for this attributes which have a next page! | |
IAXLangElement | element = null |
the element to edit | |
EditableViewMainWizardPage | mainpage = null |
the mainwizard page where the user can enter the identifier of the element | |
EditableViewWizardDialog | myDialog = null |
the wizard dialog | |
Role | myrole = null |
the role of the chosen element | |
LinkedHashMap< Role, ArrayList < String > > | neededattributes = null |
the needed attributes map , e.g. direction for port or datatype for operations... | |
LinkedHashMap< String, EditableViewNextWizardPage > | nextpages = null |
the possible pages which depends on the possible attributes | |
String | oldwindowtitle = null |
ArrayList< String > | pageorder = null |
the corresponding page order | |
LinkedHashMap< String, LinkedHashMap< String, Boolean > > | possibleattributes = null |
the attributes which appears on the mainpage,<identifier,<text,nextpage?> | |
Vector< Role > | possiblereferences = null |
the possible references (for the reference page) | |
boolean | referenceaction = false |
marks that a new reference action is activ | |
LinkedHashMap< Role, ArrayList < Role > > | referenceconstraints = null |
the reference constraints map, e.g. a port must have an interface reference | |
EditableViewReferenceWizardPage | referencepage = null |
the the referencewizard page where all references are handles (via new child or new reference) |
The main wizard class where all pages are added and the finish button is handled.
de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.EditableViewWizard | ( | Role | myrole, | |
String | action, | |||
IAXLangElement | element, | |||
IAXLangElement | actualeditedelement | |||
) |
myrole | ||
action | ||
element | ||
actualeditedelement |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.addPages | ( | ) |
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.canFinish | ( | ) |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.changeWindowTitle | ( | String | title | ) |
changes the actual window title.
title |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.configureMainPage | ( | String | title, | |
String | startstring, | |||
String | description, | |||
Vector< String > | usedIdentifiers | |||
) |
via this method the mainpage can be configured.
title | ||
startstring | ||
description | ||
usedIdentifiers |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.configureNextPage | ( | String | title, | |
String | description, | |||
boolean | done, | |||
String | attribute | |||
) |
via this method all pages to the corresponding attribute can be configured.
title | ||
description | ||
done | ||
attribute |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.configureReferencePage | ( | String | title, | |
Vector< Role > | possiblereferences, | |||
String | description, | |||
boolean | done, | |||
boolean | referenceaction | |||
) |
via this method the reference page can be configured.
title | ||
possiblereferences | ||
description | ||
done |
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getActualeditedelement | ( | ) |
LinkedHashMap<String, AtomicBoolean> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getAttributechoosen | ( | ) |
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getElement | ( | ) |
EditableViewMainWizardPage de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getMainpage | ( | ) |
EditableViewWizardDialog de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getMyDialog | ( | ) |
LinkedHashMap<Role, ArrayList<String> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getNeededattributes | ( | ) |
LinkedHashMap<String, EditableViewNextWizardPage> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getNextpages | ( | ) |
ArrayList<String> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getPageorder | ( | ) |
LinkedHashMap<String, LinkedHashMap<String, Boolean> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getPossibleattributes | ( | ) |
Vector<Role> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getPossiblereferences | ( | ) |
LinkedHashMap<Role, ArrayList<Role> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getReferenceconstraints | ( | ) |
EditableViewReferenceWizardPage de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getReferencepage | ( | ) |
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.getTheRightElement | ( | ) | [private] |
looks for the right element for adding the new child or reference.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.init | ( | IWorkbench | workbench, | |
IStructuredSelection | selection | |||
) |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performActivation | ( | ) |
performs a Activation.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performActivity | ( | ) |
performs a Activity.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performActivityAttribute | ( | ) |
performs the ActivityAttribute.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performAddMultipleReferencesFromTable | ( | IAXLangElement | element, | |
Role | role, | |||
IAXLangElement | referencedelement | |||
) |
adds multiple references to the element from a table.
element | ||
role | ||
referencedelement |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performAddSingleReference | ( | IAXLangElement | element, | |
Role | role | |||
) |
adds a single reference to the element.
element | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performAddSingleReferenceFromComboViaDependedRole | ( | IAXLangElement | element, | |
Role | parentrole, | |||
Role | role | |||
) |
adds a single reference to the element via the depended role element map.
element | ||
parentrole | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performBehaviour | ( | ) |
performs a Behaviour.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performChildMapping | ( | ) |
performs a ChildMapping.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performConfiguration | ( | boolean | featuremodelladd | ) |
performs a performXORHWSubComponent.
performs a Configuration.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performConnection | ( | ) |
performs the scope.
performs the data element. performs a Connection.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performDataElementLink | ( | ) |
performs a DataElementLink.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performDescription | ( | ) |
performs the description.
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performFinish | ( | ) |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performHWConnection | ( | ) |
performs a HWConnection.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performMapping | ( | Role | source, | |
Role | target | |||
) |
performs a Mapping.
source | ||
target |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performNeededAttributes | ( | Role | myRole | ) |
realize the add of a needed attribute to the element.
myRole |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performOptionalAttribute | ( | ) |
performs the Optional attribute.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performORAttribute | ( | Role | role | ) |
performs the OR Attribute.
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performRWAccess | ( | ) |
performs a RWAccess.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performSubService | ( | ) |
performs a SubService.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performTransactionModel | ( | ) |
performs a TransactionModel.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performTrigger | ( | ) |
performs a Trigger.
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performXORAttribute | ( | Role | role | ) |
performs the XOR Attribute.
role |
XORComponent de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.performXORSubComponent | ( | ) | [private] |
performs a XORSubComponent.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.resetWindowTitle | ( | ) |
resets the window title
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.setMyDialog | ( | EditableViewWizardDialog | dialog | ) |
String de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.action = null [private] |
the action to perform (for the title)
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.actualeditedelement = null [private] |
the element which was chosen inside the TreeEditor
LinkedHashMap<String, AtomicBoolean> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.attributechoosen = null [private] |
map which saves the actual status of a attribute (chosen or not) and only for this attributes which have a next page!
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.element = null [private] |
the element to edit
EditableViewMainWizardPage de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.mainpage = null [private] |
the mainwizard page where the user can enter the identifier of the element
EditableViewWizardDialog de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.myDialog = null [private] |
the wizard dialog
Role de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.myrole = null [private] |
the role of the chosen element
LinkedHashMap<Role, ArrayList<String> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.neededattributes = null [private] |
the needed attributes map , e.g. direction for port or datatype for operations...
LinkedHashMap<String, EditableViewNextWizardPage> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.nextpages = null [private] |
the possible pages which depends on the possible attributes
String de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.oldwindowtitle = null [private] |
ArrayList<String> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.pageorder = null [private] |
the corresponding page order
LinkedHashMap<String, LinkedHashMap<String, Boolean> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.possibleattributes = null [private] |
the attributes which appears on the mainpage,<identifier,<text,nextpage?>
Vector<Role> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.possiblereferences = null [private] |
the possible references (for the reference page)
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.referenceaction = false [private] |
marks that a new reference action is activ
LinkedHashMap<Role, ArrayList<Role> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.referenceconstraints = null [private] |
the reference constraints map, e.g. a port must have an interface reference
EditableViewReferenceWizardPage de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.EditableViewWizard.referencepage = null [private] |
the the referencewizard page where all references are handles (via new child or new reference)