|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.kernel.ProjectFactory
public class ProjectFactory
Factory for creating new Project instances.
Consumers who need an instance of a Project should use this factory to get an instance which implements the Project interface. This allows us to decouple the specification from its implementation and break the dependency cycle that would otherwise exist between Projects and ArgoDiagrams.
Method Summary | |
---|---|
Project |
createProject()
Create a new empty project. |
Project |
createProject(java.net.URI uri)
Create a project with the given URI as its location |
static ProjectFactory |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Project createProject()
public Project createProject(java.net.URI uri)
uri
- the URI to use as the name/location of the project
public static ProjectFactory getInstance()
|
||||||||||
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 |