|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ilog.server.jsds.adapter.IlsGanttDS2IlvHierarchyChartStrategy
Base class for gantt adapter strategies, enhanced listeners for gantt adapters.
Strategies are notified of main events occuring on the attached adapter: creation, deletion, updates from the corresponding data source, events dispatching in the adapter, and setting of the data model and of the graphic component.
Events from the data source are simply notified to the strategy and are
generally used to manage user defined properties.
Events dispatching and setting of the data model and of the graphic component
are cascaded through all strategies to allow events filtering or data model
wrapping.
IlsGanttDS2IlvHierarchyChartAdapter| Field Summary | |
IlsGanttDS2IlvHierarchyChartAdapter |
_adapter
|
| Constructor Summary | |
IlsGanttDS2IlvHierarchyChartStrategy(IlsGanttDS2IlvHierarchyChartAdapter adapter)
Defines an empty strategy for IlsSDMDS2IlvSDMViewAdapter
adapters. |
|
| Method Summary | |
void |
internalActivityAdded(ActivityEvent e)
Called after an activity added event dispatching in the adapter. |
void |
internalActivityRemoved(ActivityEvent e)
Called after an activity removed event dispatching in the adapter. |
void |
internalActivityUpdated(ActivityEvent e)
Called after an activity updated event dispatching in the adapter. |
void |
internalConstraintAdded(ConstraintEvent e)
Called after a constraint added event dispatching in the adapter. |
void |
internalConstraintRemoved(ConstraintEvent e)
Called after a constraint removed event dispatching in the adapter. |
void |
internalConstraintUpdated(ConstraintEvent e)
Called after a constraint updated event dispatching in the adapter. |
void |
internalDataSourceChange(DataSourceEvent e)
Called after data source change notification in the adapter. |
void |
internalDataSourceConnected(DSConnectionEvent e)
Called after the data source connection event. |
void |
internalDataSourceDisconnected(DSConnectionEvent e)
Called after the data source disconnection event. |
void |
internalReservationAdded(ReservationEvent e)
Called after a reservation added event dispatching in the adapter. |
void |
internalReservationRemoved(ReservationEvent e)
Called after a reservation removed event dispatching in the adapter. |
void |
internalReservationUpdated(ReservationEvent e)
Called after a reservation updated event dispatching in the adapter. |
void |
internalResourceAdded(ResourceEvent e)
Called after a resource added event dispatching in the adapter. |
void |
internalResourceRemoved(ResourceEvent e)
Called after a resource removed event dispatching in the adapter. |
void |
internalResourceUpdated(ResourceEvent e)
Called after a resource updated event dispatching in the adapter. |
void |
internalRootActivitySet(ActivityEvent e)
Called after root activity set event dispatching in the adapter. |
void |
internalRootResourceSet(ResourceEvent e)
Called after root activity set event dispatching in the adapter. |
java.awt.Component |
plugComponent(java.awt.Component component)
Called before graphic component is connected to the adapter. |
java.util.ArrayList |
postDispatchBatchedEvents(java.util.ArrayList events)
Called before postdispatch events in the adapter. |
java.util.ArrayList |
preDispatchBatchedEvents(java.util.ArrayList events)
Called before predispatch events in the adapter. |
ilog.views.gantt.IlvGanttModel |
setModel(ilog.views.gantt.IlvGanttModel gm)
Called before data model setting in the adapter. |
java.awt.Component |
unplugComponent(java.awt.Component component)
Called before graphic component is disconnected from the adapter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public IlsGanttDS2IlvHierarchyChartAdapter _adapter
| Constructor Detail |
public IlsGanttDS2IlvHierarchyChartStrategy(IlsGanttDS2IlvHierarchyChartAdapter adapter)
IlsSDMDS2IlvSDMViewAdapter
adapters.adapter - the adapter managing this strategy.| Method Detail |
public java.util.ArrayList preDispatchBatchedEvents(java.util.ArrayList events)
events unmodified.public java.util.ArrayList postDispatchBatchedEvents(java.util.ArrayList events)
events unmodified.public void internalDataSourceChange(DataSourceEvent e)
e - the data source event.IlsGanttDS2IlvHierarchyChartAdapter.internalDataSourceChange(DataSourceEvent)public ilog.views.gantt.IlvGanttModel setModel(ilog.views.gantt.IlvGanttModel gm)
gm - the gantt data model.gm unmodified.IlAbstractGanttModelAdapter.setModel(IlvGanttModel)public void internalRootActivitySet(ActivityEvent e)
e - the activity event.IlsGanttDS2IlvHierarchyChartAdapter.internalRootActivitySet(ActivityEvent)public void internalActivityAdded(ActivityEvent e)
e - the activity event.IlsGanttDS2IlvHierarchyChartAdapter.internalActivityAdded(ActivityEvent)public void internalActivityUpdated(ActivityEvent e)
e - the activity event.IlsGanttDS2IlvHierarchyChartAdapter.internalActivityUpdated(ActivityEvent)public void internalActivityRemoved(ActivityEvent e)
e - the activity event.IlsGanttDS2IlvHierarchyChartAdapter.internalActivityRemoved(ActivityEvent)public void internalRootResourceSet(ResourceEvent e)
e - the resource event.IlsGanttDS2IlvHierarchyChartAdapter.internalRootResourceSet(ResourceEvent)public void internalResourceAdded(ResourceEvent e)
e - the resource event.IlsGanttDS2IlvHierarchyChartAdapter.internalResourceAdded(ResourceEvent)public void internalResourceUpdated(ResourceEvent e)
e - the resource event.IlsGanttDS2IlvHierarchyChartAdapter.internalResourceUpdated(ResourceEvent)public void internalResourceRemoved(ResourceEvent e)
e - the resource event.IlsGanttDS2IlvHierarchyChartAdapter.internalResourceRemoved(ResourceEvent)public void internalConstraintAdded(ConstraintEvent e)
e - the constraint event.IlsGanttDS2IlvHierarchyChartAdapter.internalConstraintAdded(ConstraintEvent)public void internalConstraintUpdated(ConstraintEvent e)
e - the constraint event.IlsGanttDS2IlvHierarchyChartAdapter.internalConstraintUpdated(ConstraintEvent)public void internalConstraintRemoved(ConstraintEvent e)
e - the constraint event.IlsGanttDS2IlvHierarchyChartAdapter.internalConstraintRemoved(ConstraintEvent)public void internalReservationAdded(ReservationEvent e)
e - the reservation event.IlsGanttDS2IlvHierarchyChartAdapter.internalReservationAdded(ReservationEvent)public void internalReservationUpdated(ReservationEvent e)
e - the reservation event.IlsGanttDS2IlvHierarchyChartAdapter.internalReservationUpdated(ReservationEvent)public void internalReservationRemoved(ReservationEvent e)
e - the reservation event.IlsGanttDS2IlvHierarchyChartAdapter.internalReservationRemoved(ReservationEvent)public void internalDataSourceConnected(DSConnectionEvent e)
e - the data source connection event.IlsGanttDS2IlvHierarchyChartAdapter.dataSourceConnected(DSConnectionEvent)public void internalDataSourceDisconnected(DSConnectionEvent e)
e - the data source disconnection event.IlsGanttDS2IlvHierarchyChartAdapter.dataSourceDisconnected(DSConnectionEvent)public java.awt.Component plugComponent(java.awt.Component component)
component - generally a JTable instance.component unmodified.IlsGanttDS2IlvHierarchyChartAdapter.plugComponent(Component)public java.awt.Component unplugComponent(java.awt.Component component)
component - generally a IlvHierarchyChart instance.component unmodified.IlsGanttDS2IlvHierarchyChartAdapter.unplugComponent(Component)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||