ilog.cpl.graph
Interface IlpGraphSelectionModel

All Superinterfaces:
IlpObjectSelectionModel, IlpRepresentationObjectSelectionModel
All Known Subinterfaces:
IlpEquipmentSelectionModel, IlpNetworkSelectionModel
All Known Implementing Classes:
IlpAbstractEquipmentSelectionModel, IlpAbstractGraphSelectionModel, IlpAbstractNetworkSelectionModel, IlpDefaultEquipmentSelectionModel, IlpDefaultNetworkSelectionModel

public interface IlpGraphSelectionModel
extends IlpRepresentationObjectSelectionModel, IlpObjectSelectionModel

This model gives access to and maintains the selected object in an IlpGraphView.

Note: This interface does not provide methods to add and/or remove selection listeners. Such methods are available as typed methods (like IlpNetworkSelectionModel.addNetworkSelectionListener and IlpEquipmentSelectionModel.removeEquipmentSelectionListener). This is to keep backward compatibility only.

Since:
JTGO 4.0

Method Summary
 IlpRepresentationObjectMapper getRepresentationObjectMapper()
          Returns the IlpRepresentationObjectMapper used to find the IlpRepresentationObject associated with an IlpObject.
 void setRepresentationObjectMapper(IlpRepresentationObjectMapper repObjMapper)
          Sets the IlpRepresentationObjectMapper that will be used to find the IlpRepresentationObject associated with an IlpObject.
 
Methods inherited from interface ilog.cpl.util.selection.IlpRepresentationObjectSelectionModel
addSelectionRepresentationObject, clearSelection, getSelectedRepresentationObject, getSelectedRepresentationObjects, isRepresentationObjectSelected, removeSelectionRepresentationObject, removeSelectionRepresentationObjects, setSelectedRepresentationObject, setSelectedRepresentationObjects
 
Methods inherited from interface ilog.cpl.util.selection.IlpObjectSelectionModel
addSelectionObject, clearSelection, getSelectedObject, getSelectedObjects, isObjectSelected, removeSelectionObject, setSelectedObject, setSelectedObjects
 

Method Detail

getRepresentationObjectMapper

IlpRepresentationObjectMapper getRepresentationObjectMapper()
Returns the IlpRepresentationObjectMapper used to find the IlpRepresentationObject associated with an IlpObject.

Returns:
The representation object mapper used. It can be null.

setRepresentationObjectMapper

void setRepresentationObjectMapper(IlpRepresentationObjectMapper repObjMapper)
Sets the IlpRepresentationObjectMapper that will be used to find the IlpRepresentationObject associated with an IlpObject.

Parameters:
repObjMapper - The representation object mapper to be used. If this parameter is null, the IlpObject selection API has no effect.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.