public class GanttAndResourceUsageView extends View implements ilog.views.gantt.event.SelectionListener, ilog.views.event.ManagerContentChangedListener, ilog.views.event.ManagerSelectionListener, ilog.views.gantt.event.ActivityGraphicInteractorListener
Modifier and Type | Class and Description |
---|---|
static class |
GanttAndResourceUsageView.ResourceViewDividerUpdater |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WORKORDER_ACTIVITY_OBJECTS
Work Order Activity Object Names
"WOACTIVITY, WOCHANGE, WORELEASE, WORKORDER"
|
Constructor and Description |
---|
GanttAndResourceUsageView(Viewer viewer,
java.lang.String iD,
java.lang.String name,
ilog.views.gantt.IlvTimeScrollController timeScrollController)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
activityGraphicUpdated(ilog.views.gantt.event.ActivityGraphicInteractorEvent event)
Handle graphic updated event when time indicators are dragged.
|
void |
applyActivityFilter(java.lang.String regEx) |
void |
applyActivityQbeFilter(java.util.HashMap qbeActivityFilter) |
void |
applyDividerLocation() |
void |
applyDividerLocation(ilog.views.gantt.IlvHierarchyChart chart) |
void |
applyDividerLocation(javax.swing.JSplitPane pane) |
void |
applyVisibleTime(ilog.views.gantt.IlvGanttModel model)
Sets visible duration based on the time interval
|
void |
attachGanttModelToViewComponents()
Attaches gantt model to view components
|
void |
contentsChanged(ilog.views.event.ManagerContentChangedEvent evt)
Sets the initial selectability of an activity graphic when it is first added to the Gantt sheet.
|
void |
createTimeIndicators(ilog.views.gantt.IlvActivity activity)
Creates time indicators for the activity that was just selected
if it has a earliest start and latest finish date.
|
void |
detachGanttModelFromViewComponents()
Detaches gantt model from view components
|
ilog.views.gantt.IlvGanttChart |
getGanttChart()
Returns the Resource Data chart.
|
ResourceViewContainer |
getResourceViewContainer()
Returns the Resource View Container
|
java.util.Map<java.lang.String,ResourceView> |
getResourceViews()
Returns resource view
|
javax.swing.JComponent |
getSecondaryComponent()
Returns seconday component
|
ilog.views.gantt.IlvTimeScrollController |
getTimeController()
Return the time scroller controller for this view
|
void |
initialize()
Overridden to get ISKDUIInfo and set viewer components
|
boolean |
isStylable()
Indicates whether this view is stylable or not.
|
void |
printPreviewResourceView()
Shows resource print preview
|
void |
printResourceView()
Prints resource view
|
void |
printSetupResourceView()
shows print setup
|
void |
reapplySortedModel()
Work Around for Issue 12-11015.
|
void |
selectionChanged(ilog.views.event.ManagerSelectionChangedEvent event)
Called when an activity is selected.
|
void |
selectionChanged(ilog.views.gantt.event.SelectionEvent event)
Listens for selection changes.
|
void |
setViewVisibilty()
Set visibility of the resource views.
|
void |
updateReadonlyActivityGraphic(ilog.views.gantt.graphic.IlvActivityGraphic ag)
Updates the editability of the specified activity graphic.
|
applyStyle, deSelectAll, getContextualAction, getDefaultTransformer, getID, getMainComponent, getName, getViewer, isRegisteredAction, performAction, registerAction, setAsCurrentView, setSelected, unregisterAction
public static final java.lang.String WORKORDER_ACTIVITY_OBJECTS
public GanttAndResourceUsageView(Viewer viewer, java.lang.String iD, java.lang.String name, ilog.views.gantt.IlvTimeScrollController timeScrollController)
viewer
- iD
- name
- timeScrollController
- public javax.swing.JComponent getSecondaryComponent()
getSecondaryComponent
in class View
public void initialize()
initialize
in class View
public void setViewVisibilty()
public void applyDividerLocation()
public void applyDividerLocation(ilog.views.gantt.IlvHierarchyChart chart)
public void applyDividerLocation(javax.swing.JSplitPane pane)
public void applyVisibleTime(ilog.views.gantt.IlvGanttModel model)
model
- public ilog.views.gantt.IlvGanttChart getGanttChart()
public boolean isStylable()
isStylable
in class View
true
.public void selectionChanged(ilog.views.gantt.event.SelectionEvent event)
selectionChanged
in interface ilog.views.gantt.event.SelectionListener
event
- The selection event.public void contentsChanged(ilog.views.event.ManagerContentChangedEvent evt)
contentsChanged
in interface ilog.views.event.ManagerContentChangedListener
public void updateReadonlyActivityGraphic(ilog.views.gantt.graphic.IlvActivityGraphic ag)
public void createTimeIndicators(ilog.views.gantt.IlvActivity activity)
activity
- IlvActivitypublic void selectionChanged(ilog.views.event.ManagerSelectionChangedEvent event)
selectionChanged
in interface ilog.views.event.ManagerSelectionListener
event
- ManagerSelectionChangedEventpublic void activityGraphicUpdated(ilog.views.gantt.event.ActivityGraphicInteractorEvent event)
activityGraphicUpdated
in interface ilog.views.gantt.event.ActivityGraphicInteractorListener
public java.util.Map<java.lang.String,ResourceView> getResourceViews()
public void printResourceView()
public void printPreviewResourceView()
public void printSetupResourceView()
public void attachGanttModelToViewComponents()
public void detachGanttModelFromViewComponents()
public void applyActivityQbeFilter(java.util.HashMap qbeActivityFilter)
public void applyActivityFilter(java.lang.String regEx)
public void reapplySortedModel()
public ilog.views.gantt.IlvTimeScrollController getTimeController()
public ResourceViewContainer getResourceViewContainer()