|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.codenavigator.Navigator
public class Navigator
Handles navigation to nodes and source files.
Constructor Summary | |
---|---|
Navigator(com.intellij.openapi.project.Project project,
com.intellij.openapi.graph.view.Graph2DView graph2DView,
NavigationHistory navigationHistory)
Creates new navigator. |
Method Summary | |
---|---|
void |
navigate(com.intellij.openapi.graph.base.Edge edge,
boolean navigateToEdgeSource)
Naviagtes to given edge. |
void |
navigate(com.intellij.openapi.graph.base.Node node)
Navigates to given node. |
void |
navigate(com.intellij.psi.PsiClass psiClass,
DependencyType dependencyType)
Navigates to given class and dependency type. |
void |
startNavigation(com.intellij.psi.PsiClass psiClass)
Starts graphical naviagtion using given class as first subject class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Navigator(@NotNull com.intellij.openapi.project.Project project, @NotNull com.intellij.openapi.graph.view.Graph2DView graph2DView, @NotNull NavigationHistory navigationHistory)
project
- projectgraph2DView
- graph viewnavigationHistory
- navigation historyMethod Detail |
---|
public void startNavigation(@NotNull com.intellij.psi.PsiClass psiClass)
psiClass
- navigation start classpublic void navigate(@NotNull com.intellij.psi.PsiClass psiClass, @NotNull DependencyType dependencyType)
psiClass
- class to navigate todependencyType
- dependency type to navigate topublic void navigate(@NotNull com.intellij.openapi.graph.base.Node node)
node
- node to navigate topublic void navigate(@NotNull com.intellij.openapi.graph.base.Edge edge, boolean navigateToEdgeSource)
edge
- edge to navigate tonavigateToEdgeSource
- true, if source of edge is navigation target; false if target of edge is
navigation target
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |