org.argouml.uml.reveng
Class Setting.PathSelection
java.lang.Object
org.argouml.uml.reveng.Setting
org.argouml.uml.reveng.Setting.PathSelection
- All Implemented Interfaces:
- SettingsTypes.PathSelection, SettingsTypes.Setting, SettingsTypes.Setting2
- Enclosing class:
- Setting
public static class Setting.PathSelection
- extends Setting
- implements SettingsTypes.PathSelection
A selection for a single path (e.g. file system path or directory).
|
Constructor Summary |
Setting.PathSelection(java.lang.String labelText,
java.lang.String descriptionText,
java.lang.String defaultValue)
Construct a PathSelection with the given attributes. |
|
Method Summary |
java.lang.String |
getDefaultPath()
|
java.lang.String |
getPath()
|
void |
setPath(java.lang.String newPath)
Set the path selection so that it is available to the importer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Setting.PathSelection
public Setting.PathSelection(java.lang.String labelText,
java.lang.String descriptionText,
java.lang.String defaultValue)
- Construct a PathSelection with the given attributes.
- Parameters:
labelText - string to use for the label of the path listdescriptionText - longer description of the purpose of this
pathlist (appropriate for a tooltip)defaultValue - initial value of the path
getDefaultPath
public java.lang.String getDefaultPath()
- Specified by:
getDefaultPath in interface SettingsTypes.PathSelection
- Returns:
- the default path to use when first displayed
getPath
public java.lang.String getPath()
- Specified by:
getPath in interface SettingsTypes.PathSelection
- Returns:
- the user selected path
setPath
public void setPath(java.lang.String newPath)
- Set the path selection so that it is available to the importer.
- Specified by:
setPath in interface SettingsTypes.PathSelection
- Parameters:
newPath - string representing the new path