public class IlpEquipmentHandlerWithoutDataSource extends IlpGraphHandlerWithoutDataSource implements IlpEquipmentHandler
IlpDataSource is used.
The handler performs editing operations by accessing the representation objects and the model.
IlpEquipmentController.setHandler(ilog.cpl.equipment.IlpEquipmentHandler)LINK_FROM_NODE, LINK_FROM_PORT, LINK_TO_NODE, LINK_TO_PORT| Constructor and Description |
|---|
IlpEquipmentHandlerWithoutDataSource(IlpEquipment equipment)
Creates the handler.
|
IlpEquipmentHandlerWithoutDataSource(IlpEquipmentController controller)
Creates the handler.
|
| Modifier and Type | Method and Description |
|---|---|
protected IlpDefaultClass |
createDefaultClass()
Returns the graph handler default position attribute class.
|
protected Object |
createObjectId(Class clazz,
IlpAttributeGroup attributes,
Map properties)
Returns an object id for the creation of a new object.
|
protected String |
getClassName(IlpAttributeGroup attributes)
Returns the class name for objects created by this handler.
|
protected Logger |
getHandlerLogger()
Returns the logger used to log messages by this handler.
|
handleChangeRelationship, handleCloneObject, handleCollapseObject, handleCreateObject, handleExpandObject, handleLoad, handleMoveObject, handleRemoveObject, handleUpdateObjectcreateObject, endBatch, findIlpClass, getDefaultClass, getGraphController, getGraphModel, setGraphController, startBatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleChangeRelationship, handleCloneObject, handleCreateObject, handleRemoveObject, handleUpdateObjecthandleMoveObjecthandleCollapseObject, handleExpandObjecthandleLoadpublic IlpEquipmentHandlerWithoutDataSource(IlpEquipment equipment)
equipment - The Equipment component.public IlpEquipmentHandlerWithoutDataSource(IlpEquipmentController controller)
controller - The Equipment component's controller.protected Logger getHandlerLogger()
IlpAbstractGraphHandlergetHandlerLogger in class IlpAbstractGraphHandlerprotected String getClassName(IlpAttributeGroup attributes)
IlpAbstractGraphHandlergetClassName in class IlpAbstractGraphHandlerattributes - The attribute group set in the created representation
objects.IlpAbstractGraphHandler.findIlpClass(Class, IlpAttributeGroup)protected IlpDefaultClass createDefaultClass()
IlpAbstractGraphHandlerprotected Object createObjectId(Class clazz, IlpAttributeGroup attributes, Map properties)
IlpAbstractGraphHandlerThis method should be overridden in subclasses. The default implementation returns a String.
Note that object identifiers are subject to some constraints; for
details, see IlpObject.getIdentifier().
createObjectId in class IlpAbstractGraphHandlerclazz - An implementation of IlpRepresentationNode.attributes - A set of attributes for the object to be created,
or null.properties - A set of hints for the object to be created,
or null.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.