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 void
afterTransactionOperation(org.eclipse.gef.mvc.fx.operations.ITransactionalOperation operation)
Notified after theITransactionalOperation
is registered for execution.void
beforeTransactionOperation(org.eclipse.gef.mvc.fx.operations.ITransactionalOperation operation)
Notified before theITransactionalOperation
is registered for execution.void
postApply(Change<?> change)
Notified post-applying theChange
.void
postRevert(Change<?> change)
Notified post-reverting theChange
.void
preApply(Change<?> change)
Notified pre-applying theChange
.void
preRevert(Change<?> change)
Notified pre-reverting theChange
.
-
-
-
Method Detail
-
beforeTransactionOperation
public void beforeTransactionOperation(org.eclipse.gef.mvc.fx.operations.ITransactionalOperation operation)
Description copied from interface:ChangeListener
Notified before theITransactionalOperation
is registered for execution.- Specified by:
beforeTransactionOperation
in interfaceChangeListener
- Parameters:
operation
-ITransactionalOperation
.
-
afterTransactionOperation
public void afterTransactionOperation(org.eclipse.gef.mvc.fx.operations.ITransactionalOperation operation)
Description copied from interface:ChangeListener
Notified after theITransactionalOperation
is registered for execution.- Specified by:
afterTransactionOperation
in interfaceChangeListener
- Parameters:
operation
-ITransactionalOperation
.
-
preApply
public void preApply(Change<?> change)
Description copied from interface:ChangeListener
Notified pre-applying theChange
.- Specified by:
preApply
in interfaceChangeListener
- Parameters:
change
-Change
.
-
postApply
public void postApply(Change<?> change)
Description copied from interface:ChangeListener
Notified post-applying theChange
.- Specified by:
postApply
in interfaceChangeListener
- Parameters:
change
-Change
.
-
preRevert
public void preRevert(Change<?> change)
Description copied from interface:ChangeListener
Notified pre-reverting theChange
.- Specified by:
preRevert
in interfaceChangeListener
- Parameters:
change
-Change
.
-
postRevert
public void postRevert(Change<?> change)
Description copied from interface:ChangeListener
Notified post-reverting theChange
.- Specified by:
postRevert
in interfaceChangeListener
- Parameters:
change
-Change
.
-
-