Package org.pentaho.mantle.client.ui.xul
Class MantleController
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.impl.AbstractXulEventHandler
org.pentaho.mantle.client.ui.xul.MantleController
- All Implemented Interfaces:
org.pentaho.ui.xul.impl.XulEventHandler
,org.pentaho.ui.xul.XulEventSource
public class MantleController
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
-
Field Summary
Fields inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
document, name, xulDomContainer
Fields inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
changeSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateWaitingSecurityPanel
(boolean activate) void
buildFavoritesAndRecent
(boolean force) void
void
boolean
boolean
void
void
enableUsersRolesTreeItem
(boolean enabled) void
executeCallback
(String jsScript) void
void
executeMantleFunc
(String funct) com.google.gwt.user.client.ui.MenuBar
getModel()
getName()
void
init()
Called when the Xul Dom is ready, grab all Xul references here.boolean
boolean
boolean
boolean
void
void
loadAdminContent
(String panelId, String url) void
void
loadOverlay
(String id) void
void
void
void
void
void
void
void
processSettings
(com.google.gwt.core.client.JsArray<JsSetting> settings) void
void
void
registerSysAdminPanel
(JsSysAdminPanel sysAdminPanel) void
removeOverlay
(String id) void
void
void
void
selectAdminCatTreeTreeItem
(String treeLabel) void
setContentEditEnabled
(boolean enable) void
setContentEditSelected
(boolean selected) void
setEditContentSelected
(boolean selected) void
setMenuBarEnabled
(String id, boolean enabled) void
setMenuItemEnabled
(String id, boolean enabled) void
setModel
(MantleModel model) void
setSaveAsEnabled
(boolean flag) void
setSaveEnabled
(boolean flag) void
setToolbarButtonEnabled
(String id, boolean enabled) void
setToolBarButtonEnabled
(String id, boolean enabled) void
setupNativeHooks
(MantleController controller) void
void
void
void
updatePassword
(String user, String newPassword, String oldPassword, ServiceCallback callback) void
Methods inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
MantleController
-
-
Method Details
-
init
public void init()Called when the Xul Dom is ready, grab all Xul references here. -
processSettings
-
buildFavoritesAndRecent
public void buildFavoritesAndRecent(boolean force) - Parameters:
force
- Force the reload of user settings from server rather than use cache.
-
setupNativeHooks
-
enableUsersRolesTreeItem
public void enableUsersRolesTreeItem(boolean enabled) -
selectAdminCatTreeTreeItem
-
registerSysAdminPanel
-
activateWaitingSecurityPanel
public void activateWaitingSecurityPanel(boolean activate) -
isToolbarButtonEnabled
-
setToolbarButtonEnabled
-
doesToolbarButtonExist
-
setEditContentSelected
public void setEditContentSelected(boolean selected) -
openClicked
public void openClicked() -
newClicked
public void newClicked() -
getMainMenubarWidget
public com.google.gwt.user.client.ui.MenuBar getMainMenubarWidget() -
burgerMenuButtonClicked
public void burgerMenuButtonClicked() -
saveClicked
public void saveClicked() -
saveAsClicked
public void saveAsClicked() -
openChangePasswordDialog
public void openChangePasswordDialog() -
updatePassword
public void updatePassword(String user, String newPassword, String oldPassword, ServiceCallback callback) -
setSaveEnabled
public void setSaveEnabled(boolean flag) -
setSaveAsEnabled
public void setSaveAsEnabled(boolean flag) -
getName
- Specified by:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in classorg.pentaho.ui.xul.impl.AbstractXulEventHandler
-
executeCallback
-
executeMantleFunc
-
loadAdminContent
-
loadSettingsPanel
public void loadSettingsPanel() -
loadUserRolesAdminPanel
public void loadUserRolesAdminPanel() -
loadEmailAdminPanel
public void loadEmailAdminPanel() -
executeMantleCommand
-
openUrl
-
setContentEditEnabled
public void setContentEditEnabled(boolean enable) -
setContentEditSelected
public void setContentEditSelected(boolean selected) -
editContentClicked
public void editContentClicked() -
printClicked
public void printClicked() -
getModel
-
setModel
-
isMenuItemEnabled
-
setMenuItemEnabled
-
setMenuBarEnabled
-
setToolBarButtonEnabled
-
doesMenuItemExist
-
isSaveEnabled
public boolean isSaveEnabled() -
isSaveAsEnabled
public boolean isSaveAsEnabled() -
propertiesClicked
public void propertiesClicked() -
scheduleContentClicked
public void scheduleContentClicked() -
useDescriptionsForTooltipsClicked
public void useDescriptionsForTooltipsClicked() -
showHiddenFilesClicked
public void showHiddenFilesClicked() -
refreshContent
public void refreshContent() -
documentationClicked
public void documentationClicked() -
kettleStatusPageClicked
public void kettleStatusPageClicked() -
loadOverlay
-
removeOverlay
-