de.uni_paderborn.fujaba.preferences
Class GeneralPreferences

java.lang.Object
  extended byde.uni_paderborn.fujaba.preferences.AbstractPreferences
      extended byde.uni_paderborn.fujaba.preferences.GeneralPreferences

public class GeneralPreferences
extends AbstractPreferences

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.18 $
Author:
$Author: lowende $

Field Summary
static java.lang.String COMMAND_LINE_PARSING
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String CREATE_PROJECT_BACKUP
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String EXPORT_TO_PROJECT_FOLDER
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String EXPORT_TO_TEMPORARY_FOLDER
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String EXPORT_TO_WORKSPACE_FOLDER
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String EXTERNAL_EDITOR
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String FPR_ACTIVATED
          fpr (buttons in gui)
static java.lang.String LOOK_AND_FEEL
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String PROCESS_HISTORY
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String PROPERTY_NAME
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String RECOVER_ACTIVATED
          recover
static java.lang.String REPOSITORY_ACTIVATED
          versioning
static java.lang.String TEMPORARY_FOLDER
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String USE_EXT_EDITOR
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String VIEW_FILTER_FOLDER
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String WORKSPACE_FOLDER
          No comment provided by developer, please add a comment to improve documentation.
 
Method Summary
 void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
          Access method for an one to n association.
static GeneralPreferences get()
           
 java.lang.String getExportFolder()
          Returns the folder where generated files are saved.
 java.lang.String getExternalEditor()
          Get the externalEditor attribute of the GeneralPreferences object
 java.lang.String getJDKFolder()
          Get the jdkFolder attribute of the GeneralPreferences object
 java.lang.String getLookAndFeel()
          Get the lookAndFeel attribute of the GeneralPreferences object
 java.util.Vector getProcessHistory()
          This method provides the pathnames for the ProcessOutputViewer History ComboBox.
 java.lang.String getTemporaryFolder()
          Get the temporaryFolder attribute of the GeneralPreferences object
 java.lang.String getViewFilterFolder()
          Get the viewFilterFolder attribute of the GeneralPreferences object
 java.lang.String getWorkspaceFolder()
          Get the workspaceFolder attribute of the GeneralPreferences object
 boolean isCommandLineParsing()
          Get the commandLineParsing attribute of the GeneralPreferences object
 boolean isCreateProjectBackup()
          Get the createProjectBackup attribute of the GeneralPreferences object
 boolean isExportToProjectFolder()
          Get the exportToProjectFolder attribute of the GeneralPreferences object
 boolean isExportToTemporaryFolder()
          Get the exportToTemporaryFolder attribute of the GeneralPreferences object
 boolean isExportToWorkspaceFolder()
          Get the exportToWorkspaceFolder attribute of the GeneralPreferences object
 boolean isFPRActivated()
           
 boolean isJDKFolderIgnored()
          Get the jDKFolderIgnored attribute of the GeneralPreferences object
 boolean isRecoverActivated()
           
 boolean isRepositoryActivated()
          Get the repositoryActivated attribute of the GeneralPreferences object
 boolean isUseExtEditor()
          Get the useExtEditor attribute of the GeneralPreferences object
 void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
          No comment provided by developer, please add a comment to improve documentation.
 void setCommandLineParsing(boolean value)
          Sets the commandLineParsing attribute of the GeneralPreferences object
 void setCreateProjectBackup(boolean value)
          Sets the createProjectBackup attribute of the GeneralPreferences object
 void setDefaults()
          Sets the defaults attribute of the AbstractPreferences object
 void setExportToProjectFolder(boolean value)
          Sets the exportToProjectFolder attribute of the GeneralPreferences object
 void setExportToTemporaryFolder(boolean value)
          Sets the exportToTemporaryFolder attribute of the GeneralPreferences object
 void setExportToWorkspaceFolder(boolean value)
          Sets the exportToWorkspaceFolder attribute of the GeneralPreferences object
 void setExternalEditor(java.lang.String value)
          Sets the externalEditor attribute of the GeneralPreferences object
 void setFPRActivated(boolean value)
           
 void setJDKFolder(java.lang.String value)
          Sets the jdkFolder attribute of the GeneralPreferences object
 void setJDKFolderIgnored(boolean value)
          Sets the jdkFoldeIgnored attribute of the GeneralPreferences object
 void setLookAndFeel(java.lang.String value)
          Sets the lookAndFeel attribute of the GeneralPreferences object
 void setProcessHistory(java.util.Vector value)
          This method sets the pathnames for the ProcessOutputViewer History ComboBox.
 void setRecoverActivated(boolean value)
           
 void setRepositoryActivated(boolean value)
          Sets the repositoryActivated attribute of the GeneralPreferences object
 void setTemporaryFolder(java.lang.String value)
          Sets the temporaryFolder attribute of the GeneralPreferences object
 void setUseExtEditor(boolean value)
          Sets the useExtEditor attribute of the GeneralPreferences object
 void setViewFilterFolder(java.lang.String value)
          Sets the viewFilterFolder attribute of the GeneralPreferences object
 void setWorkspaceFolder(java.lang.String value)
          Sets the workspaceFolder attribute of the GeneralPreferences object
 
