this class realize the reference page. It is used for the new child action AND for the new reference action. shorten the class. More...
Classes | |
class | ReferenceSelectionListener |
the selection listener for the references. More... | |
Public Member Functions | |
boolean | canFlipToNextPage () |
void | createControl (Composite parent) |
EditableViewReferenceWizardPage (String pageName, Role myRole, String title, EditableViewWizard wizard, String description, boolean done, boolean referenceaction) | |
Role | getActiverole () |
IAXLangElement | getApplicationmodelbuffer () |
IAXLangElement | getCurrentchosenelement () |
LinkedHashMap< IAXLangElement, LinkedHashMap< Role, ArrayList < IAXLangElement > > > | getDependedroleselementmap () |
LinkedHashMap< IAXLangElement, LinkedHashMap< Role, ArrayList < IAXLangElement > > > | getDynamicdependedroleselementmap () |
LinkedHashMap< IAXLangElement, ArrayList< IAXLangElement > > | getElementreferencemap () |
fills the interface table. | |
LinkedHashMap< Role, Combo > | getReferencegroupcombos () |
IAXLangElement | getResourcemodelbuffer () |
LinkedHashMap< Role, ArrayList < IAXLangElement > > | getRoleelementreferences () |
this map contains all chosen elements independent from the e.g. chosen featuremodel. | |
void | handleVisibility (boolean what, String titleadd) |
this method can be used to disable or enable the site. e.g. subcomponents and the referencepage. | |
boolean | isChildmapping () |
boolean | isMapping () |
boolean | isSomethinghaschanged () |
void | performFinish () |
performs the finish if it was a NEW REFERENCE ACTION! | |
void | refreshConnectionSelection (Role[] roles) |
refreshes the connection selection. | |
void | setActualeditedelementbuffer (IAXLangElement actualeditedelementbuffer) |
void | setApplicationmodelbuffer (IAXLangElement applicationmodelbuffer) |
void | setResourcemodelbuffer (IAXLangElement resourcemodelbuffer) |
Protected Member Functions | |
void | addNewTableItems (Role role, IAXLangElement element, IAXLangElement parent) |
adds a new table item to the dynamic depended roles elemement map. | |
void | fillTheDataElementsTable (IAXLangElement[] elements, Table table) |
fills up the data elements table. | |
void | fillTheSelectedDeselectedFeaturesTables (IAXLangElement[] elements, Table table) |
fills the selected or deselected feature table. | |
String[] | fillUpComboItemsForTable (Role role) |
fills up the combo boxes with the corresponding items, which appears if the user press the add button. | |
void | fillUpTableItems (Role role) |
fills up the table items. | |
void | handleActivityOrActivationSelection (Role role) |
handles the activity or activation selection. | |
void | handleComboItemsForSimpleCombo (Combo combo, Role what) |
handles the items for the a simple combo box. e.g. data element link. | |
void | handleConnectionOrHWConSubComponentSelection (Role myRole, Role sourcesubcomponent, Role targetsubcomponent, Role targetport, Role sourceport, Role type) |
handles the connection sub component AND hwconnection hw sub component selection. | |
void | handleDependedComboItems (Role dependscomborole, Role comborole) |
builds up the items for the depended combo box. | |
void | handleHWBusSelection (boolean target) |
handles the hwbus selection. | |
void | handleRWAccess () |
enables or disables the references for the rwacces role. | |
void | removeTableItem (Role role) |
removes a table item. | |
void | toggleDetailsArea (Role role) |
toggles the details area. | |
void | validateDataElementLinkSelection () |
validates the selection for the data element link (new child). needed exclusive because the data element link child is a very special one. | |
Protected Attributes | |
boolean | busfinishpossible = false |
to mark that a finish via a selected bus is possible | |
boolean | busselection = false |
to mark that a bus is selected | |
boolean | buttonsisactive = false |
to know if the add or remove button is active... | |
boolean | childmapping = false |
indicates that a child mapping is activ (e.g. p2p) | |
IAXLangElement | currentchosenelement = null |
the current chosen element e.g. the actual featuremodel for the configuration (only the elements which creates a dependency to other elements!) | |
LinkedHashMap< IAXLangElement, LinkedHashMap< Role, ArrayList < IAXLangElement > > > | dependedroleselementmap = null |
links the combo box entries to the depended element with the specified role ,it doesn't change | |
LinkedHashMap< Role, ArrayList < Role > > | dependedrolesmap = null |
saves the dependencies between roles (e.g. for combo boxes-Role.INTERFACE-->Role.SCOPE,[Role.INTERFACE,Role.DATAELEMENT]) | |
LinkedHashMap< Role, Control > | detailsArea = null |
LinkedHashMap< IAXLangElement, ArrayList< IAXLangElement > > | elementreferencemap = null |
e.g. to load all possible features to the featuremodel once at dialog time(currently used for the configuration) | |
LinkedHashMap< Integer, Integer > | indexcorrection = null |
buffer to save the correct index (in a combo box an element isn't at the same index like in the corresponding table) | |
boolean | mapping = false |
indicates that a mapping is activ (e.g. f2r) | |
boolean | nothingtoadd = false |
needed to know if something was added inside the table | |
LinkedHashMap< Role, Combo > | referencegroupcombos = null |
the role combo map | |
LinkedHashMap< Role, Table > | referencegrouptables = null |
the role table map | |
LinkedHashMap< Role, ArrayList < IAXLangElement > > | roleelementreferences = null |
to save all selected references to the role | |
boolean | somethinghaschanged = false |
only needed for the new reference action (false - new reference action has no effect, so no operations have to be performed) | |
boolean | sourceenabled = true |
if its true a source was chosen (needed to enable/disable the finish button) | |
boolean | targetenabled = true |
if its true a target was chosen (needed to enable/disable the finish button) | |
Package Attributes | |
final int | MAXCOMBOLENGTH = 150 |
the max value for the combo length (needed therewith the wizard is not so wide) | |
Private Member Functions | |
void | addItemsForConnection (Role role, IAXLangElement parentelement, Role type) |
adds the collected data to the combo boxes. | |
void | buildUpDatas (Role[] childroletosearch, IAXLangElement parentelement) |
builds up the main reference combo (more than one role to search). e.g. the extendedinterface and dataelement roles for the interfacerole. not generic!!old one. | |
void | buildUpDatasForSimpleComboBox (Role role) |
builds up the data for a simple combo box. e.g. trigger or data element link | |
void | buildUpDataTheConnections (Role role, Role childroletosearch, Role roles[], Role referencerole) |
specifies a connection/delegation for a component or hwcomponent. | |
void | buildUpDependedRolesElementMap (IAXLangElement parent, IAXLangElement axlelement, Role role) |
builds up or adds new elements to the depended roles element map. this map is needed for dependencies relations like inside a configuration (featuremodel) or interface (dataelements) | |
void | buildUpDependedSelections (Role depends, Role role) |
builds up selections for a combo box which depends from another (the role is the marker). | |
void | buildUpElementReferenceMap (IAXLangElement parent, IAXLangElement toadd) |
this map builds up or adds new element to the element reference map. this map is needed to have a fast access to the possible elements which are in relation to the role of the main element. | |
void | buildUpMainReferenceSingle (Group group, Role role, Role childroletosearch, boolean direct) |
builds up the main reference combo (only one role to search). e.g. the featuremodel reference for a configuration. | |
void | buildUpMultipleTableSelections (Group group, Role role, String[] titles) |
builds up the multiple selection . e.g. to have the possibility to choose more than one feature as a selected or deselected feature for the configuration. e.g. to have the possibility to choose more than one data element for the port. | |
void | buildUpRoleElementReferences (Role role, IAXLangElement axlelement) |
this map builds up or adds new element to the role element references map. this map is needed to figure out all elements with the specified role. | |
IAXLangElement | checkActualPort (boolean delegation, Role rolesourcesubcomponent, Role rolesourceport, Role type, Role port) |
checks the actual port for the connection. check if the sourceport!=targetport | |
boolean | checkIfTheElementWasAlreadyAdded (Role role, IAXLangElement elementtoadd, IAXLangElement parent) |
checks if the element already was added to another or the current table. | |
boolean | checkTableConstraint (Role role, IAXLangElement element) |
checks the table constraint. Perhaps some tables have special constraint for the element which are allowed to add. | |
void | correctComboSelection (Combo combo, Role roletocorrect, IAXLangElement selectedElement) |
this method corrects the selection inside a combo box (only if new reference was chosen). | |
void | correctSimpleComboSelection (Combo combo, Role what) |
corrects the simple combo selection. | |
Control | createDetailsArea (Composite parent, Role role) |
creates the deatils area. | |
void | enableDisableAllElements (boolean what) |
handles the visibility. | |
void | evaluateConfiguration (IAXLangElement[] features, Role role) |
checks if there are features which have to remove from the configuration. | |
ArrayList< String > | fillUpItemsForCombo (ArrayList< IAXLangElement > elements, Role role, IAXLangElement child) |
this method fills up the strings for the combo box. | |
ArrayList< String > | fillUpItemsForTable (ArrayList< IAXLangElement > elements, Role role, IAXLangElement child, int startcount) |
this method fills up the strings for the table combo box. the user can choose from the combo box and this elements will be put into the table. So the item count of the combo box isn't the same all the time, that's why the fillUpItemsForCombo can't be used. More Over there can be possible constraints like data element-->signal or operation | |
IAXLangElement | findTheRightStartPoint () |
search for the right start point element for the component type search. | |
void | handelEnableDisableButtons (boolean what, Role role) |
handles the buttons. | |
ArrayList< String > | handleAdditionalDataAdd (ArrayList< String > items, IAXLangElement selectedElement, Role role, boolean table, int startcount) |
this method adds additionalDatas to the given element. additional e.g. if its a local component the global signals and interfaces have to be considered | |
void | handleChildMappingDataBuild (Role role, IAXLangElement parent) |
look for all elements which full fill the role. Only the instantiated components are relevant. | |
void | handleFirstSpecialTableAdd (Role role, boolean builduptable) |
handles the special table add, because the old references must be visible inside the table at the first time. | |
void | handleInstancePathBuild (Role role, IAXLangElement parent) |
handles the instance path build via the AXLInstanceBuilder class. | |
boolean | isNextAttributePageChoosen () |
checks if there is a attribute chosen to display the corresponding page. | |
String | lookForPortSelection (Role myRole, Role type, String combotextadd) |
analyze the port selection inside the source. | |
void | removeMultipleReference (IAXLangElement element, Role role) |
removes a multiple reference. | |
void | removeSingleReference (IAXLangElement element, Role role) |
removes a path. | |
void | specifyActivityAttribute () |
specifies an activity attribute. | |
void | specifyActivityOrActivation (Role role) |
specifies an activity or an activiation. | |
void | specifyConfigurationReferenceGroups () |
builds up the configuration reference groups. | |
void | specifyConnectionGroups () |
specifies the scope groups and there items (no dependency between boxes). | |
void | specifyDifferentReferenceGroups () |
builds up the reference groups. The panels inside the page. | |
void | specifyMappings () |
specifies the mapping references. f2r,a2r,f2a | |
void | specifySingleReferenceGroup (Role parentrole, Role[] elementreferencemaprole) |
builds up a single reference group, which contains a combo box. notice: if it doesn't work ,look if the currentchosenelement is correct! | |
void | validateCurrentMapping () |
builds up the infos for a child or normal mapping. | |
Private Attributes | |
Role | activerole = null |
needed to know which role is active if there is a depended combo box (e.g. activation-->trigger depends from hwbuspath or...) | |
IAXLangElement | actualeditedelementbuffer = null |
needed if a dialog is restarted and there is a subcomponent to add (child deep is 1 max.!) | |
IAXLangElement | applicationmodelbuffer = null |
needed if a dialog is restarted and there is no possibility to get the applicationmodel | |
LinkedHashMap< Role, Point > | cachedWindowSize = null |
the window size to cache | |
LinkedHashMap< IAXLangElement, LinkedHashMap< Role, ArrayList < IAXLangElement > > > | dynamicdependedroleselementmap = null |
links the combo box entries to the depended element with the specified role ,it does change (e.g. remove button) | |
boolean | firstbuild = true |
for the connection to mark the old port references | |
boolean | globaldisable = false |
to disable the finish button and the whole site | |
IAXLangElement | mappingsourceelement = null |
the source element for the mapping | |
Role | mappingsourcerole = null |
the source role for the mapping | |
IAXLangElement | mappingtargetelement = null |
the target element for the mapping | |
Role | mappingtargetrole = null |
the target role for the mapping | |
IAXLangElement | oldreference = null |
the old referenced axl element | |
boolean | possibleitem = false |
to know if there was a possibleitem or not-->for the user message | |
boolean | referenceaction = false |
new child or new reference | |
LinkedHashMap< String, Button > | referencegroupbuttons = null |
the role button map (as string to differ each button from another inside a role) | |
LinkedHashMap< Role, Group > | referencegroups = null |
to save all groups (one group for every possible reference of the parentrole) | |
IAXLangElement | resourcemodelbuffer = null |
needed if a dialog is restarted and there is no possibility to get the resourcemodel | |
String | title = null |
the title of the page | |
String | tooltiptext = null |
the tooltiptext to show, if the maxcombolength is exceeded |
this class realize the reference page. It is used for the new child action AND for the new reference action. shorten the class.
de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.EditableViewReferenceWizardPage | ( | String | pageName, | |
Role | myRole, | |||
String | title, | |||
EditableViewWizard | wizard, | |||
String | description, | |||
boolean | done, | |||
boolean | referenceaction | |||
) |
pageName | ||
myRole | ||
title | ||
wizard | ||
description | ||
done | ||
referenceaction |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.addItemsForConnection | ( | Role | role, | |
IAXLangElement | parentelement, | |||
Role | type | |||
) | [private] |
adds the collected data to the combo boxes.
role | ||
parentelement |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.addNewTableItems | ( | Role | role, | |
IAXLangElement | element, | |||
IAXLangElement | parent | |||
) | [protected] |
adds a new table item to the dynamic depended roles elemement map.
role | ||
element |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpDatas | ( | Role[] | childroletosearch, | |
IAXLangElement | parentelement | |||
) | [private] |
builds up the main reference combo (more than one role to search). e.g. the extendedinterface and dataelement roles for the interfacerole. not generic!!old one.
group | ||
role | builds up the data maps for the most used roles. | |
childroletosearch | ||
parentelement |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpDatasForSimpleComboBox | ( | Role | role | ) | [private] |
builds up the data for a simple combo box. e.g. trigger or data element link
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpDataTheConnections | ( | Role | role, | |
Role | childroletosearch, | |||
Role | roles[], | |||
Role | referencerole | |||
) | [private] |
specifies a connection/delegation for a component or hwcomponent.
currently used for the connections, because no other method have the same requirement like the connections. 1.search for all subcomponents 2.check if its an xorcomponent or a normal one a collect them 2.1. if its a xorsubcomponent the xorcomponent is the point of interest 2.2. if its a normal one, lock for the component type 3. search for all possible ports of the found components and collect the string of the subcomponents.
group | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpDependedRolesElementMap | ( | IAXLangElement | parent, | |
IAXLangElement | axlelement, | |||
Role | role | |||
) | [private] |
builds up or adds new elements to the depended roles element map. this map is needed for dependencies relations like inside a configuration (featuremodel) or interface (dataelements)
parent | ||
axlelement | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpDependedSelections | ( | Role | depends, | |
Role | role | |||
) | [private] |
builds up selections for a combo box which depends from another (the role is the marker).
group | ||
depends | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpElementReferenceMap | ( | IAXLangElement | parent, | |
IAXLangElement | toadd | |||
) | [private] |
this map builds up or adds new element to the element reference map. this map is needed to have a fast access to the possible elements which are in relation to the role of the main element.
parent | ||
toadd |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpMainReferenceSingle | ( | Group | group, | |
Role | role, | |||
Role | childroletosearch, | |||
boolean | direct | |||
) | [private] |
builds up the main reference combo (only one role to search). e.g. the featuremodel reference for a configuration.
group | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpMultipleTableSelections | ( | Group | group, | |
Role | role, | |||
String[] | titles | |||
) | [private] |
builds up the multiple selection . e.g. to have the possibility to choose more than one feature as a selected or deselected feature for the configuration. e.g. to have the possibility to choose more than one data element for the port.
group | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buildUpRoleElementReferences | ( | Role | role, | |
IAXLangElement | axlelement | |||
) | [private] |
this map builds up or adds new element to the role element references map. this map is needed to figure out all elements with the specified role.
role | ||
axlelement |
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.canFlipToNextPage | ( | ) |
The WizardPage
implementation of this IWizardPage
method returns true
if this page is complete (isPageComplete
) and there is a next page to flip to. Subclasses may override (extend or reimplement).
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.checkActualPort | ( | boolean | delegation, | |
Role | rolesourcesubcomponent, | |||
Role | rolesourceport, | |||
Role | type, | |||
Role | port | |||
) | [private] |
checks the actual port for the connection. check if the sourceport!=targetport
delegation | ||
rolesourcesubcomponent | ||
rolesourceport | ||
type | ||
port |
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.checkIfTheElementWasAlreadyAdded | ( | Role | role, | |
IAXLangElement | elementtoadd, | |||
IAXLangElement | parent | |||
) | [private] |
checks if the element already was added to another or the current table.
role |
true | - the element was already added to a table | |
false | - the element wasn't already added to a table |
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.checkTableConstraint | ( | Role | role, | |
IAXLangElement | element | |||
) | [private] |
checks the table constraint. Perhaps some tables have special constraint for the element which are allowed to add.
role | ||
element |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.correctComboSelection | ( | Combo | combo, | |
Role | roletocorrect, | |||
IAXLangElement | selectedElement | |||
) | [private] |
this method corrects the selection inside a combo box (only if new reference was chosen).
combo | ||
oldreference | ||
roletocorrect |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.correctSimpleComboSelection | ( | Combo | combo, | |
Role | what | |||
) | [private] |
corrects the simple combo selection.
combo | ||
what |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.createControl | ( | Composite | parent | ) |
Control de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.createDetailsArea | ( | Composite | parent, | |
Role | role | |||
) | [private] |
creates the deatils area.
parent | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.enableDisableAllElements | ( | boolean | what | ) | [private] |
handles the visibility.
what | true || false |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.evaluateConfiguration | ( | IAXLangElement[] | features, | |
Role | role | |||
) | [private] |
checks if there are features which have to remove from the configuration.
features | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.fillTheDataElementsTable | ( | IAXLangElement[] | elements, | |
Table | table | |||
) | [protected] |
fills up the data elements table.
elements | ||
table |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.fillTheSelectedDeselectedFeaturesTables | ( | IAXLangElement[] | elements, | |
Table | table | |||
) | [protected] |
fills the selected or deselected feature table.
elements | ||
table |
String [] de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.fillUpComboItemsForTable | ( | Role | role | ) | [protected] |
fills up the combo boxes with the corresponding items, which appears if the user press the add button.
role |
ArrayList<String> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.fillUpItemsForCombo | ( | ArrayList< IAXLangElement > | elements, | |
Role | role, | |||
IAXLangElement | child | |||
) | [private] |
this method fills up the strings for the combo box.
elements | - the elements from the element reference map | |
role | - the role to play |
ArrayList<String> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.fillUpItemsForTable | ( | ArrayList< IAXLangElement > | elements, | |
Role | role, | |||
IAXLangElement | child, | |||
int | startcount | |||
) | [private] |
this method fills up the strings for the table combo box. the user can choose from the combo box and this elements will be put into the table. So the item count of the combo box isn't the same all the time, that's why the fillUpItemsForCombo can't be used. More Over there can be possible constraints like data element-->signal or operation
elements | ||
role | ||
child | ||
startcount | - has to be know , because of the additional data (applicationmodel - dataelement) |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.fillUpTableItems | ( | Role | role | ) | [protected] |
fills up the table items.
role |
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.findTheRightStartPoint | ( | ) | [private] |
search for the right start point element for the component type search.
Role de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getActiverole | ( | ) |
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getApplicationmodelbuffer | ( | ) |
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getCurrentchosenelement | ( | ) |
LinkedHashMap<IAXLangElement, LinkedHashMap<Role, ArrayList<IAXLangElement> > > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getDependedroleselementmap | ( | ) |
LinkedHashMap<IAXLangElement, LinkedHashMap<Role, ArrayList<IAXLangElement> > > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getDynamicdependedroleselementmap | ( | ) |
LinkedHashMap<IAXLangElement, ArrayList<IAXLangElement> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getElementreferencemap | ( | ) |
fills the interface table.
elements | ||
table |
LinkedHashMap<Role, Combo> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getReferencegroupcombos | ( | ) |
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getResourcemodelbuffer | ( | ) |
LinkedHashMap<Role, ArrayList<IAXLangElement> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.getRoleelementreferences | ( | ) |
this map contains all chosen elements independent from the e.g. chosen featuremodel.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handelEnableDisableButtons | ( | boolean | what, | |
Role | role | |||
) | [private] |
handles the buttons.
what |
enable | (true) or disable (false). |
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleActivityOrActivationSelection | ( | Role | role | ) | [protected] |
handles the activity or activation selection.
role |
ArrayList<String> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleAdditionalDataAdd | ( | ArrayList< String > | items, | |
IAXLangElement | selectedElement, | |||
Role | role, | |||
boolean | table, | |||
int | startcount | |||
) | [private] |
this method adds additionalDatas to the given element. additional e.g. if its a local component the global signals and interfaces have to be considered
items | ||
selectedElement | ||
role | ||
table | ||
startcount |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleChildMappingDataBuild | ( | Role | role, | |
IAXLangElement | parent | |||
) | [private] |
look for all elements which full fill the role. Only the instantiated components are relevant.
role | ||
parent |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleComboItemsForSimpleCombo | ( | Combo | combo, | |
Role | what | |||
) | [protected] |
handles the items for the a simple combo box. e.g. data element link.
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleConnectionOrHWConSubComponentSelection | ( | Role | myRole, | |
Role | sourcesubcomponent, | |||
Role | targetsubcomponent, | |||
Role | targetport, | |||
Role | sourceport, | |||
Role | type | |||
) | [protected] |
handles the connection sub component AND hwconnection hw sub component selection.
myRole | ||
sourcesubcomponent | ||
targetsubcomponent | ||
targetport | ||
sourceport | ||
type |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleDependedComboItems | ( | Role | dependscomborole, | |
Role | comborole | |||
) | [protected] |
builds up the items for the depended combo box.
dependscomborole | ||
comborole |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleFirstSpecialTableAdd | ( | Role | role, | |
boolean | builduptable | |||
) | [private] |
handles the special table add, because the old references must be visible inside the table at the first time.
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleHWBusSelection | ( | boolean | target | ) | [protected] |
handles the hwbus selection.
target |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleInstancePathBuild | ( | Role | role, | |
IAXLangElement | parent | |||
) | [private] |
handles the instance path build via the AXLInstanceBuilder class.
role | ||
parent |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleRWAccess | ( | ) | [protected] |
enables or disables the references for the rwacces role.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.handleVisibility | ( | boolean | what, | |
String | titleadd | |||
) |
this method can be used to disable or enable the site. e.g. subcomponents and the referencepage.
what | ||
title |
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.isChildmapping | ( | ) |
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.isMapping | ( | ) |
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.isNextAttributePageChoosen | ( | ) | [private] |
checks if there is a attribute chosen to display the corresponding page.
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.isSomethinghaschanged | ( | ) |
String de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.lookForPortSelection | ( | Role | myRole, | |
Role | type, | |||
String | combotextadd | |||
) | [private] |
analyze the port selection inside the source.
myRole | ||
type | ||
combotextadd |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.performFinish | ( | ) |
performs the finish if it was a NEW REFERENCE ACTION!
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.refreshConnectionSelection | ( | Role[] | roles | ) |
refreshes the connection selection.
roles |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.removeMultipleReference | ( | IAXLangElement | element, | |
Role | role | |||
) | [private] |
removes a multiple reference.
element | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.removeSingleReference | ( | IAXLangElement | element, | |
Role | role | |||
) | [private] |
removes a path.
element | ||
path | removes a single reference, | |
element | ||
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.removeTableItem | ( | Role | role | ) | [protected] |
removes a table item.
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.setActualeditedelementbuffer | ( | IAXLangElement | actualeditedelementbuffer | ) |
actualeditedelementbuffer | the actualeditedelementbuffer to set |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.setApplicationmodelbuffer | ( | IAXLangElement | applicationmodelbuffer | ) |
applicationmodelbuffer | the applicationmodelbuffer to set |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.setResourcemodelbuffer | ( | IAXLangElement | resourcemodelbuffer | ) |
resourcemodelbuffer | the resourcemodelbuffer to set |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.specifyActivityAttribute | ( | ) | [private] |
specifies an activity attribute.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.specifyActivityOrActivation | ( | Role | role | ) | [private] |
specifies an activity or an activiation.
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.specifyConfigurationReferenceGroups | ( | ) | [private] |
builds up the configuration reference groups.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.specifyConnectionGroups | ( | ) | [private] |
specifies the scope groups and there items (no dependency between boxes).
specifies the groups for the axlang element Interface. specifies a connection/delegation for a component or hwcomponent.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.specifyDifferentReferenceGroups | ( | ) | [private] |
builds up the reference groups. The panels inside the page.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.specifyMappings | ( | ) | [private] |
specifies the mapping references. f2r,a2r,f2a
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.specifySingleReferenceGroup | ( | Role | parentrole, | |
Role[] | elementreferencemaprole | |||
) | [private] |
builds up a single reference group, which contains a combo box. notice: if it doesn't work ,look if the currentchosenelement is correct!
parentrole | ||
elementreferencemaprole |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.toggleDetailsArea | ( | Role | role | ) | [protected] |
toggles the details area.
role |
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.validateCurrentMapping | ( | ) | [private] |
builds up the infos for a child or normal mapping.
void de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.validateDataElementLinkSelection | ( | ) | [protected] |
validates the selection for the data element link (new child). needed exclusive because the data element link child is a very special one.
Role de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.activerole = null [private] |
needed to know which role is active if there is a depended combo box (e.g. activation-->trigger depends from hwbuspath or...)
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.actualeditedelementbuffer = null [private] |
needed if a dialog is restarted and there is a subcomponent to add (child deep is 1 max.!)
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.applicationmodelbuffer = null [private] |
needed if a dialog is restarted and there is no possibility to get the applicationmodel
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.busfinishpossible = false [protected] |
to mark that a finish via a selected bus is possible
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.busselection = false [protected] |
to mark that a bus is selected
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.buttonsisactive = false [protected] |
to know if the add or remove button is active...
LinkedHashMap<Role, Point> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.cachedWindowSize = null [private] |
the window size to cache
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.childmapping = false [protected] |
indicates that a child mapping is activ (e.g. p2p)
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.currentchosenelement = null [protected] |
the current chosen element e.g. the actual featuremodel for the configuration (only the elements which creates a dependency to other elements!)
LinkedHashMap<IAXLangElement, LinkedHashMap<Role, ArrayList<IAXLangElement> > > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.dependedroleselementmap = null [protected] |
links the combo box entries to the depended element with the specified role ,it doesn't change
LinkedHashMap<Role, ArrayList<Role> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.dependedrolesmap = null [protected] |
saves the dependencies between roles (e.g. for combo boxes-Role.INTERFACE-->Role.SCOPE,[Role.INTERFACE,Role.DATAELEMENT])
LinkedHashMap<Role, Control> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.detailsArea = null [protected] |
LinkedHashMap<IAXLangElement, LinkedHashMap<Role, ArrayList<IAXLangElement> > > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.dynamicdependedroleselementmap = null [private] |
links the combo box entries to the depended element with the specified role ,it does change (e.g. remove button)
LinkedHashMap<IAXLangElement, ArrayList<IAXLangElement> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.elementreferencemap = null [protected] |
e.g. to load all possible features to the featuremodel once at dialog time(currently used for the configuration)
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.firstbuild = true [private] |
for the connection to mark the old port references
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.globaldisable = false [private] |
to disable the finish button and the whole site
LinkedHashMap<Integer, Integer> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.indexcorrection = null [protected] |
buffer to save the correct index (in a combo box an element isn't at the same index like in the corresponding table)
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.mapping = false [protected] |
indicates that a mapping is activ (e.g. f2r)
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.mappingsourceelement = null [private] |
the source element for the mapping
Role de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.mappingsourcerole = null [private] |
the source role for the mapping
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.mappingtargetelement = null [private] |
the target element for the mapping
Role de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.mappingtargetrole = null [private] |
the target role for the mapping
final int de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.MAXCOMBOLENGTH = 150 [package] |
the max value for the combo length (needed therewith the wizard is not so wide)
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.nothingtoadd = false [protected] |
needed to know if something was added inside the table
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.oldreference = null [private] |
the old referenced axl element
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.possibleitem = false [private] |
to know if there was a possibleitem or not-->for the user message
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.referenceaction = false [private] |
new child or new reference
LinkedHashMap<String, Button> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.referencegroupbuttons = null [private] |
the role button map (as string to differ each button from another inside a role)
LinkedHashMap<Role, Combo> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.referencegroupcombos = null [protected] |
the role combo map
LinkedHashMap<Role, Group> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.referencegroups = null [private] |
to save all groups (one group for every possible reference of the parentrole)
LinkedHashMap<Role, Table> de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.referencegrouptables = null [protected] |
the role table map
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.resourcemodelbuffer = null [private] |
needed if a dialog is restarted and there is no possibility to get the resourcemodel
LinkedHashMap<Role, ArrayList<IAXLangElement> > de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.roleelementreferences = null [protected] |
to save all selected references to the role
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.somethinghaschanged = false [protected] |
only needed for the new reference action (false - new reference action has no effect, so no operations have to be performed)
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.sourceenabled = true [protected] |
if its true a source was chosen (needed to enable/disable the finish button)
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.targetenabled = true [protected] |
if its true a target was chosen (needed to enable/disable the finish button)
String de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.title = null [private] |
the title of the page
String de.fraunhofer.isst.axbench.editors.axlmultipage.treeeditor.wizards.pages.EditableViewReferenceWizardPage.tooltiptext = null [private] |
the tooltiptext to show, if the maxcombolength is exceeded