|
|||||||||||
| 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.
| 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). |
org.argouml.uml.ui.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(org.argouml.uml.ui.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 |
| Constructor Detail |
public SourcePathControllerImpl()
| Method Detail |
public File getSourcePath(Object modelElement)
SourcePathController
getSourcePath in interface SourcePathControllermodelElement - model element
SourcePathController.getSourcePath(java.lang.Object)public org.argouml.uml.ui.SourcePathTableModel getSourcePathSettings()
SourcePathController
getSourcePathSettings in interface SourcePathControllerSourcePathController.getSourcePathSettings()public void setSourcePath(org.argouml.uml.ui.SourcePathTableModel srcPaths)
SourcePathController
setSourcePath in interface SourcePathControllersrcPaths - the source path settings to be set in the model. Note,
these are used in a resetting way, use the object retrieved with.SourcePathController.setSourcePath(org.argouml.uml.ui.SourcePathTableModel)
public void setSourcePath(Object modelElement,
File sourcePath)
SourcePathController
setSourcePath in interface SourcePathControllermodelElement - 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 SourcePathControllermodelElement - 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 SourcePathControllerSourcePathController.getAllModelElementsWithSourcePath()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |