|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.history.NavigationHistory
public class NavigationHistory
Navigation history.
Constructor Summary | |
---|---|
NavigationHistory(int maxSize)
Creates a new navigation history with the given maximum history size. |
Method Summary | |
---|---|
boolean |
canStepBack()
Checks whether a step back in the history is possible. |
boolean |
canStepForward()
Checks whether a step forward in the history is possible. |
void |
clear()
Clears this history. |
void |
navigatedTo(com.intellij.psi.PsiClass subjectClass,
com.intellij.psi.PsiClass selectedClass,
DependencyType dependencyType)
Navigates to the given class and dependency type |
HistoryEntry |
stepBack()
Steps back in the history and returns the corresponing history entry. |
HistoryEntry |
stepForward()
Steps forward in the history and returns the corresponing history entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NavigationHistory(int maxSize)
maxSize
- maximum history sizeMethod Detail |
---|
public void clear()
public void navigatedTo(@NotNull com.intellij.psi.PsiClass subjectClass, @NotNull com.intellij.psi.PsiClass selectedClass, @NotNull DependencyType dependencyType)
subjectClass
- class to navigate fromselectedClass
- class to navigate todependencyType
- dependency type to navigate to@NotNull public HistoryEntry stepBack()
@NotNull public HistoryEntry stepForward()
public boolean canStepBack()
public boolean canStepForward()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |