public class CustomActivityRenderer
extends ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
Modifier and Type | Class and Description |
---|---|
class |
CustomActivityRenderer.DeleteWorkActionListener |
class |
CustomActivityRenderer.EditApptRemarksActionListener
This listener will send event to maximo to open a dialog to add worklog.
|
class |
CustomActivityRenderer.LockActionListener |
class |
CustomActivityRenderer.MergeActionListener |
class |
CustomActivityRenderer.MyActivityBar
Customized activity bar for customization on activity bars
|
class |
CustomActivityRenderer.NewWorkActionListener |
class |
CustomActivityRenderer.ShowCraftSkillActionListener |
class |
CustomActivityRenderer.Split3ActionListener |
class |
CustomActivityRenderer.SplitActionListener |
class |
CustomActivityRenderer.SplitShiftActionListener |
class |
CustomActivityRenderer.UnlockActionListener |
Constructor and Description |
---|
CustomActivityRenderer()
Constructor
|
CustomActivityRenderer(boolean addComplianceBars)
Construct the activity bar with or without the compliance bars.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.IlvPoint p,
ilog.views.IlvPoint tp,
ilog.views.IlvTransformer t) |
MXActivity |
createNewAssignment(SortGanttModel model,
ilog.views.gantt.IlvActivity activity,
ilog.views.gantt.IlvReservation reservation,
long start,
long end) |
ilog.views.IlvSelection |
createSelection(ilog.views.gantt.graphic.IlvActivityGraphic ag,
java.lang.String[] properties)
Create the selection points to be the center of the activity bar.
|
void |
draw(java.awt.Graphics g,
ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.IlvTransformer t) |
ilog.views.IlvRect |
getBounds(ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.IlvTransformer t) |
long[] |
getModvailShiftBreakPoints(MXResource resource,
long start,
long end,
long[] shiftdatebreak,
int totalbreaknum,
boolean firstbreakworking) |
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
|
long[] |
getShiftBreakPoints(MXResource resource,
long start,
long end) |
java.lang.String |
getToolTipText(ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.IlvPoint p,
ilog.views.IlvTransformer t) |
boolean |
isComplianceEnabled()
Returns if scheduler compliance is enabled or not.
|
boolean |
isRedrawNeeded(ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.gantt.event.ActivityEvent ae) |
boolean |
isRelayoutNeeded(ilog.views.gantt.graphic.IlvActivityGraphic ag,
ilog.views.gantt.event.ActivityEvent ae) |
ilog.views.IlvSelection |
makeSelection(ilog.views.gantt.graphic.IlvActivityGraphic ag) |
void |
reattachmodel()
reattach the model after spit/add/delete assignment
|
void |
refreshScreen(SortGanttModel model) |
public CustomActivityRenderer()
public CustomActivityRenderer(boolean addComplianceBars)
addComplianceBars
- public boolean isComplianceEnabled()
public MXActivity createNewAssignment(SortGanttModel model, ilog.views.gantt.IlvActivity activity, ilog.views.gantt.IlvReservation reservation, long start, long end)
public void refreshScreen(SortGanttModel model)
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 long[] getShiftBreakPoints(MXResource resource, long start, long end)
public long[] getModvailShiftBreakPoints(MXResource resource, long start, long end, long[] shiftdatebreak, int totalbreaknum, boolean firstbreakworking)
public boolean contains(ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.IlvPoint p, ilog.views.IlvPoint tp, ilog.views.IlvTransformer t)
contains
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
contains
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public void draw(java.awt.Graphics g, ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.IlvTransformer t)
draw
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
draw
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public ilog.views.IlvRect getBounds(ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.IlvTransformer t)
getBounds
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
getBounds
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public java.lang.String getToolTipText(ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.IlvPoint p, ilog.views.IlvTransformer t)
getToolTipText
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
getToolTipText
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public boolean isRedrawNeeded(ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.gantt.event.ActivityEvent ae)
isRedrawNeeded
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
isRedrawNeeded
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public boolean isRelayoutNeeded(ilog.views.gantt.graphic.IlvActivityGraphic ag, ilog.views.gantt.event.ActivityEvent ae)
isRelayoutNeeded
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
isRelayoutNeeded
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public ilog.views.IlvSelection makeSelection(ilog.views.gantt.graphic.IlvActivityGraphic ag)
makeSelection
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
makeSelection
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
public ilog.views.IlvSelection createSelection(ilog.views.gantt.graphic.IlvActivityGraphic ag, java.lang.String[] properties)
createSelection
in class ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer