|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkieker.webgui.web.beans.view.AnalysisEditorHistoryBean
@Component @Scope(value="view") public final class AnalysisEditorHistoryBean
This bean contains the necessary data behind an instance of the analysis editor for the undo and redo operations.
The class is a Spring managed bean with view scope to make sure that one user (even in one session) can open multiple projects at a time without causing any
problems.
Constructor Summary | |
---|---|
AnalysisEditorHistoryBean()
Creates a new instance of this class. |
Method Summary | |
---|---|
void |
componentDeletedEvent(kieker.analysis.model.analysisMetaModel.MIAnalysisComponent deletedComponent)
An event occurring when a component has been deleted. |
void |
componentSelectedEvent(kieker.analysis.model.analysisMetaModel.MIAnalysisComponent selectedComponent)
An event occurring when a component has been selected. |
void |
connectionAddedEvent(kieker.analysis.model.analysisMetaModel.MIOutputPort sourcePort,
kieker.analysis.model.analysisMetaModel.MIInputPort targetPort)
An event occurring when a connection has been created. |
void |
connectionAddedEvent(kieker.analysis.model.analysisMetaModel.MIRepositoryConnector sourcePort,
kieker.analysis.model.analysisMetaModel.MIRepository targetRepo)
An event occurring when a connection has been created. |
void |
connectionDeletedEvent(kieker.analysis.model.analysisMetaModel.MIOutputPort sourcePort,
kieker.analysis.model.analysisMetaModel.MIInputPort targetPort)
An event occurring when a connection has been deleted. |
void |
connectionDeletedEvent(kieker.analysis.model.analysisMetaModel.MIRepositoryConnector sourcePort,
kieker.analysis.model.analysisMetaModel.MIRepository targetRepo)
An event occurring when a connection has been deleted. |
boolean |
isRedoStackEmpty()
Tells whether the redo stack is empty or not. |
boolean |
isUndoStackEmpty()
Tells whether the undo stack is empty or not. |
void |
redoLastCommand()
Redos the last command. |
void |
undoLastCommand()
Undos the last command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnalysisEditorHistoryBean()
Method Detail |
---|
public void undoLastCommand()
public void redoLastCommand()
public boolean isUndoStackEmpty()
public boolean isRedoStackEmpty()
public void componentSelectedEvent(kieker.analysis.model.analysisMetaModel.MIAnalysisComponent selectedComponent)
IGraphListener
componentSelectedEvent
in interface IGraphListener
selectedComponent
- The selected component.public void componentDeletedEvent(kieker.analysis.model.analysisMetaModel.MIAnalysisComponent deletedComponent)
IGraphListener
componentDeletedEvent
in interface IGraphListener
deletedComponent
- The deleted component.public void connectionAddedEvent(kieker.analysis.model.analysisMetaModel.MIRepositoryConnector sourcePort, kieker.analysis.model.analysisMetaModel.MIRepository targetRepo)
IGraphListener
connectionAddedEvent
in interface IGraphListener
sourcePort
- The source port.targetRepo
- The target.public void connectionAddedEvent(kieker.analysis.model.analysisMetaModel.MIOutputPort sourcePort, kieker.analysis.model.analysisMetaModel.MIInputPort targetPort)
IGraphListener
connectionAddedEvent
in interface IGraphListener
sourcePort
- The source port.targetPort
- The target port.public void connectionDeletedEvent(kieker.analysis.model.analysisMetaModel.MIRepositoryConnector sourcePort, kieker.analysis.model.analysisMetaModel.MIRepository targetRepo)
IGraphListener
connectionDeletedEvent
in interface IGraphListener
sourcePort
- The source port.targetRepo
- The target.public void connectionDeletedEvent(kieker.analysis.model.analysisMetaModel.MIOutputPort sourcePort, kieker.analysis.model.analysisMetaModel.MIInputPort targetPort)
IGraphListener
connectionDeletedEvent
in interface IGraphListener
sourcePort
- The source port.targetPort
- The target port.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |