Package net.officefloor.gef.editor
Class ChangeAdapter
- java.lang.Object
-
- net.officefloor.gef.editor.ChangeAdapter
-
- All Implemented Interfaces:
ChangeListener
public class ChangeAdapter extends java.lang.Object implements ChangeListener
Provides default implementation of methods forChangeListener.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ChangeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterTransactionOperation(org.eclipse.gef.mvc.fx.operations.ITransactionalOperation operation)Notified after theITransactionalOperationis registered for execution.voidbeforeTransactionOperation(org.eclipse.gef.mvc.fx.operations.ITransactionalOperation operation)Notified before theITransactionalOperationis registered for execution.voidpostApply(Change<?> change)Notified post-applying theChange.voidpostRevert(Change<?> change)Notified post-reverting theChange.voidpreApply(Change<?> change)Notified pre-applying theChange.voidpreRevert(Change<?> change)Notified pre-reverting theChange.
-
-
-
Method Detail
-
beforeTransactionOperation
public void beforeTransactionOperation(org.eclipse.gef.mvc.fx.operations.ITransactionalOperation operation)
Description copied from interface:ChangeListenerNotified before theITransactionalOperationis registered for execution.- Specified by:
beforeTransactionOperationin interfaceChangeListener- Parameters:
operation-ITransactionalOperation.
-
afterTransactionOperation
public void afterTransactionOperation(org.eclipse.gef.mvc.fx.operations.ITransactionalOperation operation)
Description copied from interface:ChangeListenerNotified after theITransactionalOperationis registered for execution.- Specified by:
afterTransactionOperationin interfaceChangeListener- Parameters:
operation-ITransactionalOperation.
-
preApply
public void preApply(Change<?> change)
Description copied from interface:ChangeListenerNotified pre-applying theChange.- Specified by:
preApplyin interfaceChangeListener- Parameters:
change-Change.
-
postApply
public void postApply(Change<?> change)
Description copied from interface:ChangeListenerNotified post-applying theChange.- Specified by:
postApplyin interfaceChangeListener- Parameters:
change-Change.
-
preRevert
public void preRevert(Change<?> change)
Description copied from interface:ChangeListenerNotified pre-reverting theChange.- Specified by:
preRevertin interfaceChangeListener- Parameters:
change-Change.
-
postRevert
public void postRevert(Change<?> change)
Description copied from interface:ChangeListenerNotified post-reverting theChange.- Specified by:
postRevertin interfaceChangeListener- Parameters:
change-Change.
-
-