public class CustomAMCrewActivityRenderer
extends ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
Modifier and Type | Class and Description |
---|---|
class |
CustomAMCrewActivityRenderer.DeleteWorkActionListener |
class |
CustomAMCrewActivityRenderer.NewWorkActionListener |
class |
CustomAMCrewActivityRenderer.Split2ActionListener |
class |
CustomAMCrewActivityRenderer.SplitActionListener |
class |
CustomAMCrewActivityRenderer.SplitShiftActionListener |
Constructor and Description |
---|
CustomAMCrewActivityRenderer()
Constructor
|
CustomAMCrewActivityRenderer(boolean addComplianceBars) |
CustomAMCrewActivityRenderer(ilog.views.gantt.IlvActivity activity)
Constructor meant to create segments which are type IlvBasicActivityBar based on their own start and end time properties
|
Modifier and Type | Method and Description |
---|---|
MXActivity |
createNewAssignment(SortGanttModel model,
ilog.views.gantt.IlvActivity activity,
ilog.views.gantt.IlvReservation reservation,
long start,
long end,
int selectedseg,
boolean activityIsParent) |
ilog.views.IlvSelection |
createSelection(ilog.views.gantt.graphic.IlvActivityGraphic g,
java.lang.String[] properties)
Need this in order to delegate the selection creation to the split activities sub renderers.
|
void |
draw(java.awt.Graphics arg0,
ilog.views.gantt.graphic.IlvActivityGraphic arg1,
ilog.views.IlvTransformer arg2) |
javax.swing.JPopupMenu |
getPopupMenu(ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.IlvPoint p,
ilog.views.IlvTransformer arg2,
ilog.views.IlvManagerView view,
ilog.views.swing.IlvPopupMenuManager arg4)
Constructs the popup menu item for split/new/delete assignment
|
void |
reattachmodel()
reattach the model after spit/add/delete assignment
|
public CustomAMCrewActivityRenderer()
public CustomAMCrewActivityRenderer(boolean addComplianceBars)
public CustomAMCrewActivityRenderer(ilog.views.gantt.IlvActivity activity)
IlvActivity
- public ilog.views.IlvSelection createSelection(ilog.views.gantt.graphic.IlvActivityGraphic g, java.lang.String[] properties)
createSelection
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
IlvActivityCompositeRenderer.createSelection(ilog.views.gantt.graphic.IlvActivityGraphic, java.lang.String[])
public void draw(java.awt.Graphics arg0, ilog.views.gantt.graphic.IlvActivityGraphic arg1, ilog.views.IlvTransformer arg2)
draw
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
draw
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public void reattachmodel()
public javax.swing.JPopupMenu getPopupMenu(ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.IlvPoint p, ilog.views.IlvTransformer arg2, ilog.views.IlvManagerView view, ilog.views.swing.IlvPopupMenuManager arg4)
getPopupMenu
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
getPopupMenu
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public MXActivity createNewAssignment(SortGanttModel model, ilog.views.gantt.IlvActivity activity, ilog.views.gantt.IlvReservation reservation, long start, long end, int selectedseg, boolean activityIsParent)