- All Known Implementing Classes:
StateManager
public interface IStateManager
State Manager
Manages the states of the app interaction.
-
Method Summary
-
Method Details
-
init
void init()
Initializes all states.
-
setAddTopic
void setAddTopic()
Sets the state of adding a new topic.
-
setSelectTopic
void setSelectTopic()
Sets the state of selecting a topic.
-
setMoveTopic
void setMoveTopic()
Sets the state of moving topics.
-
setDrawConnection
void setDrawConnection()
Sets the state of drawing a new connection.
-
setDeleteElement
void setDeleteElement()
Sets the state of deleting an element.
-
getState
- Returns:
- Current app
IState
.
-
rollback
void rollback()
Rolls back to the previous state.