org.nuxeo.ecm.webapp.dnd
Class DndConfigurationHelper
java.lang.Object
org.nuxeo.ecm.webapp.dnd.DndConfigurationHelper
@Name(value="dndConfigHelper")
@Scope(value=EVENT)
public class DndConfigurationHelper
- extends Object
Seam component used to outject a Session scoped flag that indicates if
client's browser supports HTML5 (plugin free) Drag&Drop feature
- Author:
- Tiry (tdelprat@nuxeo.com)
Method Summary |
void |
setHtml5DndEnabled(boolean enabled)
|
boolean |
useHtml5DragAndDrop()
Factory method used to push into the Session context a flag indicating if
HTML5 Drag&Drop can be used |
DndConfigurationHelper
public DndConfigurationHelper()
useHtml5DragAndDrop
@Factory(value="useHtml5DragAndDrop",
scope=SESSION)
public boolean useHtml5DragAndDrop()
- Factory method used to push into the Session context a flag indicating if
HTML5 Drag&Drop can be used
- Returns:
setHtml5DndEnabled
public void setHtml5DndEnabled(boolean enabled)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.