Manages data of the working session. More...
Static Public Member Functions | |
static void | addFilteredSimulationResult (Model model, ISimulationEventStructure newFilteredSimulationResult) |
adds a filtered simulation result | |
static void | addSessionListener (ISessionListener newListener) |
Adds a session listener. | |
static void | addSimulationResult (Model model, ISimulationEventStructure newSimulationResult) |
adds a simulation result | |
static void | addSynchronizeListener (String identifier, IFileSynchronizeListener newListener) |
Adds a synchronize listener. | |
static void | fireElementChanged (Object objCaller) |
Broadcasts the change of the session element. | |
static void | fireHandleCall (Object objCaller, String content) |
Broadcasts the change of the session element. | |
static void | fireRefreshForbiddenIdentifierList (Object objCaller, IAXLangElement axbenchelement) |
Broadcasts the change of the synchronization point. | |
static void | fireSyncPointFileChanged (Object objCaller, IFile axbenchfile, boolean startup) |
Broadcasts the change of the synchronization point. | |
static void | fireSyncPointRemoved (Object objCaller, IFile axbenchfile, IProject project, IFile file) |
Broadcasts the change of the synchronization point. perhaps its not necessary to broadcast it. | |
static LinkedHashMap< IFile, LinkedHashMap< IProject, ArrayList< IFile > > > | getArSynchronizationPoints () |
static Object | getAxlMetricsResultData (String viewId, IFile axlFile) |
Get the metrics data for the view with viewId. | |
static HashMap< IFile, Object > | getAxlMetricsResultData (String viewId) |
static IAXLangElement | getCurrentElement () |
Return the current aXLang element. | |
static MultiPageEditorPart | getCurrentmultipage () |
static ITextEditor | getCurrenttexteditor () |
static LinkedHashMap < MultiPageEditorPart, String > | getFilelocrelative () |
static ISimulationEventStructure | getFilteredSimulationResult (Model model) |
getter method for the last generated filtered simulation result | |
static ArrayList< String > | getForbiddenIdentifiers () |
the list of the forbidden identifiers which is refresh from the e.g. PVSynchronizationModul . | |
static LinkedHashMap< String, Position > | getIDPositionList () |
static IFile | getMainAXBenchModelFile () |
static ArrayList< File > | getOpenfiles () |
static String | getProjectname () |
static Collection< AXLConstraint > | getPVFeatureModelConstraints (IAXLangElement fmodel) |
searches for all constraints inside the FeatureModel. | |
static LinkedHashMap< IFile, LinkedHashMap< IProject, ArrayList< IFile > > > | getPvSynchronizationPoints () |
static ISimulationEventStructure | getSimulationResult (Model model) |
getter method for the last generated simulation result | |
static int | getTabwidth () |
static boolean | isAxlcurrentinputsaved () |
static boolean | isAxlproject () |
static boolean | isDisableAUTOSARPlugin () |
static boolean | isDisablePVPlugin () |
static boolean | isIncluded () |
static void | openView (String id) |
opens a view | |
static void | removeAXLangListener (ISessionListener oldListener) |
Removes a session listener. | |
static void | removeSynchronizeListener (IFileSynchronizeListener oldListener) |
Removes a synchronize listener. | |
static void | resetCurrentElement () |
not used yet | |
static void | setAxlMetricsResultData (String viewId, IFile axlFile, Object data) |
Store the metrics data for the view with viewId The metrics data is of type "AxlMetricsResultsMap". | |
static void | setAxlproject (boolean axlproject) |
static void | setCurrentElement (IAXLangElement newElement, Object objCaller) |
Sets a new aXLang element. | |
static void | setCurrentElementAfterSave (IAXLangElement newElement, Object objCaller) |
Sets a new aXLang element after the editor was saved. | |
static void | setCurrentmultipage (MultiPageEditorPart currentmultipage) |
static void | setCurrenttexteditor (ITextEditor currenttexteditor) |
static void | setDisableAUTOSARPlugin (boolean disableAUTOSARPlugin) |
static void | setDisablePVPlugin (boolean disablePVPlugin) |
static void | setIncluded (boolean included) |
static void | setMainAXBenchModelFile (IFile mainAXBenchModelFile) |
static void | setProjectname (String projectname) |
static void | setTabwidth (int set) |
Static Public Attributes | |
static LinkedHashMap< String, Position > | idpositionlist = null |
Static Private Member Functions | |
static synchronized Map < String, HashMap< IFile, Object > > | getAxlMetricsResultData () |
static synchronized Map< Model, ISimulationEventStructure > | getFilteredSimulationResult () |
static synchronized Set < ISessionListener > | getSessionListeners () |
Returns the session listeners, create empty list if there are none. | |
static synchronized Map< Model, ISimulationEventStructure > | getSimulationResult () |
static HashMap< String, IFileSynchronizeListener > | getSynchronizeListeners () |
Returns the synchronize listeners, create empty list if there are none. | |
Static Private Attributes | |
static LinkedHashMap< IFile, LinkedHashMap< IProject, ArrayList< IFile > > > | arSynchronizationPoints = new LinkedHashMap<IFile, LinkedHashMap<IProject,ArrayList<IFile>>>() |
the AXBench file,<the synchronized project,the synchronized autosar files>> | |
static IAXLangElement | axlCurrentElement = null |
current aXLang element | |
static boolean | axlcurrentinputsaved = false |
to mark a save action | |
static Map< String, HashMap < IFile, Object > > | axlMetricsResultData |
static boolean | axlproject = false |
marks if it a axl project ,later it disappears | |
static MultiPageEditorPart | currentmultipage = null |
the current multipage | |
static ITextEditor | currenttexteditor = null |
necessary to get the actual texteditor (axleditor) for the instanceview | |
static boolean | disableAUTOSARPlugin = false |
if its true, inside the ui the autosar table will not appear | |
static boolean | disablePVPlugin = false |
if its true, inside the ui the pv table will not appear | |
static LinkedHashMap < MultiPageEditorPart, String > | filelocrelative = null |
static Map< Model, ISimulationEventStructure > | filteredSimulationResult |
static ArrayList< String > | forbiddenIdentifiers = null |
static boolean | included = false |
all files where the iaxlangelement is null will marked as included file | |
static IFile | mainAXBenchModelFile = null |
to know in other plugins what the main file is! | |
static ArrayList< File > | openfiles = null |
needed for the AXLWriter to know which fill is currently opened inside axbench | |
static String | projectname = null |
the actual project name | |
static LinkedHashMap< IFile, LinkedHashMap< IProject, ArrayList< IFile > > > | pvSynchronizationPoints = new LinkedHashMap<IFile, LinkedHashMap<IProject,ArrayList<IFile>>>() |
the AXBench file,<the synchronized project,the synchronized pure.variants files>> | |
static Set< ISessionListener > | setSessionListeners = null |
set of session listeners | |
static HashMap< String, IFileSynchronizeListener > | setSynchronizeListeners = null |
set of session listeners | |
static Map< Model, ISimulationEventStructure > | simulationResult |
static int | tabwidth = 0 |
the standard tabwidth to save |
Manages data of the working session.
static void de.fraunhofer.isst.axbench.Session.addFilteredSimulationResult | ( | Model | model, | |
ISimulationEventStructure | newFilteredSimulationResult | |||
) | [static] |
adds a filtered simulation result
newFilteredSimulationResult | filtered simulation result |
static void de.fraunhofer.isst.axbench.Session.addSessionListener | ( | ISessionListener | newListener | ) | [static] |
Adds a session listener.
newListener | new session listener |
static void de.fraunhofer.isst.axbench.Session.addSimulationResult | ( | Model | model, | |
ISimulationEventStructure | newSimulationResult | |||
) | [static] |
adds a simulation result
newSimulationResult | simulation result |
static void de.fraunhofer.isst.axbench.Session.addSynchronizeListener | ( | String | identifier, | |
IFileSynchronizeListener | newListener | |||
) | [static] |
Adds a synchronize listener.
newListener | new synchronize listener |
static void de.fraunhofer.isst.axbench.Session.fireElementChanged | ( | Object | objCaller | ) | [static] |
Broadcasts the change of the session element.
objCaller | calling object |
static void de.fraunhofer.isst.axbench.Session.fireHandleCall | ( | Object | objCaller, | |
String | content | |||
) | [static] |
Broadcasts the change of the session element.
objCaller | calling object |
static void de.fraunhofer.isst.axbench.Session.fireRefreshForbiddenIdentifierList | ( | Object | objCaller, | |
IAXLangElement | axbenchelement | |||
) | [static] |
Broadcasts the change of the synchronization point.
objCaller | ||
axbenchfile | ||
startup |
static void de.fraunhofer.isst.axbench.Session.fireSyncPointFileChanged | ( | Object | objCaller, | |
IFile | axbenchfile, | |||
boolean | startup | |||
) | [static] |
Broadcasts the change of the synchronization point.
objCaller | ||
axbenchfile | ||
startup |
static void de.fraunhofer.isst.axbench.Session.fireSyncPointRemoved | ( | Object | objCaller, | |
IFile | axbenchfile, | |||
IProject | project, | |||
IFile | file | |||
) | [static] |
Broadcasts the change of the synchronization point. perhaps its not necessary to broadcast it.
objCaller | calling object |
static LinkedHashMap<IFile, LinkedHashMap<IProject, ArrayList<IFile> > > de.fraunhofer.isst.axbench.Session.getArSynchronizationPoints | ( | ) | [static] |
static Object de.fraunhofer.isst.axbench.Session.getAxlMetricsResultData | ( | String | viewId, | |
IFile | axlFile | |||
) | [static] |
Get the metrics data for the view with viewId.
viewId |
static HashMap<IFile, Object> de.fraunhofer.isst.axbench.Session.getAxlMetricsResultData | ( | String | viewId | ) | [static] |
static synchronized Map<String, HashMap<IFile, Object> > de.fraunhofer.isst.axbench.Session.getAxlMetricsResultData | ( | ) | [static, private] |
static IAXLangElement de.fraunhofer.isst.axbench.Session.getCurrentElement | ( | ) | [static] |
Return the current aXLang element.
static MultiPageEditorPart de.fraunhofer.isst.axbench.Session.getCurrentmultipage | ( | ) | [static] |
static ITextEditor de.fraunhofer.isst.axbench.Session.getCurrenttexteditor | ( | ) | [static] |
static LinkedHashMap<MultiPageEditorPart,String> de.fraunhofer.isst.axbench.Session.getFilelocrelative | ( | ) | [static] |
static ISimulationEventStructure de.fraunhofer.isst.axbench.Session.getFilteredSimulationResult | ( | Model | model | ) | [static] |
getter method for the last generated filtered simulation result
static synchronized Map<Model, ISimulationEventStructure> de.fraunhofer.isst.axbench.Session.getFilteredSimulationResult | ( | ) | [static, private] |
static ArrayList<String> de.fraunhofer.isst.axbench.Session.getForbiddenIdentifiers | ( | ) | [static] |
the list of the forbidden identifiers which is refresh from the e.g. PVSynchronizationModul .
static LinkedHashMap<String, Position> de.fraunhofer.isst.axbench.Session.getIDPositionList | ( | ) | [static] |
static IFile de.fraunhofer.isst.axbench.Session.getMainAXBenchModelFile | ( | ) | [static] |
static ArrayList<File> de.fraunhofer.isst.axbench.Session.getOpenfiles | ( | ) | [static] |
static String de.fraunhofer.isst.axbench.Session.getProjectname | ( | ) | [static] |
static Collection<AXLConstraint> de.fraunhofer.isst.axbench.Session.getPVFeatureModelConstraints | ( | IAXLangElement | fmodel | ) | [static] |
searches for all constraints inside the FeatureModel.
fmodel |
collection | of AXLConstraint or | |
an | empty one if there is no constraint |
static LinkedHashMap<IFile, LinkedHashMap<IProject, ArrayList<IFile> > > de.fraunhofer.isst.axbench.Session.getPvSynchronizationPoints | ( | ) | [static] |
static synchronized Set<ISessionListener> de.fraunhofer.isst.axbench.Session.getSessionListeners | ( | ) | [static, private] |
Returns the session listeners, create empty list if there are none.
static synchronized Map<Model, ISimulationEventStructure> de.fraunhofer.isst.axbench.Session.getSimulationResult | ( | ) | [static, private] |
static ISimulationEventStructure de.fraunhofer.isst.axbench.Session.getSimulationResult | ( | Model | model | ) | [static] |
getter method for the last generated simulation result
static HashMap<String,IFileSynchronizeListener> de.fraunhofer.isst.axbench.Session.getSynchronizeListeners | ( | ) | [static, private] |
Returns the synchronize listeners, create empty list if there are none.
static int de.fraunhofer.isst.axbench.Session.getTabwidth | ( | ) | [static] |
static boolean de.fraunhofer.isst.axbench.Session.isAxlcurrentinputsaved | ( | ) | [static] |
static boolean de.fraunhofer.isst.axbench.Session.isAxlproject | ( | ) | [static] |
static boolean de.fraunhofer.isst.axbench.Session.isDisableAUTOSARPlugin | ( | ) | [static] |
static boolean de.fraunhofer.isst.axbench.Session.isDisablePVPlugin | ( | ) | [static] |
static boolean de.fraunhofer.isst.axbench.Session.isIncluded | ( | ) | [static] |
static void de.fraunhofer.isst.axbench.Session.openView | ( | String | id | ) | [static] |
opens a view
id | - e.g. de.fraunhofer.isst.axbench.ui.simulationTraceView org.eclipse.ui.views.ProblemView org.eclipse.jdt.ui.JavadocView org.eclipse.jdt.ui.SourceView org.eclipse.ui.views.PropertySheet org.eclipse.jdt.ui.PackageExplorer org.eclipse.jdt.ui.TypeHierarchy org.eclipse.ui.views.ContentOutline |
static void de.fraunhofer.isst.axbench.Session.removeAXLangListener | ( | ISessionListener | oldListener | ) | [static] |
Removes a session listener.
oldListener | listener to remove |
static void de.fraunhofer.isst.axbench.Session.removeSynchronizeListener | ( | IFileSynchronizeListener | oldListener | ) | [static] |
Removes a synchronize listener.
todosk
oldListener | listener to remove |
static void de.fraunhofer.isst.axbench.Session.resetCurrentElement | ( | ) | [static] |
not used yet
static void de.fraunhofer.isst.axbench.Session.setAxlMetricsResultData | ( | String | viewId, | |
IFile | axlFile, | |||
Object | data | |||
) | [static] |
Store the metrics data for the view with viewId The metrics data is of type "AxlMetricsResultsMap".
viewId | ||
data |
static void de.fraunhofer.isst.axbench.Session.setAxlproject | ( | boolean | axlproject | ) | [static] |
axlproject | the axlproject to set |
static void de.fraunhofer.isst.axbench.Session.setCurrentElement | ( | IAXLangElement | newElement, | |
Object | objCaller | |||
) | [static] |
Sets a new aXLang element.
newElement | aXLang element | |
objCaller | calling object |
static void de.fraunhofer.isst.axbench.Session.setCurrentElementAfterSave | ( | IAXLangElement | newElement, | |
Object | objCaller | |||
) | [static] |
Sets a new aXLang element after the editor was saved.
newElement | aXLang element | |
objCaller | calling object |
static void de.fraunhofer.isst.axbench.Session.setCurrentmultipage | ( | MultiPageEditorPart | currentmultipage | ) | [static] |
currentmultipage | the currentmultipage to set |
static void de.fraunhofer.isst.axbench.Session.setCurrenttexteditor | ( | ITextEditor | currenttexteditor | ) | [static] |
currenttexteditor | the current text editor to set |
static void de.fraunhofer.isst.axbench.Session.setDisableAUTOSARPlugin | ( | boolean | disableAUTOSARPlugin | ) | [static] |
disableAUTOSARPlugin | intends to disable the autosar plugin and all related ui features |
static void de.fraunhofer.isst.axbench.Session.setDisablePVPlugin | ( | boolean | disablePVPlugin | ) | [static] |
disablePVPlugin | intends to disable the pure.variants plugin and all related ui features |
static void de.fraunhofer.isst.axbench.Session.setIncluded | ( | boolean | included | ) | [static] |
included | the included to set |
static void de.fraunhofer.isst.axbench.Session.setMainAXBenchModelFile | ( | IFile | mainAXBenchModelFile | ) | [static] |
static void de.fraunhofer.isst.axbench.Session.setProjectname | ( | String | projectname | ) | [static] |
projectname | the projectname to set |
static void de.fraunhofer.isst.axbench.Session.setTabwidth | ( | int | set | ) | [static] |
LinkedHashMap<IFile,LinkedHashMap<IProject,ArrayList<IFile> > > de.fraunhofer.isst.axbench.Session.arSynchronizationPoints = new LinkedHashMap<IFile, LinkedHashMap<IProject,ArrayList<IFile>>>() [static, private] |
the AXBench file,<the synchronized project,the synchronized autosar files>>
IAXLangElement de.fraunhofer.isst.axbench.Session.axlCurrentElement = null [static, private] |
current aXLang element
boolean de.fraunhofer.isst.axbench.Session.axlcurrentinputsaved = false [static, private] |
to mark a save action
Map<String, HashMap<IFile, Object> > de.fraunhofer.isst.axbench.Session.axlMetricsResultData [static, private] |
boolean de.fraunhofer.isst.axbench.Session.axlproject = false [static, private] |
marks if it a axl project ,later it disappears
MultiPageEditorPart de.fraunhofer.isst.axbench.Session.currentmultipage = null [static, private] |
the current multipage
ITextEditor de.fraunhofer.isst.axbench.Session.currenttexteditor = null [static, private] |
necessary to get the actual texteditor (axleditor) for the instanceview
boolean de.fraunhofer.isst.axbench.Session.disableAUTOSARPlugin = false [static, private] |
if its true, inside the ui the autosar table will not appear
boolean de.fraunhofer.isst.axbench.Session.disablePVPlugin = false [static, private] |
if its true, inside the ui the pv table will not appear
LinkedHashMap<MultiPageEditorPart,String> de.fraunhofer.isst.axbench.Session.filelocrelative = null [static, private] |
Map<Model, ISimulationEventStructure> de.fraunhofer.isst.axbench.Session.filteredSimulationResult [static, private] |
ArrayList<String> de.fraunhofer.isst.axbench.Session.forbiddenIdentifiers = null [static, private] |
LinkedHashMap<String,Position> de.fraunhofer.isst.axbench.Session.idpositionlist = null [static] |
boolean de.fraunhofer.isst.axbench.Session.included = false [static, private] |
all files where the iaxlangelement is null will marked as included file
IFile de.fraunhofer.isst.axbench.Session.mainAXBenchModelFile = null [static, private] |
to know in other plugins what the main file is!
ArrayList<File> de.fraunhofer.isst.axbench.Session.openfiles = null [static, private] |
needed for the AXLWriter to know which fill is currently opened inside axbench
String de.fraunhofer.isst.axbench.Session.projectname = null [static, private] |
the actual project name
LinkedHashMap<IFile,LinkedHashMap<IProject,ArrayList<IFile> > > de.fraunhofer.isst.axbench.Session.pvSynchronizationPoints = new LinkedHashMap<IFile, LinkedHashMap<IProject,ArrayList<IFile>>>() [static, private] |
the AXBench file,<the synchronized project,the synchronized pure.variants files>>
Set<ISessionListener> de.fraunhofer.isst.axbench.Session.setSessionListeners = null [static, private] |
set of session listeners
HashMap<String,IFileSynchronizeListener> de.fraunhofer.isst.axbench.Session.setSynchronizeListeners = null [static, private] |
set of session listeners
Map<Model, ISimulationEventStructure> de.fraunhofer.isst.axbench.Session.simulationResult [static, private] |
int de.fraunhofer.isst.axbench.Session.tabwidth = 0 [static, private] |
the standard tabwidth to save