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, setViewIdpublic static final java.lang.String NAME_COLUMN
public void setResourceViewContext(ResourceViewContext context)
setResourceViewContext in interface ResourceViewsetResourceViewContext in class AbstractResourceViewpublic java.awt.Component initializeView()
initializeView in interface ResourceViewinitializeView in class AbstractResourceViewpublic void attachModel(AppletGanttModel model)
attachModel in interface ResourceViewattachModel in class AbstractResourceViewpublic 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.ManagerContentChangedListenerpublic 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.ManagerSelectionListenerevent - 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 ResourceViewprint in class AbstractResourceViewpublic void printSetup()
printSetup in interface ResourceViewprintSetup in class AbstractResourceViewpublic void printPreview()
printPreview in interface ResourceViewprintPreview in class AbstractResourceViewpublic static void initPrintingController(ilog.views.gantt.IlvScheduleChart chart)
public void activate()
activate in interface ResourceViewactivate in class AbstractResourceViewpublic void deactivate()
deactivate in interface ResourceViewdeactivate in class AbstractResourceViewpublic void applyActivityQbeFilter(java.util.Map<java.lang.String,java.lang.String> qbeActivityFilter)
applyActivityQbeFilter in interface ResourceViewapplyActivityQbeFilter in class AbstractResourceViewpublic void applyActivityQbeFilterX(java.util.Map<java.lang.String,java.lang.String> qbeActivityFilter)
public void applyActivityFilter(java.lang.String regEx)
applyActivityFilter in interface ResourceViewapplyActivityFilter in class AbstractResourceViewpublic void applyActivityFilterX(java.lang.String regEx)
public void attachGanttModelToViewComponents()
attachGanttModelToViewComponents in interface ResourceViewattachGanttModelToViewComponents in class AbstractResourceViewpublic void RefreshModelBasedonFilter()
public void detachGanttModelFromViewComponents()
detachGanttModelFromViewComponents in interface ResourceViewdetachGanttModelFromViewComponents in class AbstractResourceViewpublic ilog.views.gantt.IlvScheduleChart getResourceChart()
HasResourceChartIlvScheduleChart instance for the viewgetResourceChart in interface HasResourceChartpublic java.lang.String getChartId()
HasResourceChartgetChartId in interface HasResourceChartpublic java.lang.Object getDividerComponent()
AbstractResourceViewgetDividerComponent in class AbstractResourceView