Package org.pentaho.mantle.client.ui
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
Modifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionvoid
enablePerspective
(String perspectiveId, boolean enabled) org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective
com.google.gwt.user.client.ui.MenuItem
static PerspectiveManager
com.google.gwt.dom.client.Element
getSchedulesPerspectiveElement
(com.google.gwt.dom.client.Element containerElement) void
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
Show the perspective defined as with the highest priorityMethods 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
-
ADMIN_PERSPECTIVE
- See Also:
-
SCHEDULES_PERSPECTIVE
- See Also:
-
OPENED_PERSPECTIVE
- See Also:
-
HOME_PERSPECTIVE
- See Also:
-
BROWSER_PERSPECTIVE
- See Also:
-
PROPERTIES_EXTENSION
- See Also:
-
SEPARATOR
- See Also:
-
CONTENT_TYPE
- See Also:
-
APPLICATION_JSON
- See Also:
-
IF_MODIFIED_SINCE
- See Also:
-
IF_MODIFIED_SINCE_DATE
- See Also:
-
-
Method Details
-
getInstance
-
setPluginPerspectives
protected void setPluginPerspectives(ArrayList<org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective> perspectives) -
enablePerspective
-
setPerspective
-
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) -
isLoaded
public boolean isLoaded() -
setLoaded
public void setLoaded(boolean loaded) -
getBurgerBarPerspectiveMenuItem
public com.google.gwt.user.client.ui.MenuItem getBurgerBarPerspectiveMenuItem() -
hidePopup
public void hidePopup()
-