Class ProjectGanttView

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, AjaxableComponent, Badgeable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable, ViewportPart.ViewportPartResizeListener, overit.geocallapp.wfm.ui.stato.UIStateChangeListener

public class ProjectGanttView extends GanttView<BOProjectActivity,BOProjectActivity> implements overit.geocallapp.wfm.ui.stato.UIStateChangeListener
See Also:
  • Field Details

  • Constructor Details

    • ProjectGanttView

      public ProjectGanttView()
  • Method Details

    • onOpen

      public void onOpen(Object o)
      Description copied from class: Container
      Method called when is executed the WindowManager.push(overit.geocall.basic.ui.Window, java.lang.Object) of the Window that contains the Container. It calls the onOpen(o) method of all the Container's childrens.
      If a page is opened through the process of a route, it is possible that the route was called with params to pass to the page.
      The route params could be passed specifying them like query string's param on the url, using commas or the '=' character, to separate the keys and the values. Valid syntaxs are: "&params=KEY1,VAL1,KEY2,VAL2" or "&params=KEY1=VAL1,KEY2=VAL2"
      In that case it is possible to retrieve those params via the WindowManager.getRouteParams() method that returns an HashGetter with the params passed as parameters.
      For example it's possible to retrieve and use the params in this way: HashGetter hg = getWM().getRouteParams();
      String val1 = hg.getString("key1",null);
      String val2 = hg.getString("key2",null);
      Overrides:
      onOpen in class GanttView<BOProjectActivity,BOProjectActivity>
      Parameters:
      o - Object received from the caller
    • buildTreeRenderer

      protected GanttTreeRenderer<BOProjectActivity,BOProjectActivity> buildTreeRenderer()
      Overrides:
      buildTreeRenderer in class GanttView<BOProjectActivity,BOProjectActivity>
    • getUIState

      public overit.geocallapp.wfm.ui.stato.StatoUI getUIState()
    • buildTimeLineRenderer

      protected GanttTimeLineRenderer<BOProjectActivity,BOProjectActivity> buildTimeLineRenderer()
      Overrides:
      buildTimeLineRenderer in class GanttView<BOProjectActivity,BOProjectActivity>
    • buildViewConfiguration

      protected void buildViewConfiguration()
      Overrides:
      buildViewConfiguration in class GanttView<BOProjectActivity,BOProjectActivity>
    • expandFirstLevel

      public void expandFirstLevel()
    • onStatoUICategoryChanged

      public void onStatoUICategoryChanged(overit.geocallapp.wfm.ui.stato.StatoUICategory category, HashGetter oldValue, HashGetter newValue)
      Description copied from interface: overit.geocallapp.wfm.ui.stato.UIStateChangeListener
      Invocato quando viene modificata la configurazione di una category.
      Specified by:
      onStatoUICategoryChanged in interface overit.geocallapp.wfm.ui.stato.UIStateChangeListener
      Parameters:
      category - the category
      oldValue - the old value
      newValue - the new value
    • onStatoUICategoryOptionChanged

      public void onStatoUICategoryOptionChanged(overit.geocallapp.wfm.ui.stato.StatoUICategory category, HashGetter opzione, boolean active)
      Description copied from interface: overit.geocallapp.wfm.ui.stato.UIStateChangeListener
      Invocato quando viene modificata una specifica opzione della categoria.
      Specified by:
      onStatoUICategoryOptionChanged in interface overit.geocallapp.wfm.ui.stato.UIStateChangeListener
      Parameters:
      category - the category
      opzione - the opzione
      active - the active
    • onStatoUIApplyPreset

      public void onStatoUIApplyPreset(overit.geocallapp.wfm.ui.stato.StatoUI statoUIMonitorAttivita)
      Description copied from interface: overit.geocallapp.wfm.ui.stato.UIStateChangeListener
      Invocato quando lo stato ui applica una configurazione salvata, che quindi provoca un potenziale cambiamento dei valori di tutte le category.
      Specified by:
      onStatoUIApplyPreset in interface overit.geocallapp.wfm.ui.stato.UIStateChangeListener
      Parameters:
      statoUIMonitorAttivita - the stato UI monitor attivita
    • setViewConfig

      public void setViewConfig(GanttViewConfiguration config)
      Overrides:
      setViewConfig in class GanttView<BOProjectActivity,BOProjectActivity>
    • getConfiguration

      protected ProjectGanttViewConfiguration getConfiguration()
    • updateTreeSize

      protected void updateTreeSize()
    • getHtml

      public org.apache.ecs.Element getHtml(EntitySet es)
      Description copied from class: Container
      Returns the html code of the Container
      Overrides:
      getHtml in class GanttView<BOProjectActivity,BOProjectActivity>
      Parameters:
      es - The EntitySet to which the element belong
      Returns:
      The html code of the Container
    • renderRow

      protected void renderRow(GanttRow<BOProjectActivity,BOProjectActivity> row, EntitySet es)
      Overrides:
      renderRow in class GanttView<BOProjectActivity,BOProjectActivity>