|
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.runtime.client.ui.view.ViewSite org.nuxeo.ecm.gwt.runtime.client.ui.editor.EditorSite
public class EditorSite
Constructor Summary | |
---|---|
EditorSite(Editor editor)
|
|
EditorSite(java.lang.String name,
Editor editor)
|
Method Summary | |
---|---|
Editor |
getEditor()
|
void |
open(Container container,
java.lang.Object input)
Opens an input in that site. |
Methods inherited from class org.nuxeo.ecm.gwt.runtime.client.ui.view.ViewSite |
---|
activate, close, deactivate, disable, enable, getHandle, getIcon, getName, getTitle, getView, isActive, isEnabled, updateIcon, updateTitle, updateWidget |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditorSite(Editor editor)
public EditorSite(java.lang.String name, Editor editor)
Method Detail |
---|
public void open(Container container, java.lang.Object input)
Site
The connection to the container will be created if it is not yet existing. In that case the container will create a handle for that site.
Then the view is asked if it is accepting the input. If not the container will be asked to hide this site.
If the view is accepting the input it will be installed in the container if it is not installed.
Then the view will have its input refreshed which may trigger UI updates like view content, title or icon.
The site is remembering its container so that methods like
Site.enable()
or Site.activate()
can be called later.
open
in interface Site
open
in class ViewSite
public Editor getEditor()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |