net.sourceforge.fluxion.runcible.io.command.impl
Class DefaultChangeInvoker

java.lang.Object
  extended by net.sourceforge.fluxion.runcible.io.command.impl.DefaultChangeInvoker
All Implemented Interfaces:
ChangeInvoker

public class DefaultChangeInvoker
extends java.lang.Object
implements ChangeInvoker

Javadocs go here.

Version:
1.0
Author:
Tony Burdett

Field Summary
protected  java.util.List<ChangeCommand> commands
           
protected  int position
           
 
Constructor Summary
DefaultChangeInvoker()
           
 
Method Summary
 void clear()
           
 void executeChanges()
          Trigger a change to the mapping for this ChangeInvoker.
 ChangeCommand getLastCommand()
           
 ChangeCommand getNextCommand()
           
 void storeChangeCommand(ChangeCommand command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commands

protected java.util.List<ChangeCommand> commands

position

protected int position
Constructor Detail

DefaultChangeInvoker

public DefaultChangeInvoker()
Method Detail

getNextCommand

public ChangeCommand getNextCommand()
Specified by:
getNextCommand in interface ChangeInvoker

getLastCommand

public ChangeCommand getLastCommand()
Specified by:
getLastCommand in interface ChangeInvoker

storeChangeCommand

public void storeChangeCommand(ChangeCommand command)
Specified by:
storeChangeCommand in interface ChangeInvoker

executeChanges

public void executeChanges()
Trigger a change to the mapping for this ChangeInvoker. What actually happens is that the ChangeInvoker listens to all events report by the source and target graphs as they occur. Then, when this method is called, the graph change manager interprets the set of changes that have been made recently and converts them into changes in the mapping.

Specified by:
executeChanges in interface ChangeInvoker

clear

public void clear()
Specified by:
clear in interface ChangeInvoker


Copyright © 2010. All Rights Reserved.