eXo JCR :: Open Office WebDav plugin 1.15.8-GA

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 String BTN_CANCEL
           
static String BTN_PREV
           
static String COMBO_PATH
           
protected  String currentPath
           
protected  boolean isNeedAddHandlers
           
static String JCR_MIMETYPE
           
static String JCR_NAMESPACE
           
static String JCR_PREFIX
           
static int LASTMODIFIED_SIZE
           
static String LBL_TABLEHEAD
           
static String LST_ITEMS
           
static int MIMETYPE_SIZE
           
static int NAME_LEN
           
protected  Thread openThread
           
protected  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  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 String BTN_PREV
See Also:
Constant Field Values

LST_ITEMS

public static final String LST_ITEMS
See Also:
Constant Field Values

COMBO_PATH

public static final String COMBO_PATH
See Also:
Constant Field Values

BTN_CANCEL

public static final String BTN_CANCEL
See Also:
Constant Field Values

LBL_TABLEHEAD

public static final String LBL_TABLEHEAD
See Also:
Constant Field Values

JCR_PREFIX

public static final String JCR_PREFIX
See Also:
Constant Field Values

JCR_MIMETYPE

public static final String JCR_MIMETYPE
See Also:
Constant Field Values

JCR_NAMESPACE

public static final String JCR_NAMESPACE
See Also:
Constant Field Values

currentPath

protected String currentPath

openThread

protected Thread openThread

responses

protected 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 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)

eXo JCR :: Open Office WebDav plugin 1.15.8-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.