Methods inherited from class de.uni_paderborn.fujaba.preferences.AbstractPreferences
isModified, setModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_NAME

public static final java.lang.String PROPERTY_NAME
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

WORKSPACE_FOLDER

public static final java.lang.String WORKSPACE_FOLDER
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

TEMPORARY_FOLDER

public static final java.lang.String TEMPORARY_FOLDER
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

VIEW_FILTER_FOLDER

public static final java.lang.String VIEW_FILTER_FOLDER
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

USE_EXT_EDITOR

public static final java.lang.String USE_EXT_EDITOR
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

EXTERNAL_EDITOR

public static final java.lang.String EXTERNAL_EDITOR
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

REPOSITORY_ACTIVATED

public static final java.lang.String REPOSITORY_ACTIVATED
versioning

See Also:
Constant Field Values

RECOVER_ACTIVATED

public static final java.lang.String RECOVER_ACTIVATED
recover

See Also:
Constant Field Values

FPR_ACTIVATED

public static final java.lang.String FPR_ACTIVATED
fpr (buttons in gui)

See Also:
Constant Field Values

CREATE_PROJECT_BACKUP

public static final java.lang.String CREATE_PROJECT_BACKUP
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

EXPORT_TO_WORKSPACE_FOLDER

public static final java.lang.String EXPORT_TO_WORKSPACE_FOLDER
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

EXPORT_TO_PROJECT_FOLDER

public static final java.lang.String EXPORT_TO_PROJECT_FOLDER
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

EXPORT_TO_TEMPORARY_FOLDER

public static final java.lang.String EXPORT_TO_TEMPORARY_FOLDER
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

COMMAND_LINE_PARSING

public static final java.lang.String COMMAND_LINE_PARSING
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

PROCESS_HISTORY

public static final java.lang.String PROCESS_HISTORY
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

LOOK_AND_FEEL

public static final java.lang.String LOOK_AND_FEEL
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Method Detail

get

public static GeneralPreferences get()
Returns:
the singleton instance

setDefaults

public void setDefaults()
Description copied from class: AbstractPreferences
Sets the defaults attribute of the AbstractPreferences object

Specified by:
setDefaults in class AbstractPreferences
See Also:
AbstractPreferences.setDefaults()

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String propertyName,
                                      java.beans.PropertyChangeListener listener)
Access method for an one to n association.

Overrides:
addPropertyChangeListener in class AbstractPreferences
Parameters:
propertyName - The object added.
listener - The object added.

removePropertyChangeListener

public void removePropertyChangeListener(java.lang.String propertyName,
                                         java.beans.PropertyChangeListener listener)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
removePropertyChangeListener in class AbstractPreferences
Parameters:
propertyName - No description provided
listener - No description provided

setWorkspaceFolder

public void setWorkspaceFolder(java.lang.String value)
Sets the workspaceFolder attribute of the GeneralPreferences object

Parameters:
value - The new workspaceFolder value

getWorkspaceFolder

public java.lang.String getWorkspaceFolder()
Get the workspaceFolder attribute of the GeneralPreferences object

Returns:
The workspaceFolder value

setTemporaryFolder

public void setTemporaryFolder(java.lang.String value)
Sets the temporaryFolder attribute of the GeneralPreferences object

Parameters:
value - The new temporaryFolder value

getTemporaryFolder

public java.lang.String getTemporaryFolder()
Get the temporaryFolder attribute of the GeneralPreferences object

Returns:
The temporaryFolder value

setViewFilterFolder

public void setViewFilterFolder(java.lang.String value)
Sets the viewFilterFolder attribute of the GeneralPreferences object

Parameters:
value - The new viewFilterFolder value

getViewFilterFolder

public java.lang.String getViewFilterFolder()
Get the viewFilterFolder attribute of the GeneralPreferences object

Returns:
The viewFilterFolder value

setJDKFolder

public void setJDKFolder(java.lang.String value)
Sets the jdkFolder attribute of the GeneralPreferences object

Parameters:
value - The new jdkFolder value

getJDKFolder

public java.lang.String getJDKFolder()
Get the jdkFolder attribute of the GeneralPreferences object

Returns:
The jdkFolder value

setJDKFolderIgnored

public void setJDKFolderIgnored(boolean value)
Sets the jdkFoldeIgnored attribute of the GeneralPreferences object

Parameters:
value - The new jdkFolderIgnored value

isJDKFolderIgnored

public boolean isJDKFolderIgnored()
Get the jDKFolderIgnored attribute of the GeneralPreferences object

Returns:
The jDKFolderIgnored value

setUseExtEditor

public void setUseExtEditor(boolean value)
Sets the useExtEditor attribute of the GeneralPreferences object

Parameters:
value - The new useExtEditor value

isUseExtEditor

public boolean isUseExtEditor()
Get the useExtEditor attribute of the GeneralPreferences object

Returns:
The useExtEditor value

setExternalEditor

public void setExternalEditor(java.lang.String value)
Sets the externalEditor attribute of the GeneralPreferences object

Parameters:
value - The new externalEditor value

getExternalEditor

public java.lang.String getExternalEditor()
Get the externalEditor attribute of the GeneralPreferences object

Returns:
The externalEditor value

setRepositoryActivated

public void setRepositoryActivated(boolean value)
Sets the repositoryActivated attribute of the GeneralPreferences object

Parameters:
value - The new repositoryActivated value

isRepositoryActivated

public boolean isRepositoryActivated()
Get the repositoryActivated attribute of the GeneralPreferences object

Returns:
The repositoryActivated value

setRecoverActivated

public void setRecoverActivated(boolean value)
Parameters:
value - true to activate recover (save immediaty)

isRecoverActivated

public boolean isRecoverActivated()
Returns:
true if recover (save immediately) is activated

setFPRActivated

public void setFPRActivated(boolean value)
Parameters:
value - true to activate fpr save buttons

isFPRActivated

public boolean isFPRActivated()
Returns:
true if saving as fpr should be possible (by gui)

setCreateProjectBackup

public void setCreateProjectBackup(boolean value)
Sets the createProjectBackup attribute of the GeneralPreferences object

Parameters:
value - The new createProjectBackup value

isCreateProjectBackup

public boolean isCreateProjectBackup()
Get the createProjectBackup attribute of the GeneralPreferences object

Returns:
The createProjectBackup value

setExportToWorkspaceFolder

public void setExportToWorkspaceFolder(boolean value)
Sets the exportToWorkspaceFolder attribute of the GeneralPreferences object

Parameters:
value - The new exportToWorkspaceFolder value

isExportToWorkspaceFolder

public boolean isExportToWorkspaceFolder()
Get the exportToWorkspaceFolder attribute of the GeneralPreferences object

Returns:
The exportToWorkspaceFolder value

setExportToProjectFolder

public void setExportToProjectFolder(boolean value)
Sets the exportToProjectFolder attribute of the GeneralPreferences object

Parameters:
value - The new exportToProjectFolder value

isExportToProjectFolder

public boolean isExportToProjectFolder()
Get the exportToProjectFolder attribute of the GeneralPreferences object

Returns:
The exportToProjectFolder value

setExportToTemporaryFolder

public void setExportToTemporaryFolder(boolean value)
Sets the exportToTemporaryFolder attribute of the GeneralPreferences object

Parameters:
value - The new exportToTemporaryFolder value

isExportToTemporaryFolder

public boolean isExportToTemporaryFolder()
Get the exportToTemporaryFolder attribute of the GeneralPreferences object

Returns:
The exportToTemporaryFolder value

setCommandLineParsing

public void setCommandLineParsing(boolean value)
Sets the commandLineParsing attribute of the GeneralPreferences object

Parameters:
value - The new commandLineParsing value

isCommandLineParsing

public boolean isCommandLineParsing()
Get the commandLineParsing attribute of the GeneralPreferences object

Returns:
The commandLineParsing value

setProcessHistory

public void setProcessHistory(java.util.Vector value)
This method sets the pathnames for the ProcessOutputViewer History ComboBox.

Parameters:
value - The new processHistory value

getProcessHistory

public java.util.Vector getProcessHistory()
This method provides the pathnames for the ProcessOutputViewer History ComboBox.

Returns:
The processHistory value

setLookAndFeel

public void setLookAndFeel(java.lang.String value)
Sets the lookAndFeel attribute of the GeneralPreferences object

Parameters:
value - The new lookAndFeel value

getLookAndFeel

public java.lang.String getLookAndFeel()
Get the lookAndFeel attribute of the GeneralPreferences object

Returns:
The lookAndFeel value

getExportFolder

public java.lang.String getExportFolder()
Returns the folder where generated files are saved.

Returns:
The export folder