de.frag.umlplugin.codenavigator
Class NavigatorProjectComponent

java.lang.Object
  extended by de.frag.umlplugin.codenavigator.NavigatorProjectComponent
All Implemented Interfaces:
com.intellij.openapi.components.BaseComponent, com.intellij.openapi.components.ProjectComponent

public class NavigatorProjectComponent
extends java.lang.Object
implements com.intellij.openapi.components.ProjectComponent

Tool window project component for graphical navigation between dependent classes.


Field Summary
static java.lang.String GRAPHICAL_NAVIGATOR_TOOL_WINDOW_ID
           
 
Constructor Summary
NavigatorProjectComponent(com.intellij.openapi.project.Project project)
          Creates the navigator component.
 
Method Summary
 void applySettings(boolean reducedClassVisibility, boolean modifiedClassVisibility, Settings settings)
          Apply given settings to existing graphs.
 void disposeComponent()
           
 java.lang.String getComponentName()
           
 com.intellij.openapi.graph.view.Graph2DView getGraph2DView()
          Gets graph view.
 void initComponent()
           
 void projectClosed()
           
 void projectOpened()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRAPHICAL_NAVIGATOR_TOOL_WINDOW_ID

public static final java.lang.String GRAPHICAL_NAVIGATOR_TOOL_WINDOW_ID
See Also:
Constant Field Values
Constructor Detail

NavigatorProjectComponent

public NavigatorProjectComponent(@NotNull
                                 com.intellij.openapi.project.Project project)
Creates the navigator component.

Parameters:
project - project to create component for
Method Detail

getGraph2DView

public com.intellij.openapi.graph.view.Graph2DView getGraph2DView()
Gets graph view.

Returns:
graph view

initComponent

public void initComponent()
Specified by:
initComponent in interface com.intellij.openapi.components.BaseComponent

disposeComponent

public void disposeComponent()
Specified by:
disposeComponent in interface com.intellij.openapi.components.BaseComponent

getComponentName

@NotNull
public java.lang.String getComponentName()
Specified by:
getComponentName in interface com.intellij.openapi.components.BaseComponent

projectOpened

public void projectOpened()
Specified by:
projectOpened in interface com.intellij.openapi.components.ProjectComponent

projectClosed

public void projectClosed()
Specified by:
projectClosed in interface com.intellij.openapi.components.ProjectComponent

applySettings

public void applySettings(boolean reducedClassVisibility,
                          boolean modifiedClassVisibility,
                          Settings settings)
Apply given settings to existing graphs.

Parameters:
reducedClassVisibility - true, if settings changes reduced class visibility
modifiedClassVisibility - true, if settings changes modified class visibility
settings - settings to apply