|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.editor.NavigationManager
public class NavigationManager
This class is responsible of the navigation throught the diagrams. Then it
stores the history of this navigation to allow next and previous actions.
creation : 16 déc. 2005
Method Summary | |
---|---|
void |
addNavigationListener(INavigationListener listener)
Appends the listener to the list of navigation listeners. |
boolean |
canDoNext()
Returns true if a next action can be performed |
boolean |
canDoPrevious()
Returns true if a previous action can be performed |
int |
getPreviousLimit()
Returns the depth of the browse stack |
void |
next()
Go forward in the browse history |
void |
previous()
Go backward in the browse history |
void |
removeNavigationListener(INavigationListener listener)
Removes the first occurrence of the specified listener. |
void |
set(Diagram newDiagram)
Change the current diagram |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addNavigationListener(INavigationListener listener)
listener
- the event listenerpublic void removeNavigationListener(INavigationListener listener)
listener
- the listenerpublic boolean canDoPrevious()
true
if a previous action can be performed
public boolean canDoNext()
true
if a next action can be performed
public void previous()
public void next()
public void set(Diagram newDiagram)
newDiagram
- the new active diagrampublic int getPreviousLimit()
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.