|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
de.uni_paderborn.fujaba.app.action.ExportFilesAction
Export the project to java sources.
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
private boolean |
askIfFilesShouldBeDeleted
No comment provided by developer, please add a comment to improve documentation. |
private int |
choice
No comment provided by developer, please add a comment to improve documentation. |
private java.lang.String |
expPath
No comment provided by developer, please add a comment to improve documentation. |
private boolean |
foundJava
No comment provided by developer, please add a comment to improve documentation. |
private FrameMain |
frameMain
No comment provided by developer, please add a comment to improve documentation. |
private static org.apache.log4j.Logger |
log
log4j logging |
static java.lang.String |
MESSAGE_CLASS_EXPORT
No comment provided by developer, please add a comment to improve documentation. |
private boolean |
success
Keeps the state of the ExportFilesAction for other actions |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
ExportFilesAction()
|
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
No comment provided by developer, please add a comment to improve documentation. |
private boolean |
clearExportDirectory(java.lang.String expPath,
boolean askIfFilesShouldBeDeleted)
No comment provided by developer, please add a comment to improve documentation. |
private boolean |
deleteFileOrDirectory(java.io.File f,
boolean includingParam)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
exportFiles(java.awt.event.ActionEvent e)
Export files |
boolean |
exportFiles(boolean deleteExistingFiles,
boolean askIfFilesShouldBeDeleted,
FPackage pkg)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
isSuccessful()
Returns the state of ExportFilesAction, true if the export was successful, else false |
private void |
showErrorMessageForException(java.lang.Exception ex)
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final transient org.apache.log4j.Logger log
private boolean success
public static final java.lang.String MESSAGE_CLASS_EXPORT
private transient boolean askIfFilesShouldBeDeleted
private transient FrameMain frameMain
private transient java.lang.String expPath
private transient boolean foundJava
private transient int choice
Constructor Detail |
public ExportFilesAction()
Method Detail |
public boolean isSuccessful()
public void actionPerformed(java.awt.event.ActionEvent e)
e
- No description providedpublic boolean exportFiles(java.awt.event.ActionEvent e)
e
- Action event that caused the export
public boolean exportFiles(boolean deleteExistingFiles, boolean askIfFilesShouldBeDeleted, FPackage pkg)
deleteExistingFiles
- No description providedaskIfFilesShouldBeDeleted
- No description providedpkg
- No description provided
private void showErrorMessageForException(java.lang.Exception ex)
ex
- No description providedprivate boolean clearExportDirectory(java.lang.String expPath, boolean askIfFilesShouldBeDeleted)
expPath
- No description providedaskIfFilesShouldBeDeleted
- true if a dialog should be shown to ask whether to
delete file s or not
private boolean deleteFileOrDirectory(java.io.File f, boolean includingParam)
f
- No description providedincludingParam
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |