ilog.cpl.equipment.css
Interface IlpEquipmentAdapterCustomization

All Superinterfaces:
IlpAdapterCustomization, IlpHierarchyAdapterCustomization

public interface IlpEquipmentAdapterCustomization
extends IlpHierarchyAdapterCustomization

This interface externalizes the properties of an IlpEquipmentAdapter which can be configured using cascading style sheets.

An IlpEquipmentAdapter can be configured like this in a CSS file:

 Adapter {
   expansionStrategyFactory: @+MyExpansionStrategyFactory;
   showOrigin:  true;
   origin[0]:   "ObjectID_A";
   origin[1]:   "ObjectID_B";
   origin[2]:   "ObjectID_C";
      :
      :
   acceptedClasses[0]: ilog.tgo.model.IltShelf;
   acceptedClasses[1]: ilog.tgo.model.IltPort;
 }

 Subobject#MyExpansionStrategyFactory {
   class: custom.ExpansionStrategyFactory;
   adapter: @adapter;
 }
 

Since:
JViews 8.0

Method Summary
 IlpEquipmentLinkFactory getLinkFactory()
          Returns the equipment link factory.
 IlpEquipmentNodeFactory getNodeFactory()
          Returns the equipment node factory.
 
Methods inherited from interface ilog.cpl.datasource.css.IlpHierarchyAdapterCustomization
getAcceptedClasses, getExpansionStrategyFactory, getOrigin, isShowOrigin
 
Methods inherited from interface ilog.cpl.datasource.css.IlpAdapterCustomization
getExcludedClasses, getFilter
 

Method Detail

getLinkFactory

IlpEquipmentLinkFactory getLinkFactory()
Returns the equipment link factory.

Note: This property can be customized using a CSS, as illustrated below:

 Adapter {
   linkFactory: @+factoryDef;
 }
 Subobject#factoryDef {
   class: ...;
 }
 


getNodeFactory

IlpEquipmentNodeFactory getNodeFactory()
Returns the equipment node factory.

Note: This property can be customized using CSS.

 Adapter {
   nodeFactory: @+factoryDef;
 }
 Subobject#factoryDef {
   class: ...;
 }
 



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