Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.dnd
Class DndConfigurationHelper

java.lang.Object
  extended by 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)

Constructor Summary
DndConfigurationHelper()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DndConfigurationHelper

public DndConfigurationHelper()
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.