public abstract class AbstractAddRemoveCommand extends Object implements Command
Constructor and Description |
---|
AbstractAddRemoveCommand(Model model,
Set<BioPAXElement> bpes) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUndo() |
boolean |
redo() |
protected abstract void |
redoAction(BioPAXElement bpe) |
boolean |
undo() |
protected abstract void |
undoAction(BioPAXElement bpe) |
public AbstractAddRemoveCommand(Model model, Set<BioPAXElement> bpes)
protected abstract void undoAction(BioPAXElement bpe)
public boolean canUndo()
protected abstract void redoAction(BioPAXElement bpe)
Copyright © 2015 BioPAX. All rights reserved.