|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graph.IlpAbstractGraphHandler
ilog.cpl.graph.IlpGraphHandlerWithoutDataSource
ilog.cpl.network.IlpNetworkHandlerWithoutDataSource
public class IlpNetworkHandlerWithoutDataSource
This class is the preferred handler for the Network component
when IlpDataSource is not used.
The handler performs editing operations by accessing the representation objects and the model.
IlpNetworkController.setHandler(ilog.cpl.network.IlpNetworkHandler)| Field Summary |
|---|
| Fields inherited from interface ilog.cpl.graph.IlpNodeHandler |
|---|
LINK_FROM_NODE, LINK_FROM_PORT, LINK_TO_NODE, LINK_TO_PORT |
| Constructor Summary | |
|---|---|
IlpNetworkHandlerWithoutDataSource(IlpNetwork network)
Creates the handler. |
|
IlpNetworkHandlerWithoutDataSource(IlpNetworkController controller)
Creates the handler. |
|
| Method Summary | |
|---|---|
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()
Use the correct logger for either IlpNetworkHandlerWithDataSource or IlpEquipmentHandlerWithDataSource. |
| Methods inherited from class ilog.cpl.graph.IlpGraphHandlerWithoutDataSource |
|---|
handleChangeRelationship, handleCloneObject, handleCollapseObject, handleCreateObject, handleExpandObject, handleLoad, handleMoveObject, handleRemoveObject, handleUpdateObject |
| Methods inherited from class ilog.cpl.graph.IlpAbstractGraphHandler |
|---|
createObject, endBatch, findIlpClass, getDefaultClass, getGraphController, getGraphModel, setGraphController, startBatch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.cpl.graph.IlpNodeHandler |
|---|
handleChangeRelationship, handleCloneObject, handleCreateObject, handleRemoveObject, handleUpdateObject |
| Methods inherited from interface ilog.cpl.graph.IlpPositionHandler |
|---|
handleMoveObject |
| Methods inherited from interface ilog.cpl.graph.IlpExpansionHandler |
|---|
handleCollapseObject, handleExpandObject |
| Methods inherited from interface ilog.cpl.graph.IlpLoadHandler |
|---|
handleLoad |
| Constructor Detail |
|---|
public IlpNetworkHandlerWithoutDataSource(IlpNetwork network)
network - The Network component.public IlpNetworkHandlerWithoutDataSource(IlpNetworkController controller)
controller - The Network component's controller.| Method Detail |
|---|
protected Logger getHandlerLogger()
getHandlerLogger in class IlpAbstractGraphHandlerprotected IlpDefaultClass createDefaultClass()
IlpAbstractGraphHandler
createDefaultClass in class IlpAbstractGraphHandlerIlpAbstractGraphHandler.getDefaultClass(),
IlpAbstractGraphHandler.createObject(Class, IlpAttributeGroup, Map, Object)protected String getClassName(IlpAttributeGroup attributes)
IlpAbstractGraphHandler
getClassName in class IlpAbstractGraphHandlerattributes - The attribute group set in the created representation
objects.IlpAbstractGraphHandler.findIlpClass(Class, IlpAttributeGroup)
protected 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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||