org.exoplatform.applications.ooplugin
Class BrowseDialog

java.lang.Object
  extended by org.exoplatform.applications.ooplugin.PlugInDialog
      extended by org.exoplatform.applications.ooplugin.BrowseDialog
Direct Known Subclasses:
OpenDialog, SaveDialog, SearchDialog

public abstract class BrowseDialog
extends PlugInDialog

Created by The eXo Platform SAS.

Version:
$Id: $
Author:
Vitaly Guly

Nested Class Summary
protected  class BrowseDialog.OpenThread
           
 
Field Summary
static java.lang.String BTN_CANCEL
           
static java.lang.String BTN_PREV
           
static java.lang.String COMBO_PATH
           
protected  java.lang.String currentPath
           
protected  boolean isNeedAddHandlers
           
static java.lang.String JCR_MIMETYPE
           
static java.lang.String JCR_NAMESPACE
           
static java.lang.String JCR_PREFIX
           
static int LASTMODIFIED_SIZE
           
static java.lang.String LBL_TABLEHEAD
           
static java.lang.String LST_ITEMS
           
static int MIMETYPE_SIZE
           
static int NAME_LEN
           
protected  java.lang.Thread openThread
           
protected  java.util.ArrayList<ResponseDoc> responses
           
static int SIZE_LEN
           
static int VNAME_LEN
           
 
Fields inherited from class org.exoplatform.applications.ooplugin.PlugInDialog
config, dialogName, enabled, eventHandlers, xComponentContext, xControlContainer, xDialog, xFrame, xToolkit
 
Constructor Summary
BrowseDialog(WebDavConfig config, com.sun.star.uno.XComponentContext xComponentContext, com.sun.star.frame.XFrame xFrame, com.sun.star.awt.XToolkit xToolkit)
           
 
Method Summary
 void createDialog()
           
protected  void disableAll()
           
protected  void doPropFind()
           
protected  void doPropFindResponse(ResponseDoc response)
           
protected  void doSelectItem()
           
protected  void enableAll()
           
protected  void fillItemsList()
           
protected  java.lang.String formatResponseLine(ResponseDoc response)
           
protected  int getSelectedItemPos()
           
protected  boolean isCollection(ResponseDoc response)
           
 boolean launchBeforeOpen()
           
 
Methods inherited from class org.exoplatform.applications.ooplugin.PlugInDialog
addHandler, confirmMessageBox, doOpenRemoteFile, getConponentContext, getControlContainer, getDialogName, isEnableg, prepareTmpPath, setControlContainer, setEnabled, showMessageBox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VNAME_LEN

public static final int VNAME_LEN
See Also:
Constant Field Values

NAME_LEN

public static final int NAME_LEN
See Also:
Constant Field Values

SIZE_LEN

public static final int SIZE_LEN
See Also:
Constant Field Values

MIMETYPE_SIZE

public static final int MIMETYPE_SIZE
See Also:
Constant Field Values

LASTMODIFIED_SIZE

public static final int LASTMODIFIED_SIZE
See Also:
Constant Field Values

BTN_PREV

public static final java.lang.String BTN_PREV
See Also:
Constant Field Values

LST_ITEMS

public static final java.lang.String LST_ITEMS
See Also:
Constant Field Values

COMBO_PATH

public static final java.lang.String COMBO_PATH
See Also:
Constant Field Values

BTN_CANCEL

public static final java.lang.String BTN_CANCEL
See Also:
Constant Field Values

LBL_TABLEHEAD

public static final java.lang.String LBL_TABLEHEAD
See Also:
Constant Field Values

JCR_PREFIX

public static final java.lang.String JCR_PREFIX
See Also:
Constant Field Values

JCR_MIMETYPE

public static final java.lang.String JCR_MIMETYPE
See Also:
Constant Field Values

JCR_NAMESPACE

public static final java.lang.String JCR_NAMESPACE
See Also:
Constant Field Values

currentPath

protected java.lang.String currentPath

openThread

protected java.lang.Thread openThread

responses

protected java.util.ArrayList<ResponseDoc> responses

isNeedAddHandlers

protected boolean isNeedAddHandlers
Constructor Detail

BrowseDialog

public BrowseDialog(WebDavConfig config,
                    com.sun.star.uno.XComponentContext xComponentContext,
                    com.sun.star.frame.XFrame xFrame,
                    com.sun.star.awt.XToolkit xToolkit)
Method Detail

createDialog

public void createDialog()
                  throws com.sun.star.uno.Exception
Overrides:
createDialog in class PlugInDialog
Throws:
com.sun.star.uno.Exception

launchBeforeOpen

public boolean launchBeforeOpen()
Overrides:
launchBeforeOpen in class PlugInDialog

disableAll

protected void disableAll()

enableAll

protected void enableAll()

isCollection

protected boolean isCollection(ResponseDoc response)

formatResponseLine

protected java.lang.String formatResponseLine(ResponseDoc response)

fillItemsList

protected void fillItemsList()

doPropFind

protected void doPropFind()

getSelectedItemPos

protected int getSelectedItemPos()

doSelectItem

protected void doSelectItem()

doPropFindResponse

protected void doPropFindResponse(ResponseDoc response)


Copyright © 2011 eXo Platform SAS. All Rights Reserved.