edu.stanford.hci.dtools.statechart.palette
Class StateCreationFactory
java.lang.Object
org.eclipse.gef.requests.SimpleFactory
edu.stanford.hci.dtools.statechart.palette.StateCreationFactory
- All Implemented Interfaces:
- org.eclipse.gef.requests.CreationFactory
public class StateCreationFactory
- extends org.eclipse.gef.requests.SimpleFactory
This software is distributed under the
BSD License.
- Author:
- Michael Bernstein ( mbernst(AT)stanford.edu )
Methods inherited from class org.eclipse.gef.requests.SimpleFactory |
getObjectType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateCreationFactory
public StateCreationFactory(java.lang.Class aClass,
DeviceConfiguration config)
setDeviceConfiguration
public void setDeviceConfiguration(DeviceConfiguration newConfig)
getDeviceConfiguration
public DeviceConfiguration getDeviceConfiguration()
getNewObject
public StateModel getNewObject()
- Create the new object.
- Specified by:
getNewObject
in interface org.eclipse.gef.requests.CreationFactory
- Overrides:
getNewObject
in class org.eclipse.gef.requests.SimpleFactory
- Returns:
- The newly created object.