Package org.aspectj.ajde.ui
Class StructureViewManager
java.lang.Object
org.aspectj.ajde.ui.StructureViewManager
- Author:
- Mik Kersten
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateGlobalView(GlobalViewProperties properties)createViewForSourceFile(String sourceFilePath, StructureViewProperties properties)booleandeleteView(StructureView view)voidvoidvoidfireNavigationAction(String newFilePath, int lineNumber)Only navigations of the default view are registered with the history.voidfireNavigationAction(IProgramElement pe, boolean isLink)Returns the list of all available relations.voidrefreshView(StructureView view)voidsetDefaultFileView(FileStructureView defaultFileView)
-
Field Details
-
VIEW_LISTENER
-
-
Constructor Details
-
StructureViewManager
- Parameters:
nodeFactory- concrete factory for creating view nodes
-
-
Method Details
-
refreshView
-
getDefaultViewProperties
-
getAvailableRelations
Returns the list of all available relations. -
createGlobalView
- Parameters:
properties- can not be null
-
createViewForSourceFile
public FileStructureView createViewForSourceFile(String sourceFilePath, StructureViewProperties properties)- Parameters:
sourceFilePath- full path to corresponding source fileproperties- if null default properties will be used- Returns:
- always returns a view intance
-
deleteView
- Returns:
- true if the view was found and removed, false otherwise
-
setDefaultFileView
-
getDefaultFileView