public class ResourceScheduleView extends AbstractResourceView implements ilog.views.event.ManagerContentChangedListener, ilog.views.event.ManagerSelectionListener, HasResourceChart, LazyResourceView.IsLazy
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME_COLUMN |
ganttUpdater
Constructor and Description |
---|
ResourceScheduleView() |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
static void |
addCustomerColumnsForResource(ilog.views.gantt.IlvScheduleChart chart)
A utility method that adds the Custom columns to the the given table
|
void |
addLayoutMenu(javax.swing.JPopupMenu popupmenu)
Creates the layout menu.
|
void |
applyActivityFilter(java.lang.String regEx) |
void |
applyActivityFilterX(java.lang.String regEx) |
void |
applyActivityQbeFilter(java.util.Map<java.lang.String,java.lang.String> qbeActivityFilter) |
void |
applyActivityQbeFilterX(java.util.Map<java.lang.String,java.lang.String> qbeActivityFilter) |
void |
attachGanttModelToViewComponents() |
void |
attachModel(AppletGanttModel model)
Whenever a model is changed, called to update the view content.
|
void |
contentsChanged(ilog.views.event.ManagerContentChangedEvent evt)
Sets the initial selectability of an reservation graphic when it is first added to the Gantt sheet.
|
MXActivity |
createNewAssignment(SortGanttModel model,
ilog.views.gantt.IlvActivity activity,
ilog.views.gantt.IlvActivity parentActivity,
long start,
long end) |
void |
deactivate() |
void |
detachGanttModelFromViewComponents() |
ilog.views.gantt.IlvScheduleChart |
getChart()
Returns the Resource Data chart.
|
java.lang.String |
getChartId()
Return a unique id for the chart
|
java.lang.Object |
getDividerComponent()
If the resource view exposes a Divider Component, ie, a JSplitPane or IlvHierarchyChart, then the
AbstractView class can auto-wire the events to listen for changes in the divider and have those
changes dispatched to the GanttViewUpdater.
|
ilog.views.gantt.IlvScheduleChart |
getResourceChart()
Return the current
IlvScheduleChart instance for the view |
ilog.views.gantt.IlvScheduleChart |
getScheduleChart() |
java.awt.Component |
initializeView() |
static void |
initPrintingController(ilog.views.gantt.IlvScheduleChart chart) |
boolean |
isStylable()
Indicates whether this view is stylable or not.
|
void |
print() |
void |
printPreview() |
void |
printSetup() |
void |
ReAssignAssignment(SortGanttModel model,
ilog.views.gantt.IlvActivity activity) |
void |
reattachmodel()
reattach the model after spit/add/delete assignment
|
void |
RefreshModelBasedonFilter() |
void |
selectionChanged(ilog.views.event.ManagerSelectionChangedEvent event)
Called when an activity is selected.
|
void |
setResourceViewContext(ResourceViewContext context) |
void |
updateReadonlyActivityGraphic(ilog.views.gantt.graphic.IlvReservationGraphic ag)
Updates the editability of the specified reservation graphic.
|
getViewId, isActive, setDividerLocation, setViewId
public static final java.lang.String NAME_COLUMN
public void setResourceViewContext(ResourceViewContext context)
setResourceViewContext
in interface ResourceView
setResourceViewContext
in class AbstractResourceView
public java.awt.Component initializeView()
initializeView
in interface ResourceView
initializeView
in class AbstractResourceView
public void attachModel(AppletGanttModel model)
attachModel
in interface ResourceView
attachModel
in class AbstractResourceView
public ilog.views.gantt.IlvScheduleChart getScheduleChart()
public static void addCustomerColumnsForResource(ilog.views.gantt.IlvScheduleChart chart)
public void contentsChanged(ilog.views.event.ManagerContentChangedEvent evt)
contentsChanged
in interface ilog.views.event.ManagerContentChangedListener
public ilog.views.gantt.IlvScheduleChart getChart()
public boolean isStylable()
true
.public void updateReadonlyActivityGraphic(ilog.views.gantt.graphic.IlvReservationGraphic ag)
public void selectionChanged(ilog.views.event.ManagerSelectionChangedEvent event)
selectionChanged
in interface ilog.views.event.ManagerSelectionListener
event
- ManagerSelectionChangedEventpublic MXActivity createNewAssignment(SortGanttModel model, ilog.views.gantt.IlvActivity activity, ilog.views.gantt.IlvActivity parentActivity, long start, long end)
public void ReAssignAssignment(SortGanttModel model, ilog.views.gantt.IlvActivity activity)
public void reattachmodel()
public void addLayoutMenu(javax.swing.JPopupMenu popupmenu)
public void print()
print
in interface ResourceView
print
in class AbstractResourceView
public void printSetup()
printSetup
in interface ResourceView
printSetup
in class AbstractResourceView
public void printPreview()
printPreview
in interface ResourceView
printPreview
in class AbstractResourceView
public static void initPrintingController(ilog.views.gantt.IlvScheduleChart chart)
public void activate()
activate
in interface ResourceView
activate
in class AbstractResourceView
public void deactivate()
deactivate
in interface ResourceView
deactivate
in class AbstractResourceView
public void applyActivityQbeFilter(java.util.Map<java.lang.String,java.lang.String> qbeActivityFilter)
applyActivityQbeFilter
in interface ResourceView
applyActivityQbeFilter
in class AbstractResourceView
public void applyActivityQbeFilterX(java.util.Map<java.lang.String,java.lang.String> qbeActivityFilter)
public void applyActivityFilter(java.lang.String regEx)
applyActivityFilter
in interface ResourceView
applyActivityFilter
in class AbstractResourceView
public void applyActivityFilterX(java.lang.String regEx)
public void attachGanttModelToViewComponents()
attachGanttModelToViewComponents
in interface ResourceView
attachGanttModelToViewComponents
in class AbstractResourceView
public void RefreshModelBasedonFilter()
public void detachGanttModelFromViewComponents()
detachGanttModelFromViewComponents
in interface ResourceView
detachGanttModelFromViewComponents
in class AbstractResourceView
public ilog.views.gantt.IlvScheduleChart getResourceChart()
HasResourceChart
IlvScheduleChart
instance for the viewgetResourceChart
in interface HasResourceChart
public java.lang.String getChartId()
HasResourceChart
getChartId
in interface HasResourceChart
public java.lang.Object getDividerComponent()
AbstractResourceView
getDividerComponent
in class AbstractResourceView