Package jetbrains.mps.smodel.undo
Class NodeBasedCommand
- java.lang.Object
 - 
- jetbrains.mps.smodel.undo.DefaultUndoContext
 - 
- jetbrains.mps.smodel.undo.DefaultCommand
 - 
- jetbrains.mps.smodel.undo.NodeBasedCommand
 
 
 
 
- 
- All Implemented Interfaces:
 Runnable,UndoContext
public abstract class NodeBasedCommand extends DefaultCommand
 
- 
- 
Constructor Summary
Constructors Constructor Description NodeBasedCommand(SNode mainNode, SRepository repository) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<SNode>getVirtualFileNodes(List<SNodeUndoableAction> actions)- 
Methods inherited from class jetbrains.mps.smodel.undo.DefaultUndoContext
getRepository, getVirtualFileNodes 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
NodeBasedCommand
public NodeBasedCommand(@NotNull SNode mainNode, @NotNull SRepository repository)
 
 - 
 
- 
Method Detail
- 
getVirtualFileNodes
public Iterable<SNode> getVirtualFileNodes(List<SNodeUndoableAction> actions)
- Specified by:
 getVirtualFileNodesin interfaceUndoContext- Overrides:
 getVirtualFileNodesin classDefaultUndoContext
 
 - 
 
 -