|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.basic.BasicIncrement
de.uni_paderborn.fujaba.asg.ASGElement
de.uni_paderborn.fujaba.asg.ASGProject
de.uni_paderborn.fujaba.uml.UMLProject
+---------+ 1 1 UMLProject + name +--------------------------------------- UMLClass +---------+ declaredInReferences references ------ 0..1 Assoc 0..1 UMLProject | ID |--------------------------------- BasicIncrement ------ refProject objectHashTable
Nested Class Summary |
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement |
ASGElement.SortByNameComparator |
Field Summary | |
static int |
FILE_VERSION
The current file version for Fujaba project files. |
static java.lang.String |
PROPERTY_FILES
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
PROPERTY_TYPE_LIST
No comment provided by developer, please add a comment to improve documentation. |
Fields inherited from class de.uni_paderborn.fujaba.asg.ASGProject |
DIAGS_PROPERTY |
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement |
dontUseAccessMethodsInThisClass |
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FProject |
ROOT_PACKAGE_PROPERTY |
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FElement |
ANNOTATIONS_PROPERTY, DIAGRAMS_PROPERTY, ELEMENT_REFERENCES_PROPERTY, GENERATED_PROPERTY, NAME_PROPERTY, TEXT_PROPERTY |
Method Summary | |
void |
addToFiles(KeyValuePair pair)
Adds a feature to the ToFiles attribute of the UMLProject object |
boolean |
addToFiles(UMLFile value)
Adds a feature to the ToFiles attribute of the UMLProject object |
void |
addToPackages(java.lang.String fullName,
UMLPackage pkg)
for loading (versioning): add a package effect: addToPackages( pkg, key ); |
void |
addToPackages(UMLPackage elem,
java.lang.String fullName)
Adds a feature to the ToPackages attribute of the UMLProject object |
void |
addToReferences(KeyValuePair pair)
Adds a feature to the ToReferences attribute of the UMLProject object this method is needed only for loading OrderedMaps do not use it in other cases |
void |
addToReferences(java.lang.String key,
UMLClass value)
Adds a feature to the ToReferences attribute of the UMLProject object this method is needed only for loading OrderedMaps do not use it in other cases |
boolean |
addToReferences(UMLClass obj)
Adds a feature to the ToReferences attribute of the UMLProject object |
static UMLProject |
createPlainProject()
The current project will be removed and a new one is returned with an initialized base type list. |
protected java.lang.String |
createUnparseModuleName()
No comment provided by developer, please add a comment to improve documentation. |
void |
deleteBackupFile()
delete backup file used for immediate store |
java.util.Enumeration |
elementsOfClasses()
use this to get all the classes of the project |
java.util.Iterator |
entriesOfReferences()
No comment provided by developer, please add a comment to improve documentation. |
UMLClass |
findClass(UMLClass context,
java.lang.String name)
No comment provided by developer, please add a comment to improve documentation. |
UMLClass |
findClass(UMLClass context,
java.lang.String name,
boolean create)
No comment provided by developer, please add a comment to improve documentation. |
UMLClass |
findClass(UMLClass context,
java.lang.String name,
boolean create,
boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
findFiles(java.lang.String searchName)
No comment provided by developer, please add a comment to improve documentation. |
FPackage |
findFPackage(java.lang.String fullName)
No comment provided by developer, please add a comment to improve documentation. |
FPackage |
findFPackage(java.lang.String fullName,
boolean create)
No comment provided by developer, please add a comment to improve documentation. |
FPackage |
findFPackage(java.lang.String fullName,
boolean create,
boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation. |
FClass |
findFReference(java.lang.String name)
No comment provided by developer, please add a comment to improve documentation. |
FClass |
findFReference(java.lang.String name,
boolean create)
No comment provided by developer, please add a comment to improve documentation. |
FClass |
findFReference(java.lang.String name,
boolean create,
boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation. |
FType |
findFType(FClass context,
java.lang.String name)
No comment provided by developer, please add a comment to improve documentation. |
FType |
findFType(FClass context,
java.lang.String name,
boolean create)
No comment provided by developer, please add a comment to improve documentation. |
FType |
findFType(FClass context,
java.lang.String name,
boolean create,
boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation. |
UMLPackage |
findPackage(java.lang.String fullName)
No comment provided by developer, please add a comment to improve documentation. |
UMLPackage |
findPackage(java.lang.String fullName,
boolean create)
No comment provided by developer, please add a comment to improve documentation. |
UMLPackage |
findPackage(java.lang.String fullName,
boolean create,
boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation. |
UMLClass |
findReference(java.lang.String name)
No comment provided by developer, please add a comment to improve documentation. |
UMLClass |
findReference(java.lang.String name,
boolean create)
No comment provided by developer, please add a comment to improve documentation. |
UMLClass |
findReference(java.lang.String name,
boolean create,
boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation. |
UMLType |
findType(UMLClass context,
java.lang.String name)
No comment provided by developer, please add a comment to improve documentation. |
UMLType |
findType(UMLClass context,
java.lang.String name,
boolean create)
No comment provided by developer, please add a comment to improve documentation. |
UMLType |
findType(UMLClass context,
java.lang.String name,
boolean create,
boolean coobraPersistent)
No comment provided by developer, please add a comment to improve documentation. |
static UMLProject |
get()
Use this method to get the instance of UMLProject. |
java.lang.String |
getAdditionalClassPath()
Get the rootDir attribute of the UMLProject object |
java.io.File |
getBackupFile()
|
UMLClass |
getClassFromImports(UMLClass context,
java.lang.String name)
Searches the UMLClass with the name in the imports of the current UMLFile. |
UMLIncrement |
getClipboard()
Get the clipboard attribute of the UMLProject object |
UMLDiagram |
getCurrentUMLDiagram()
Get the currentUMLDiagram attribute of the UMLProject object |
UMLPackage |
getDefaultPackage()
Searches for the default project and returns it. |
FClass |
getFClassFromImports(FClass context,
java.lang.String name)
Get the fClassFromImports attribute of the UMLProject object |
java.io.File |
getFile()
Get the file attribute of the UMLProject object |
UMLBaseTypes |
getFromBaseTypes(java.lang.String key)
Get the fromBaseTypes attribute of the UMLProject object |
UMLClass |
getFromClasses(java.lang.String fullClassName)
Retrieve a class with the given full qualified (with package) class name. |
UMLDiagram |
getFromDiags(java.lang.String name)
Get the fromDiags attribute of the UMLProject object |
FType |
getFromFBaseTypes(java.lang.String key)
Get the fromFBaseTypes attribute of the UMLProject object |
UMLFile |
getFromFiles(java.lang.String name)
Get the fromFiles attribute of the UMLProject object |
FClass |
getFromFReferences(java.lang.String key)
Get the fromFReferences attribute of the UMLProject object |
static java.lang.Object |
getFromObjectHashTable(java.lang.String id)
this method can be used on load time to find a restored object |
UMLPackage |
getFromPackages(java.lang.String key)
Get the fromPackages attribute of the UMLProject object |
UMLClass |
getFromReferences(java.lang.String key)
Get the fromReferences attribute of the UMLProject object |
FPackage |
getFRootPackage()
Get the fRootPackage attribute of the UMLProject object |
FTypeList |
getFTypeList()
Get the fTypeList attribute of the UMLProject object |
FrameMain |
getGui()
Get the gui attribute of the UMLProject object |
java.lang.String |
getName()
Get the name attribute of the UMLProject object |
FPackage |
getNewFromFPackages(java.lang.String fullName)
Get the newFromFPackages attribute of the UMLProject object |
FPackage |
getNewFromFPackages(java.lang.String fullName,
boolean coobraPersistent)
Get the newFromFPackages attribute of the UMLProject object |
UMLPackage |
getNewFromPackages(java.lang.String fullName)
Searches for a package with the full-name fullname and returns this package. |
UMLPackage |
getNewFromPackages(java.lang.String fullName,
boolean coobraPersistent)
Get the newFromPackages attribute of the UMLProject object |
UMLClass |
getOrNewClass(java.lang.String name)
Get the orNewClass attribute of the UMLProject object |
UMLClass |
getOrNewClass(java.lang.String name,
boolean coobraPersistent)
Get the orNewClass attribute of the UMLProject object |
UMLClass |
getOrNewClass(UMLClass context,
java.lang.String name)
Get the orNewClass attribute of the UMLProject object |
UMLClass |
getOrNewClass(UMLClass context,
java.lang.String name,
boolean coobraPersistent)
Get the orNewClass attribute of the UMLProject object |
FClass |
getOrNewFromFReferences(java.lang.String name)
Get the orNewFromFReferences attribute of the UMLProject object |
FClass |
getOrNewFromFReferences(java.lang.String name,
boolean coobraPersistent)
Get the orNewFromFReferences attribute of the UMLProject object |
UMLClass |
getOrNewFromReferences(java.lang.String name)
Get the orNewFromReferences attribute of the UMLProject object |
UMLClass |
getOrNewFromReferences(java.lang.String name,
boolean coobraPersistent)
Get the orNewFromReferences attribute of the UMLProject object |
FType |
getOrNewFType(FClass context,
java.lang.String name)
Get the orNewFType attribute of the UMLProject object |
FType |
getOrNewFType(FClass context,
java.lang.String name,
boolean coobraPersistent)
Get the orNewFType attribute of the UMLProject object |
UMLType |
getOrNewType(UMLClass context,
java.lang.String name)
Get the orNewType attribute of the UMLProject object |
UMLType |
getOrNewType(UMLClass context,
java.lang.String name,
boolean coobraPersistent)
Get the orNewType attribute of the UMLProject object |
static java.lang.String |
getOuterClassOfFullQualifiedType(java.lang.String type)
gives back the outer class name of an inner class. recognizes the dollar format. for example: type = java.lang.String returns "" type = java.util.Map$Entry returns java.util.Map type = java.util.Map.Entry returns "" (because the specified type is not recognized as an innerclass definition) type = Map$Entry returns Map type = Map.Entry returns Map (because the first component is not a valid package name and so represents an outerclass (by Java convention the first component should start with a lowercase letter)) ------ in general: type = x.y.z.Outer$Inner1$... |
static java.lang.String |
getOutestClassOfFullQualifiedType(java.lang.String type)
Works like method 'getOuterClassOfFullQualifiedType' but returns the 'outest' class if an inner-class-definition has been passed. |
static java.lang.String |
getPackageOfFullQualifiedType(java.lang.String type)
gives back the package name of a full qualified class or type. for example: type = java.lang.String returns java.lang type = java.util.Map$Entry returns java.util type = java.util.Map.Entry returns java.util.Map |
java.lang.String |
getRootDir()
Get the rootDir attribute of the UMLProject object |
UMLPackage |
getRootPackage()
Get the rootPackage attribute of the UMLProject object |
static SourceCodeFactory |
getSourceCodeFactory()
Get the sourceCodeFactory attribute of the UMLProject class |
UMLStereotypeManager |
getStereotypeManager()
|
UMLTypeList |
getTypeList()
Get the typeList attribute of the UMLProject object |
static java.lang.String |
getTypeOfFullQualifiedType(java.lang.String type)
gives back the class or type of a full qualified class or type. for example: type = java.lang.String returns String type = java.util.Map.Entry returns Entry |
boolean |
hasInBaseTypes(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInClasses(java.lang.String fullClassName)
Query if a class exists |
boolean |
hasInClasses(UMLClass elem)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInFiles(java.lang.String name)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInFiles(UMLFile value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInPackages(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInReferences(UMLClass obj)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasKeyInReferences(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
static boolean |
isInitialized()
|
static boolean |
isLoading()
Get the loading attribute of the UMLProject class |
protected boolean |
isPersistencyChange(java.beans.PropertyChangeEvent e)
Get the persistencyChange attribute of the UMLProject object |
boolean |
isSaved()
Get the saved attribute of the UMLProject object |
java.util.Iterator |
iteratorOfAllUndefinedMethods()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfFiles()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfPackages()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfReferences()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
keysOfReferences()
No comment provided by developer, please add a comment to improve documentation. |
static UMLProject |
loadProject(java.io.BufferedReader reader,
java.lang.String fileName)
Original loadProject method. |
static UMLProject |
loadProject(java.io.File inputFile)
No comment provided by developer, please add a comment to improve documentation. |
void |
refreshDisplay()
Refreshs the visual representation by explicit synchronization. |
void |
removeAllFromDiags()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromFiles()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromReferences()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllPackages()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromFiles(UMLFile value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromReferences(java.lang.String key,
UMLClass obj)
for loading |
boolean |
removeFromReferences(UMLClass obj)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeKeyFromReferences(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
removePackageFromFullQualifiedType(java.lang.String type)
gives back the class name of a full qualified class with the package removed. for example: type = java.lang.String returns String type = java.util.Map.Entry returns Map.Entry |
void |
removeYou()
Isolates the object so the garbage collector can remove it. |
void |
repairFiles()
No comment provided by developer, please add a comment to improve documentation. |
static ASGDiagram |
retrieveDiagramByName(java.lang.String name)
Retrieve the diagram by the specified name. |
boolean |
saveProject(java.io.File outputFile)
No comment provided by developer, please add a comment to improve documentation. |
ASGElement |
searchID(java.lang.String id)
No comment provided by developer, please add a comment to improve documentation. |
void |
setAdditionalClassPath(java.lang.String additionalClassPath)
Sets the additionalClassPath attribute of the UMLProject object |
void |
setClipboard(UMLIncrement clipboard)
Sets the clipboard attribute of the UMLProject object |
void |
setFile(java.io.File file)
Sets the file attribute of the UMLProject object |
void |
setGui(FrameMain gui)
Sets the gui attribute of the UMLProject object |
static void |
setLoading(boolean flag)
Sets the loading attribute of the UMLProject class |
void |
setName(java.lang.String name)
Sets the name attribute of the UMLProject object |
static void |
setNewProject(UMLProject newProject)
Removes the old project and sets a new one. |
void |
setRootDir(java.lang.String rootDir)
Sets the rootDir attribute of the UMLProject object |
void |
setRootPackage(FPackage rootPackage)
Sets the rootPackage attribute of the UMLProject object |
void |
setRootPackage(UMLPackage rootPackage)
There should be no need to set the rootPackage outside of this class. |
void |
setSaved(boolean saved)
Sets the saved attribute of the UMLProject object |
void |
setTypeList(UMLTypeList typeList)
Sets the typeList attribute of the UMLProject object |
int |
sizeOfFiles()
No comment provided by developer, please add a comment to improve documentation. |
int |
sizeOfReferences()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class de.uni_paderborn.fujaba.asg.ASGProject |
addToDiags, getCurrentDiagram, getParentElement, hasInDiags, iteratorOfDiags, removeFromDiags, setCurrentDiagram |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FProject |
addToDiags, iteratorOfDiags |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface de.uni_paderborn.fujaba.basic.UniqueIdentifier |
getID |
Methods inherited from interface de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface |
getFSAInterface, getUnparseModuleName |
Methods inherited from interface de.upb.tools.pcs.PropertyChangeInterface |
getPropertyChangeSupport |
Methods inherited from interface de.upb.tools.pcs.PropertyChangeClient |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface de.tu_bs.coobra.ObjectChangeAware |
acknowledgeChange, getCoObRAId, getRepository, setCoObRAId, setRepository |
Methods inherited from interface de.uni_kassel.prop.InspectionAware |
isInspectableField, proposeFieldValues |
Field Detail |
public static final java.lang.String PROPERTY_TYPE_LIST
public static final java.lang.String PROPERTY_FILES
public static final transient int FILE_VERSION
Method Detail |
public java.io.File getBackupFile()
public static boolean isInitialized()
public static UMLProject get()
public static final void setNewProject(UMLProject newProject)
newProject
- The new newProject valuepublic static final UMLProject createPlainProject()
protected java.lang.String createUnparseModuleName()
createUnparseModuleName
in class ASGElement
public ASGElement searchID(java.lang.String id)
searchID
in class ASGProject
id
- No description provided
public void setRootPackage(UMLPackage rootPackage)
rootPackage
- The new rootPackage valuepublic UMLPackage getRootPackage()
public boolean hasInPackages(java.lang.String key)
key
- Parameter description
public UMLPackage getFromPackages(java.lang.String key)
key
- Parameter description
public UMLPackage getNewFromPackages(java.lang.String fullName)
fullName
- Parameter description
public UMLPackage getNewFromPackages(java.lang.String fullName, boolean coobraPersistent)
fullName
- No description providedcoobraPersistent
- No description provided
public UMLPackage findPackage(java.lang.String fullName)
fullName
- No description provided
public UMLPackage findPackage(java.lang.String fullName, boolean create)
fullName
- No description providedcreate
- No description provided
public UMLPackage findPackage(java.lang.String fullName, boolean create, boolean coobraPersistent)
fullName
- No description providedcreate
- No description providedcoobraPersistent
- No description provided
public UMLPackage getDefaultPackage()
public java.util.Iterator iteratorOfPackages()
iteratorOfPackages
in interface FProject
public static java.lang.String getPackageOfFullQualifiedType(java.lang.String type)
type = java.lang.String returns java.lang type = java.util.Map$Entry returns java.util type = java.util.Map.Entry returns java.util.Map
type
- Parameter description
public static java.lang.String getOutestClassOfFullQualifiedType(java.lang.String type)
i.e. type = x.y.z.Outer$Inner1$...$InnerN-1$InnerN returns x.y.z.Outer
type
- No description provided
getOuterClassOfFullQualifiedType(String)
public static java.lang.String getOuterClassOfFullQualifiedType(java.lang.String type)
type = java.lang.String returns "" type = java.util.Map$Entry returns java.util.Map type = java.util.Map.Entry returns "" (because the specified type is not recognized as an innerclass definition) type = Map$Entry returns Map type = Map.Entry returns Map (because the first component is not a valid package name and so represents an outerclass (by Java convention the first component should start with a lowercase letter)) ------ in general: type = x.y.z.Outer$Inner1$...$InnerN-1$InnerN returns x.y.z.Outer$Inner1$...$InnerN-1 type = name1stCharLowerCase.AdditionalSegments returns "" type = Name1stCharUpperCase.AdditionalSegments returns "Name1stCharUpperCase"Note that java package names may have components, that start with an uppercase letter (like class names do), so one should separate innerclasses from outerclasses by '$' instead of '.' to be sure the outerclass is detected.
type
- A full qualified class name
public static java.lang.String getTypeOfFullQualifiedType(java.lang.String type)
type = java.lang.String returns String type = java.util.Map.Entry returns Entry
type
- Parameter description
public static java.lang.String removePackageFromFullQualifiedType(java.lang.String type)
type = java.lang.String returns String type = java.util.Map.Entry returns Map.Entry
type
- No description provided
public void addToPackages(UMLPackage elem, java.lang.String fullName)
elem
- Access method for an one to n association.fullName
- Access method for an one to n association.public void addToPackages(java.lang.String fullName, UMLPackage pkg)
fullName
- full package namepkg
- the package to be addedpublic void removeAllPackages()
public static SourceCodeFactory getSourceCodeFactory()
public java.io.File getFile()
public void setFile(java.io.File file)
file
- The new file valuepublic java.lang.String getRootDir()
public void setRootDir(java.lang.String rootDir)
rootDir
- The new rootDir valuepublic java.lang.String getAdditionalClassPath()
public void setAdditionalClassPath(java.lang.String additionalClassPath)
additionalClassPath
- The new additionalClassPath valuepublic java.lang.String getName()
getName
in interface FElement
getName
in class ASGElement
public void setName(java.lang.String name)
setName
in interface FElement
setName
in class ASGElement
name
- The new name valuepublic UMLIncrement getClipboard()
public void setClipboard(UMLIncrement clipboard)
clipboard
- The new clipboard valuepublic boolean hasInFiles(UMLFile value)
value
- Parameter description
public boolean hasInFiles(java.lang.String name)
name
- Parameter description
public UMLFile getFromFiles(java.lang.String name)
name
- Parameter description
public java.util.Iterator findFiles(java.lang.String searchName)
searchName
- No description provided
public void repairFiles()
public java.util.Iterator iteratorOfFiles()
iteratorOfFiles
in interface FProject
public int sizeOfFiles()
public boolean addToFiles(UMLFile value)
value
- Access method for an one to n association.
public void addToFiles(KeyValuePair pair)
pair
- Access method for an one to n association.public boolean removeFromFiles(UMLFile value)
value
- Parameter description
public void removeAllFromFiles()
public boolean hasInBaseTypes(java.lang.String key)
key
- Parameter description
public UMLBaseTypes getFromBaseTypes(java.lang.String key)
key
- Parameter description
public java.util.Enumeration elementsOfClasses()
public boolean hasInClasses(java.lang.String fullClassName)
fullClassName
- full qualified class name
getFromClasses (fullClassName) != null
public boolean hasInClasses(UMLClass elem)
elem
- Parameter description
public UMLClass getFromClasses(java.lang.String fullClassName)
fullClassName
- full qualified class name
public boolean hasInReferences(UMLClass obj)
obj
- Parameter description
public boolean hasKeyInReferences(java.lang.String key)
key
- full qualified class name
public java.util.Iterator iteratorOfReferences()
public java.util.Iterator keysOfReferences()
public java.util.Iterator entriesOfReferences()
public int sizeOfReferences()
public UMLClass getFromReferences(java.lang.String key)
key
- full qualified class name
public boolean addToReferences(UMLClass obj)
obj
- Access method for an one to n association.
public boolean removeFromReferences(UMLClass obj)
obj
- Parameter description
public boolean removeFromReferences(java.lang.String key, UMLClass obj)
key
- (ignored)obj
- Class to remove from references
public boolean removeKeyFromReferences(java.lang.String key)
key
- full qualified class name
public void removeAllFromReferences()
public void addToReferences(KeyValuePair pair)
pair
- key-value-pairpublic void addToReferences(java.lang.String key, UMLClass value)
key
- key forvalue
- new valuepublic UMLType getOrNewType(UMLClass context, java.lang.String name)
context
- Parameter descriptionname
- Parameter description
public UMLType getOrNewType(UMLClass context, java.lang.String name, boolean coobraPersistent)
context
- No description providedname
- No description providedcoobraPersistent
- No description provided
public UMLType findType(UMLClass context, java.lang.String name)
context
- No description providedname
- No description provided
public UMLType findType(UMLClass context, java.lang.String name, boolean create)
context
- No description providedname
- No description providedcreate
- No description provided
public UMLType findType(UMLClass context, java.lang.String name, boolean create, boolean coobraPersistent)
context
- No description providedname
- No description providedcreate
- No description providedcoobraPersistent
- No description provided
public UMLClass getOrNewClass(java.lang.String name)
name
- Parameter description
public UMLClass getOrNewClass(java.lang.String name, boolean coobraPersistent)
name
- No description providedcoobraPersistent
- No description provided
public UMLClass getOrNewClass(UMLClass context, java.lang.String name)
context
- Parameter descriptionname
- Parameter description
public UMLClass getOrNewClass(UMLClass context, java.lang.String name, boolean coobraPersistent)
context
- No description providedname
- No description providedcoobraPersistent
- No description provided
public UMLClass findClass(UMLClass context, java.lang.String name)
context
- No description providedname
- No description provided
public UMLClass findClass(UMLClass context, java.lang.String name, boolean create)
context
- No description providedname
- No description providedcreate
- No description provided
public UMLClass findClass(UMLClass context, java.lang.String name, boolean create, boolean coobraPersistent)
context
- No description providedname
- No description providedcreate
- No description providedcoobraPersistent
- No description provided
public java.util.Iterator iteratorOfAllUndefinedMethods()
public UMLClass getClassFromImports(UMLClass context, java.lang.String name)
context
- Parameter descriptionname
- Parameter description
public UMLClass getOrNewFromReferences(java.lang.String name)
name
- full qualified class name
public UMLClass getOrNewFromReferences(java.lang.String name, boolean coobraPersistent)
name
- No description providedcoobraPersistent
- No description provided
public UMLClass findReference(java.lang.String name)
name
- No description provided
public UMLClass findReference(java.lang.String name, boolean create)
name
- No description providedcreate
- No description provided
public UMLClass findReference(java.lang.String name, boolean create, boolean coobraPersistent)
name
- No description providedcreate
- No description providedcoobraPersistent
- No description provided
public void removeAllFromDiags()
removeAllFromDiags
in class ASGProject
public UMLDiagram getFromDiags(java.lang.String name)
name
- Parameter description
public static ASGDiagram retrieveDiagramByName(java.lang.String name)
name
- The name of the diagram to search for.
public UMLTypeList getTypeList()
public void setTypeList(UMLTypeList typeList)
typeList
- The new typeList valuepublic FrameMain getGui()
public void setGui(FrameMain gui)
gui
- The new gui valuepublic boolean isSaved()
public void setSaved(boolean saved)
saved
- The new saved valuepublic boolean saveProject(java.io.File outputFile)
outputFile
- Parameter description
public static boolean isLoading()
public static void setLoading(boolean flag)
flag
- The new loading valuepublic static final UMLProject loadProject(java.io.File inputFile)
inputFile
- No description provided
public static java.lang.Object getFromObjectHashTable(java.lang.String id)
id
-
public static final UMLProject loadProject(java.io.BufferedReader reader, java.lang.String fileName)
reader
- No description providedfileName
- No description provided
public UMLDiagram getCurrentUMLDiagram()
public void refreshDisplay()
public void removeYou()
removeYou
in interface FElement
removeYou
in class ASGProject
public void deleteBackupFile()
public UMLStereotypeManager getStereotypeManager()
public void setRootPackage(FPackage rootPackage)
setRootPackage
in interface FProject
rootPackage
- The new rootPackage valuepublic FPackage getFRootPackage()
getFRootPackage
in interface FProject
public FPackage findFPackage(java.lang.String fullName, boolean create)
findFPackage
in interface FProject
fullName
- No description providedcreate
- No description provided
public FPackage findFPackage(java.lang.String fullName, boolean create, boolean coobraPersistent)
findFPackage
in interface FProject
fullName
- No description providedcreate
- No description providedcoobraPersistent
- No description provided
public FPackage getNewFromFPackages(java.lang.String fullName)
getNewFromFPackages
in interface FProject
fullName
- No description provided
public FPackage getNewFromFPackages(java.lang.String fullName, boolean coobraPersistent)
getNewFromFPackages
in interface FProject
fullName
- No description providedcoobraPersistent
- No description provided
public FPackage findFPackage(java.lang.String fullName)
findFPackage
in interface FProject
fullName
- No description provided
public FType getFromFBaseTypes(java.lang.String key)
getFromFBaseTypes
in interface FProject
key
- No description provided
public FClass getFromFReferences(java.lang.String key)
getFromFReferences
in interface FProject
key
- No description provided
public FType getOrNewFType(FClass context, java.lang.String name)
getOrNewFType
in interface FProject
context
- No description providedname
- No description provided
public FType getOrNewFType(FClass context, java.lang.String name, boolean coobraPersistent)
getOrNewFType
in interface FProject
context
- No description providedname
- No description providedcoobraPersistent
- No description provided
public FType findFType(FClass context, java.lang.String name)
findFType
in interface FProject
context
- No description providedname
- No description provided
public FType findFType(FClass context, java.lang.String name, boolean create)
findFType
in interface FProject
context
- No description providedname
- No description providedcreate
- No description provided
public FType findFType(FClass context, java.lang.String name, boolean create, boolean coobraPersistent)
findFType
in interface FProject
context
- No description providedname
- No description providedcreate
- No description providedcoobraPersistent
- No description provided
public FClass getOrNewFromFReferences(java.lang.String name)
getOrNewFromFReferences
in interface FProject
name
- No description provided
public FClass getOrNewFromFReferences(java.lang.String name, boolean coobraPersistent)
getOrNewFromFReferences
in interface FProject
name
- No description providedcoobraPersistent
- No description provided
public FClass findFReference(java.lang.String name)
findFReference
in interface FProject
name
- No description provided
public FClass findFReference(java.lang.String name, boolean create)
findFReference
in interface FProject
name
- No description providedcreate
- No description provided
public FClass findFReference(java.lang.String name, boolean create, boolean coobraPersistent)
findFReference
in interface FProject
name
- No description providedcreate
- No description providedcoobraPersistent
- No description provided
public FTypeList getFTypeList()
getFTypeList
in interface FProject
public FClass getFClassFromImports(FClass context, java.lang.String name)
getFClassFromImports
in interface FProject
context
- No description providedname
- No description provided
protected boolean isPersistencyChange(java.beans.PropertyChangeEvent e)
isPersistencyChange
in class ASGElement
e
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |