pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core.adminui
Class FileBrowserResult

java.lang.Object
  extended by org.torweg.pulse.component.core.adminui.FileBrowserResult
All Implemented Interfaces:
JDOMable, Result

public class FileBrowserResult
extends java.lang.Object
implements Result

the result of the FileBrowser.

Version:
$Revision: 1452 $
Author:
Daniel Dietz

Constructor Summary
FileBrowserResult()
           
 
Method Summary
 org.jdom.Element deserializeToJDOM()
          the result of the FileBrowser.
 void setDirDescriptors(java.util.List<VFSDirectoryDescriptor> dds)
          sets the directory-descriptors of the result.
 void setFile(VirtualFile f)
          sets the VirtualFile of the result.
 void setFileDescriptors(java.util.List<VFSFileDescriptor> fds)
          sets the file-descriptors of the result.
 void setView(java.lang.String v)
          sets the view for the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileBrowserResult

public FileBrowserResult()
Method Detail

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
the result of the FileBrowser.

Specified by:
deserializeToJDOM in interface JDOMable
Returns:
the result of the FileBrowser
See Also:
JDOMable.deserializeToJDOM()

setDirDescriptors

public final void setDirDescriptors(java.util.List<VFSDirectoryDescriptor> dds)
sets the directory-descriptors of the result.

Parameters:
dds - the directory-descriptors to set

setFileDescriptors

public final void setFileDescriptors(java.util.List<VFSFileDescriptor> fds)
sets the file-descriptors of the result.

Parameters:
fds - the file-descriptors to set

setFile

public final void setFile(VirtualFile f)
sets the VirtualFile of the result.

Parameters:
f - the VirtualFile to set

setView

public void setView(java.lang.String v)
sets the view for the result.

v = 'list' -> the preview-panel of the vfs-permission.editor will show grid for folder-display

v = any other value -> the preview-panel of the vfs-permission.editor will show tiles for folder-display

Parameters:
v - the view to set