All Packages Class Hierarchy This Package Previous Next Index
Class vnr.ide.Project
java.lang.Object
|
+----vnr.ide.Project
- public class Project
- extends Object
Project class for vnrj
holds class and package names
Updated on 1998-03-23 to have a SortedListModel to hold the NetRexx classes, rather than using two vectors
The idea is that soon a project will have other types added to it, including HTML files, java classes, images etc...
- Author:
- dIon 1998-02-??
- See Also:
- SortedListModel, String, Category
-
Project(String)
- create a project with a given name
-
addClass(NetRexxClass)
- add a NetRexxClass to the project
-
addClass(String)
- add a fully qualified class to the project:
split into class and package and call normal
method
-
addClass(String, String)
- add a class with package to the project:
add them into the vectors
-
equals(Object)
- two projects are equal if their names and classes are
-
findClass(String, String)
- find a named class in the project and return it
-
getCodeBase()
-
-
getName()
-
-
getNetRexxClasses()
-
-
getNetRexxCompileOptions()
-
-
hashCode()
-
-
removeClass(NetRexxClass)
- remove a NetRexxClass from the project
-
removeClass(String)
- remove a class from the project - uses fully qualified name
-
removeClass(String, String)
- remove a class from the project
-
setCodeBase(String)
- set the code base of the project, will default to an empty string
-
setName(String)
-
-
setNetRexxClasses(SortedListModel)
-
-
setNetRexxCompileOptions(String)
-
-
toString()
- string version of project - currently just name
Project
public Project(String nm)
- create a project with a given name
toString
public String toString()
- string version of project - currently just name
- Overrides:
- toString in class Object
addClass
public void addClass(String className,
String pkgName)
- add a class with package to the project:
add them into the vectors
addClass
public void addClass(String fullName)
- add a fully qualified class to the project:
split into class and package and call normal
method
- See Also:
- addClass
addClass
public void addClass(NetRexxClass nrxClass)
- add a NetRexxClass to the project
- See Also:
- NetRexxClass
removeClass
public void removeClass(String fullName)
- remove a class from the project - uses fully qualified name
removeClass
public void removeClass(String className,
String pkgName)
- remove a class from the project
removeClass
public void removeClass(NetRexxClass nrxClass)
- remove a NetRexxClass from the project
- Parameters:
- nrxClass - - the class to be removed from the project
findClass
public NetRexxClass findClass(String pkgName,
String clsName)
- find a named class in the project and return it
equals
public boolean equals(Object o)
- two projects are equal if their names and classes are
- Overrides:
- equals in class Object
- See Also:
- equals
hashCode
public int hashCode()
- Overrides:
- hashCode in class Object
- See Also:
- hashCode
setCodeBase
public void setCodeBase(String s)
- set the code base of the project, will default to an empty string
getName
public String getName()
setName
public void setName(String $1)
getCodeBase
public String getCodeBase()
getNetRexxClasses
public SortedListModel getNetRexxClasses()
setNetRexxClasses
public void setNetRexxClasses(SortedListModel $2)
getNetRexxCompileOptions
public String getNetRexxCompileOptions()
setNetRexxCompileOptions
public void setNetRexxCompileOptions(String $3)
All Packages Class Hierarchy This Package Previous Next Index