public class MapFacade
extends java.lang.Object
Constructor and Description |
---|
MapFacade(FWMActionsFacade actions) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
void |
clearRoutes() |
com.ibm.json.java.JSONObject |
convertActivityToAssignmentJson(MXActivity activity) |
com.ibm.json.java.JSONObject |
convertResourceToJson(MXResource activity) |
void |
drawCallback(java.lang.String json) |
void |
onRouteError(java.lang.String errorCode) |
void |
refreshRoutes(ilog.views.gantt.IlvGanttModel ganttModel) |
void |
updateRoutes(ilog.views.gantt.IlvTimeInterval visibleTimeInterval,
ilog.views.gantt.IlvGanttModel ganttModel,
com.ibm.json.java.JSONObject refreshOptions)
assembles json structure for all visible and selected routes on the map and passes it to the map
|
void |
updateUnassignedWOs(ilog.views.gantt.IlvTimeInterval visibleTimeInterval,
ilog.views.gantt.IlvGanttModel ganttModel,
com.ibm.json.java.JSONObject refreshOptions)
checks to see if the visible unassigned wo's changed, if so then update map with new date and time
|
public MapFacade(FWMActionsFacade actions)
public void onRouteError(java.lang.String errorCode)
public void drawCallback(java.lang.String json)
public com.ibm.json.java.JSONObject convertActivityToAssignmentJson(MXActivity activity)
public com.ibm.json.java.JSONObject convertResourceToJson(MXResource activity)
public void updateRoutes(ilog.views.gantt.IlvTimeInterval visibleTimeInterval, ilog.views.gantt.IlvGanttModel ganttModel, com.ibm.json.java.JSONObject refreshOptions)
visibleTimeInterval
- ganttModel
- refreshOptions
- public void clearCache()
public void clearRoutes()
public void refreshRoutes(ilog.views.gantt.IlvGanttModel ganttModel)
public void updateUnassignedWOs(ilog.views.gantt.IlvTimeInterval visibleTimeInterval, ilog.views.gantt.IlvGanttModel ganttModel, com.ibm.json.java.JSONObject refreshOptions)
visibleTimeInterval
- ganttModel
- refreshOptions
-