|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.uml.ui.SourcePathControllerImpl
Implements the source path controller. NOTE: If requested in the future this could be returned from the language modules.
Field Summary | |
private static String |
SRC_PATH_TAG
The string used to store source path string as tagged value. |
Constructor Summary | |
SourcePathControllerImpl()
|
Method Summary | |
void |
deleteSourcePath(Object modelElement)
Delete the source path settings of the model element. |
Collection |
getAllModelElementsWithSourcePath()
Retrieve a collection of all model elements that have source path settings. |
File |
getSourcePath(Object modelElement)
From a model element retrieve its source path or null if it does not have a direct one (if that happens, you must use recursively its parent or the parent's parent) |
SourcePathTableModel |
getSourcePathSettings()
Provide the complete list of existing source path settings for a model on request. |
void |
setSourcePath(Object modelElement,
File sourcePath)
Set the source path for a specific model element (package or classifier) based on a given File object |
void |
setSourcePath(SourcePathTableModel srcPaths)
Set the source path of the model from the specified settings. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String SRC_PATH_TAG
Constructor Detail |
public SourcePathControllerImpl()
Method Detail |
public File getSourcePath(Object modelElement)
SourcePathController
getSourcePath
in interface SourcePathController
modelElement
- model element
SourcePathController.getSourcePath(java.lang.Object)
public SourcePathTableModel getSourcePathSettings()
SourcePathController
getSourcePathSettings
in interface SourcePathController
SourcePathController.getSourcePathSettings()
public void setSourcePath(SourcePathTableModel srcPaths)
SourcePathController
setSourcePath
in interface SourcePathController
srcPaths
- the source path settings to be set in the model. Note,
these are used in a resetting way, use the object retrieved withSourcePathController.setSourcePath(org.argouml.uml.ui.SourcePathTableModel)
public void setSourcePath(Object modelElement, File sourcePath)
SourcePathController
setSourcePath
in interface SourcePathController
modelElement
- the model elementsourcePath
- its source pathSourcePathController.setSourcePath(
java.lang.Object, java.io.File)
public String toString()
Object.toString()
public void deleteSourcePath(Object modelElement)
SourcePathController
deleteSourcePath
in interface SourcePathController
modelElement
- the model element for which the source path settings
are going to be removedSourcePathController.deleteSourcePath(java.lang.Object)
public Collection getAllModelElementsWithSourcePath()
SourcePathController
getAllModelElementsWithSourcePath
in interface SourcePathController
SourcePathController.getAllModelElementsWithSourcePath()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |