|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.gwt.ui.client.SmartClient
public class SmartClient
This class is there to fix any problem found in smartgwt like unexposed JS API or real bugs. Ideally this class should not exist.
See also NuxeoDataSource
.
Constructor Summary | |
---|---|
SmartClient()
|
Method Summary | |
---|---|
static void |
addSectionItem(com.smartgwt.client.widgets.layout.SectionStack stack,
java.lang.String id,
com.smartgwt.client.widgets.Canvas widget)
|
static com.smartgwt.client.widgets.tree.TreeNode |
findNodeById(com.smartgwt.client.widgets.tree.TreeGrid tree,
java.lang.String id)
Tree is not yet exposing findNodeById method. |
static com.smartgwt.client.widgets.tree.TreeNode |
findNodeById(com.smartgwt.client.widgets.tree.Tree tree,
java.lang.String id)
|
static void |
fixCursorTrackerPath()
The cursor tracker path is not correctly initialized by ISC - because of the JS load order which is first loading RPCManager class and then the loadSkin JS. |
static int |
getSectionsCount(com.smartgwt.client.widgets.layout.SectionStack stack)
|
static java.lang.String |
getTabId(com.smartgwt.client.widgets.tab.events.TabCloseClickEvent event)
Hack to get the tab id - event.getTab() is not working - throws a ClassCastExcpetion |
static void |
install()
|
void |
onModuleLoad()
This is the entry point method. |
static void |
setSectionIcon(com.smartgwt.client.widgets.layout.SectionStack stack,
java.lang.String id,
java.lang.String icon)
|
static void |
setSectionTitle(com.smartgwt.client.widgets.layout.SectionStack stack,
java.lang.String id,
java.lang.String title)
|
static void |
setTabIcon(com.smartgwt.client.widgets.tab.TabSet tabs,
java.lang.String tab,
java.lang.String icon)
|
static void |
setTabIcon(com.smartgwt.client.widgets.tab.TabSet tabs,
com.smartgwt.client.widgets.tab.Tab tab,
java.lang.String icon)
Hack to set the icon - this method is missing from the API |
static void |
setTabTitle(com.smartgwt.client.widgets.tab.TabSet tabs,
com.smartgwt.client.widgets.tab.Tab tab,
java.lang.String title)
|
static com.smartgwt.client.widgets.Canvas |
toCanvas(com.google.gwt.user.client.ui.Widget widget)
|
static void |
unloadChildren(com.smartgwt.client.widgets.tree.Tree tree,
com.google.gwt.core.client.JavaScriptObject node)
|
static void |
unloadChildren(com.smartgwt.client.widgets.tree.Tree tree,
com.smartgwt.client.widgets.tree.TreeNode node)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SmartClient()
Method Detail |
---|
public void onModuleLoad()
onModuleLoad
in interface com.google.gwt.core.client.EntryPoint
public static com.smartgwt.client.widgets.Canvas toCanvas(com.google.gwt.user.client.ui.Widget widget)
public static void install()
public static void fixCursorTrackerPath()
public static com.smartgwt.client.widgets.tree.TreeNode findNodeById(com.smartgwt.client.widgets.tree.TreeGrid tree, java.lang.String id)
public static com.smartgwt.client.widgets.tree.TreeNode findNodeById(com.smartgwt.client.widgets.tree.Tree tree, java.lang.String id)
public static void unloadChildren(com.smartgwt.client.widgets.tree.Tree tree, com.smartgwt.client.widgets.tree.TreeNode node)
public static void unloadChildren(com.smartgwt.client.widgets.tree.Tree tree, com.google.gwt.core.client.JavaScriptObject node)
public static java.lang.String getTabId(com.smartgwt.client.widgets.tab.events.TabCloseClickEvent event)
event
-
public static void setTabIcon(com.smartgwt.client.widgets.tab.TabSet tabs, com.smartgwt.client.widgets.tab.Tab tab, java.lang.String icon)
tabs
- tab
- icon
- public static void setTabIcon(com.smartgwt.client.widgets.tab.TabSet tabs, java.lang.String tab, java.lang.String icon)
public static void setTabTitle(com.smartgwt.client.widgets.tab.TabSet tabs, com.smartgwt.client.widgets.tab.Tab tab, java.lang.String title)
public static void setSectionTitle(com.smartgwt.client.widgets.layout.SectionStack stack, java.lang.String id, java.lang.String title)
public static void setSectionIcon(com.smartgwt.client.widgets.layout.SectionStack stack, java.lang.String id, java.lang.String icon)
public static int getSectionsCount(com.smartgwt.client.widgets.layout.SectionStack stack)
public static void addSectionItem(com.smartgwt.client.widgets.layout.SectionStack stack, java.lang.String id, com.smartgwt.client.widgets.Canvas widget)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |