Nuxeo Enterprise Platform 5.4

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

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.FolderView
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.smartgwt.client.widgets.grid.events.CellDoubleClickHandler, Drawable, View

public class FolderView
extends SmartView
implements com.smartgwt.client.widgets.grid.events.CellDoubleClickHandler

Author:
Bogdan Stefanescu

Constructor Summary
FolderView()
           
 
Method Summary
 boolean acceptInput(java.lang.Object input)
          Whether or not this view accepts the given input.
 Document getDocument()
           
 com.smartgwt.client.widgets.grid.ListGrid getGrid()
           
 java.lang.String getTitle()
          Gets a title suitable for this view.
 void onCellDoubleClick(com.smartgwt.client.widgets.grid.events.CellDoubleClickEvent event)
           
 void uninstall()
          Uninstalls the view from its site.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FolderView

public FolderView()
Method Detail

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

getDocument

public Document getDocument()

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

getGrid

public com.smartgwt.client.widgets.grid.ListGrid getGrid()

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

onCellDoubleClick

public void onCellDoubleClick(com.smartgwt.client.widgets.grid.events.CellDoubleClickEvent event)
Specified by:
onCellDoubleClick in interface com.smartgwt.client.widgets.grid.events.CellDoubleClickHandler

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.