org.exoplatform.applications.ooplugin
Class SaveDialog
java.lang.Object
org.exoplatform.applications.ooplugin.PlugInDialog
org.exoplatform.applications.ooplugin.BrowseDialog
org.exoplatform.applications.ooplugin.SaveDialog
public class SaveDialog
- extends BrowseDialog
Created by The eXo Platform SAS Author.
- Version:
- $Id: $
- Author:
- Vitaly Guly
| Fields inherited from class org.exoplatform.applications.ooplugin.BrowseDialog |
BTN_CANCEL, BTN_PREV, COMBO_PATH, currentPath, isNeedAddHandlers, JCR_MIMETYPE, JCR_NAMESPACE, JCR_PREFIX, LASTMODIFIED_SIZE, LBL_TABLEHEAD, LST_ITEMS, MIMETYPE_SIZE, NAME_LEN, openThread, responses, SIZE_LEN, VNAME_LEN |
|
Constructor Summary |
SaveDialog(WebDavConfig config,
com.sun.star.uno.XComponentContext xComponentContext,
com.sun.star.frame.XFrame xFrame,
com.sun.star.awt.XToolkit xToolkit,
boolean isSaveAs)
|
| 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 |
DIALOG_NAME
public static final String DIALOG_NAME
- See Also:
- Constant Field Values
SaveDialog
public SaveDialog(WebDavConfig config,
com.sun.star.uno.XComponentContext xComponentContext,
com.sun.star.frame.XFrame xFrame,
com.sun.star.awt.XToolkit xToolkit,
boolean isSaveAs)
disableAll
protected void disableAll()
- Overrides:
disableAll in class BrowseDialog
enableAll
protected void enableAll()
- Overrides:
enableAll in class BrowseDialog
getEditFileName
protected String getEditFileName()
setEditFileName
protected void setEditFileName(String fileName)
doSelectItem
protected void doSelectItem()
- Overrides:
doSelectItem in class BrowseDialog
getTypedFileInfo
public String[] getTypedFileInfo()
throws DialogException
- Throws:
DialogException
getTypedFileInfo
public String[] getTypedFileInfo(String fileName)
throws DialogException
- Throws:
DialogException
doSaveFile
protected void doSaveFile()
throws Exception
- Throws:
Exception
setSessionPath
protected void setSessionPath(String path)
throws com.sun.star.lang.IndexOutOfBoundsException
- Throws:
com.sun.star.lang.IndexOutOfBoundsException
getSessionPath
protected String getSessionPath()
throws com.sun.star.lang.IndexOutOfBoundsException
- Throws:
com.sun.star.lang.IndexOutOfBoundsException
getEditFilterValue
public String getEditFilterValue()
setEditFilterValue
public void setEditFilterValue(String typeValue)
storeLocal
public void storeLocal(String url,
String filter)
launchBeforeOpen
public boolean launchBeforeOpen()
- Overrides:
launchBeforeOpen in class BrowseDialog
initDefaults
protected void initDefaults()
throws Exception
- Throws:
Exception
getDocumentFileName
public String getDocumentFileName()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
doSave
protected boolean doSave(String localPath,
String remotePath)
Copyright © 2014 eXo Platform SAS. All Rights Reserved.