Package org.pentaho.mantle.client.ui.xul
Class MantleXul
- java.lang.Object
-
- org.pentaho.mantle.client.ui.xul.MantleXul
-
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,SolutionBrowserCloseEventHandler
,SolutionBrowserDeselectEventHandler
,SolutionBrowserOpenEventHandler
,SolutionBrowserSelectEventHandler
,org.pentaho.ui.xul.gwt.util.IXulLoaderCallback
public class MantleXul extends Object implements org.pentaho.ui.xul.gwt.util.IXulLoaderCallback, SolutionBrowserOpenEventHandler, SolutionBrowserCloseEventHandler, SolutionBrowserSelectEventHandler, SolutionBrowserDeselectEventHandler
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTIES_EXTENSION
static String
SEPARATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOverlays(ArrayList<org.pentaho.ui.xul.XulOverlay> overlays)
void
applyOverlay(String id)
void
applyOverlays(Set<String> overlayIds)
void
configureAdminCatTree()
void
customizeAdminStyle()
void
enableUsersRolesTreeItem(boolean enabled)
com.google.gwt.user.client.ui.DeckPanel
getAdminContentDeck()
com.google.gwt.user.client.ui.Widget
getAdminPerspective()
static MantleXul
getInstance()
com.google.gwt.user.client.ui.Widget
getMenubar()
ArrayList<org.pentaho.ui.xul.XulOverlay>
getOverlays()
com.google.gwt.user.client.ui.Widget
getToolbar()
boolean
isEditable()
void
onTabClosed(SolutionBrowserCloseEvent event)
void
onTabDeselected(SolutionBrowserDeselectEvent event)
void
onTabOpened(SolutionBrowserOpenEvent event)
void
onTabSelected(SolutionBrowserSelectEvent event)
void
overlayLoaded()
void
overlayRemoved()
void
removeOverlay(String id)
void
removeOverlays(Set<String> overlayIds)
void
selectAdminCatTreeTreeItem(String treeLabel)
void
setEditable(boolean editable)
void
xulLoaded(org.pentaho.ui.xul.gwt.GwtXulRunner runner)
Callback method for the MantleXulLoader.
-
-
-
Field Detail
-
PROPERTIES_EXTENSION
public static final String PROPERTIES_EXTENSION
- See Also:
- Constant Field Values
-
SEPARATOR
public static final String SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static MantleXul getInstance()
-
isEditable
public boolean isEditable()
-
setEditable
public void setEditable(boolean editable)
-
xulLoaded
public void xulLoaded(org.pentaho.ui.xul.gwt.GwtXulRunner runner)
Callback method for the MantleXulLoader. This is called when the Xul file has been processed.- Specified by:
xulLoaded
in interfaceorg.pentaho.ui.xul.gwt.util.IXulLoaderCallback
- Parameters:
runner
- GwtXulRunner instance ready for event handlers and initializing.
-
customizeAdminStyle
public void customizeAdminStyle()
-
configureAdminCatTree
public void configureAdminCatTree()
-
enableUsersRolesTreeItem
public void enableUsersRolesTreeItem(boolean enabled)
-
selectAdminCatTreeTreeItem
public void selectAdminCatTreeTreeItem(String treeLabel)
-
getAdminContentDeck
public com.google.gwt.user.client.ui.DeckPanel getAdminContentDeck()
-
getToolbar
public com.google.gwt.user.client.ui.Widget getToolbar()
-
getMenubar
public com.google.gwt.user.client.ui.Widget getMenubar()
-
getAdminPerspective
public com.google.gwt.user.client.ui.Widget getAdminPerspective()
-
overlayLoaded
public void overlayLoaded()
- Specified by:
overlayLoaded
in interfaceorg.pentaho.ui.xul.gwt.util.IXulLoaderCallback
-
addOverlays
public void addOverlays(ArrayList<org.pentaho.ui.xul.XulOverlay> overlays)
-
applyOverlay
public void applyOverlay(String id)
-
removeOverlay
public void removeOverlay(String id)
-
overlayRemoved
public void overlayRemoved()
- Specified by:
overlayRemoved
in interfaceorg.pentaho.ui.xul.gwt.util.IXulLoaderCallback
-
getOverlays
public ArrayList<org.pentaho.ui.xul.XulOverlay> getOverlays()
-
onTabOpened
public void onTabOpened(SolutionBrowserOpenEvent event)
- Specified by:
onTabOpened
in interfaceSolutionBrowserOpenEventHandler
-
onTabSelected
public void onTabSelected(SolutionBrowserSelectEvent event)
- Specified by:
onTabSelected
in interfaceSolutionBrowserSelectEventHandler
-
onTabClosed
public void onTabClosed(SolutionBrowserCloseEvent event)
- Specified by:
onTabClosed
in interfaceSolutionBrowserCloseEventHandler
-
onTabDeselected
public void onTabDeselected(SolutionBrowserDeselectEvent event)
- Specified by:
onTabDeselected
in interfaceSolutionBrowserDeselectEventHandler
-
-