Class PerspectiveManager

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
org.pentaho.mantle.client.ui.PerspectiveManager
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class PerspectiveManager extends com.google.gwt.user.client.ui.SimplePanel
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

    com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

    com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enablePerspective(String perspectiveId, boolean enabled)
     
    org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective
     
    com.google.gwt.user.client.ui.MenuItem
     
     
    com.google.gwt.dom.client.Element
    getSchedulesPerspectiveElement(com.google.gwt.dom.client.Element containerElement)
     
    void
     
    boolean
     
    void
    setActivePerspective(org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective activePerspective)
     
    void
    setBrowserMenuItem(org.pentaho.gwt.widgets.client.menuitem.PentahoMenuItem menuItem)
     
    void
    setLoaded(boolean loaded)
     
    boolean
    setPerspective(String perspectiveId)
     
    protected void
    setPluginPerspectives(ArrayList<org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective> perspectives)
     
    void
    setSchedulesMenuItem(org.pentaho.gwt.widgets.client.menuitem.PentahoMenuItem menuItem)
     
    void
    Show the perspective defined as with the highest priority

    Methods inherited from class com.google.gwt.user.client.ui.SimplePanel

    add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget

    Methods inherited from class com.google.gwt.user.client.ui.Panel

    add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove

    Methods inherited from class com.google.gwt.user.client.ui.Widget

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents

    Methods inherited from class com.google.gwt.user.client.ui.UIObject

    addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

  • Method Details

    • getInstance

      public static PerspectiveManager getInstance()
    • setPluginPerspectives

      protected void setPluginPerspectives(ArrayList<org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective> perspectives)
    • enablePerspective

      public void enablePerspective(String perspectiveId, boolean enabled)
    • setPerspective

      public boolean setPerspective(String perspectiveId)
    • showPerspectiveWithHighestPriority

      public void showPerspectiveWithHighestPriority()
      Show the perspective defined as with the highest priority
    • getSchedulesPerspectiveElement

      public com.google.gwt.dom.client.Element getSchedulesPerspectiveElement(com.google.gwt.dom.client.Element containerElement)
    • getActivePerspective

      public org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective getActivePerspective()
    • setActivePerspective

      public void setActivePerspective(org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective activePerspective)
    • setBrowserMenuItem

      public void setBrowserMenuItem(org.pentaho.gwt.widgets.client.menuitem.PentahoMenuItem menuItem)
    • setSchedulesMenuItem

      public void setSchedulesMenuItem(org.pentaho.gwt.widgets.client.menuitem.PentahoMenuItem menuItem)
    • isLoaded

      public boolean isLoaded()
    • setLoaded

      public void setLoaded(boolean loaded)
    • getBurgerBarPerspectiveMenuItem

      public com.google.gwt.user.client.ui.MenuItem getBurgerBarPerspectiveMenuItem()
    • hidePopup

      public void hidePopup()