Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.gwt.ui.client.base.impl
Class SmartApplication

java.lang.Object
  extended by org.nuxeo.ecm.gwt.ui.client.base.impl.SmartApplication
All Implemented Interfaces:
Application, ErrorHandler, Extensible, ExtensionPoints, UIApplication

public class SmartApplication
extends java.lang.Object
implements UIApplication, Extensible, ExtensionPoints, ErrorHandler

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.gwt.runtime.client.ui.ExtensionPoints
CONTENT_AREA_XP, DEFAULT_EDITOR_XP, EDITOR_PAGES_XP, EDITORS_XP, FOOTER_AREA_XP, HEADER_AREA_XP, LEFT_AREA_XP, RIGHT_AREA_XP, VIEWS_XP
 
Constructor Summary
SmartApplication()
           
 
Method Summary
 View getActiveEditor()
           
 EditorManager getEditorManager()
           
 Drawable getFooter()
           
 Drawable getHeader()
           
 Drawable getLeftArea()
           
 ViewManager getRightArea()
           
 View getView(java.lang.String path)
           
 View getView(java.lang.String[] segments)
           
 View getView(java.lang.String[] segments, int length)
           
 void handleError(java.lang.Throwable t)
           
 void openInEditor(java.lang.Object input)
           
 void openInNewEditor(java.lang.Object input)
           
 void registerExtension(java.lang.String target, java.lang.Object extension)
           
 void showView(java.lang.String id)
           
 void start()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartApplication

public SmartApplication()
Method Detail

start

public void start()
Specified by:
start in interface Application

getLeftArea

public Drawable getLeftArea()

getRightArea

public ViewManager getRightArea()

getEditorManager

public EditorManager getEditorManager()

getHeader

public Drawable getHeader()

getFooter

public Drawable getFooter()

getView

public View getView(java.lang.String[] segments)

getView

public View getView(java.lang.String[] segments,
                    int length)

getView

public View getView(java.lang.String path)
Specified by:
getView in interface UIApplication

showView

public void showView(java.lang.String id)
Specified by:
showView in interface UIApplication

openInEditor

public void openInEditor(java.lang.Object input)
Specified by:
openInEditor in interface UIApplication

openInNewEditor

public void openInNewEditor(java.lang.Object input)

getActiveEditor

public View getActiveEditor()
Specified by:
getActiveEditor in interface UIApplication

registerExtension

public void registerExtension(java.lang.String target,
                              java.lang.Object extension)
Specified by:
registerExtension in interface Extensible

handleError

public void handleError(java.lang.Throwable t)
Specified by:
handleError in interface ErrorHandler

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.