Class 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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void enablePerspective​(String perspectiveId, boolean enabled)  
      org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective getActivePerspective()  
      static PerspectiveManager getInstance()  
      boolean isLoaded()  
      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 showPerspectiveWithHighestPriority()
      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
    • Method Detail

      • 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
      • 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)