Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.gwt.ui.client.base.editor
Class DocumentView

java.lang.Object
  extended by org.nuxeo.ecm.gwt.runtime.client.ui.AbstractView
      extended by org.nuxeo.ecm.gwt.ui.client.base.SmartView
          extended by org.nuxeo.ecm.gwt.ui.client.base.editor.DocumentView
All Implemented Interfaces:
Drawable, View

public class DocumentView
extends SmartView

Author:
Bogdan Stefanescu

Constructor Summary
DocumentView()
           
 
Method Summary
 boolean acceptInput(java.lang.Object input)
          Whether or not this view accepts the given input.
 java.lang.String getTitle()
          Gets a title suitable for this view.
 
Methods inherited from class org.nuxeo.ecm.gwt.ui.client.base.SmartView
getWidget
 
Methods inherited from class org.nuxeo.ecm.gwt.runtime.client.ui.AbstractView
getIcon, getInput, getName, hasWidget, hideBusy, install, isInstalled, refresh, setInput, showBusy, toString, uninstall
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentView

public DocumentView()
Method Detail

getTitle

public java.lang.String getTitle()
Description copied from interface: View
Gets a title suitable for this view. This is a hint to the site view ad should reflect the current view input.

Specified by:
getTitle in interface View
Overrides:
getTitle in class AbstractView
Returns:
the title or null if none

acceptInput

public boolean acceptInput(java.lang.Object input)
Description copied from interface: View
Whether or not this view accepts the given input. This is an optional operation and should return false if not supported

Specified by:
acceptInput in interface View
Overrides:
acceptInput in class AbstractView
Returns:
true if input can be rendered by the view

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.