net.officefloor.eclipse.common.editpolicies.layout
Interface CreateChangeFactory<O>


public interface CreateChangeFactory<O>

Factory to create a Change to add a new Object.

Typically this will be from dragging an Object into the diagram.

Author:
Daniel Sagenschneider

Method Summary
 Change<?> createChange(Object newObject, org.eclipse.draw2d.geometry.Point location)
          Creates a Change to add a new Object.
 

Method Detail

createChange

Change<?> createChange(Object newObject,
                       org.eclipse.draw2d.geometry.Point location)
Creates a Change to add a new Object.

Parameters:
newObject - New Object to add.
location - Location to add the Object.
Returns:
Change to add the new Object.


Copyright © 2005-2013. All Rights Reserved.