org.nuxeo.ecm.gwt.ui.client.base.editor
Class DocumentMetadataView
java.lang.Object
org.nuxeo.ecm.gwt.runtime.client.ui.AbstractView
org.nuxeo.ecm.gwt.ui.client.base.SmartView
org.nuxeo.ecm.gwt.ui.client.base.editor.DocumentMetadataView
- All Implemented Interfaces:
- com.smartgwt.client.data.DSCallback, Drawable, View
public class DocumentMetadataView
- extends SmartView
- implements com.smartgwt.client.data.DSCallback
- Author:
- Bogdan Stefanescu
Method Summary |
boolean |
acceptInput(java.lang.Object input)
Whether or not this view accepts the given input. |
void |
execute(com.smartgwt.client.data.DSResponse response,
java.lang.Object rawData,
com.smartgwt.client.data.DSRequest request)
|
Document |
getDocument()
|
java.lang.String |
getTitle()
Gets a title suitable for this view. |
void |
refresh()
Refreshes this view using current input. |
void |
setParent(View view)
|
void |
uninstall()
Uninstalls the view from its site. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DocumentMetadataView
public DocumentMetadataView()
setParent
public void setParent(View view)
getDocument
public Document getDocument()
uninstall
public void uninstall()
- Description copied from interface:
View
- Uninstalls the view from its site.
All cached data should be removed such as the view widget etc.
The view itself should not be destroyed to be able to re-install it later if needed.
- Specified by:
uninstall
in interface View
- Overrides:
uninstall
in class AbstractView
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
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
refresh
public void refresh()
- Description copied from interface:
View
- Refreshes this view using current input. This should be called by a setInput after setting the input.
Optional operation - if container doesn't supports refresh do nothing
- Specified by:
refresh
in interface View
- Overrides:
refresh
in class AbstractView
execute
public void execute(com.smartgwt.client.data.DSResponse response,
java.lang.Object rawData,
com.smartgwt.client.data.DSRequest request)
- Specified by:
execute
in interface com.smartgwt.client.data.DSCallback
Copyright © 2010 Nuxeo SAS. All Rights Reserved.