org.argouml.uml.reveng
Class Setting.PathSelection

java.lang.Object
  extended by org.argouml.uml.reveng.Setting
      extended by 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).


Nested Class Summary
 
Nested classes/interfaces inherited from class org.argouml.uml.reveng.Setting
Setting.BooleanSelection, Setting.PathListSelection, Setting.PathSelection, Setting.UniqueSelection
 
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 org.argouml.uml.reveng.Setting
getDescription, getLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.argouml.uml.reveng.SettingsTypes.Setting2
getDescription
 
Methods inherited from interface org.argouml.uml.reveng.SettingsTypes.Setting
getLabel
 

Constructor Detail

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 list
descriptionText - longer description of the purpose of this pathlist (appropriate for a tooltip)
defaultValue - initial value of the path
Method Detail

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


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook