|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.cke.command.CreekCommand
jcreek.cke.command.ActivateEntityCommand
Title: JavaCreek Description: A Case Based Reasoning approach developed in Java Copyright: Copyright (c) 1999 Company: Phil Systems
Field Summary |
Fields inherited from class jcreek.cke.command.CreekCommand |
canUndoRedo, document |
Constructor Summary | |
ActivateEntityCommand(CreekDocument doc,
VisualEntity ve)
Constructor for this command. |
Method Summary | |
boolean |
addEdit(javax.swing.undo.UndoableEdit anEdit)
Try to merge anEdit with this edit. |
void |
die()
|
java.lang.String |
getPresentationName()
Return the human-readable name for this action. |
java.lang.String |
getRedoPresentationName()
Return the human-readable name for redoing this command. |
java.lang.String |
getUndoPresentationName()
Return the human-readable name for undoing this command. |
boolean |
isSignificant()
Return true if this command is not a side-effect of some other change. activating a Entity is always significant. |
boolean |
perform()
Perform the action for the first time. |
void |
redo()
|
boolean |
replaceEdit(javax.swing.undo.UndoableEdit anEdit)
See if we can be the given edit, thus replacing it in the undo queue. |
void |
undo()
|
Methods inherited from class jcreek.cke.command.CreekCommand |
canRedo, canUndo, getDocument, replaced, setDocument |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActivateEntityCommand(CreekDocument doc, VisualEntity ve)
doc
- document we're performed onMethod Detail |
public java.lang.String getUndoPresentationName()
public boolean perform()
perform
in class CreekCommand
public void die()
public boolean isSignificant()
public void redo()
public void undo()
public boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
anEdit
- edit to absorb
public java.lang.String getRedoPresentationName()
public boolean replaceEdit(javax.swing.undo.UndoableEdit anEdit)
anEdit
- edit command to replace
public java.lang.String getPresentationName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |