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

Constructor Index

 o Project(String)
create a project with a given name

Method Index

 o addClass(NetRexxClass)
add a NetRexxClass to the project
 o addClass(String)
add a fully qualified class to the project: split into class and package and call normal method
 o addClass(String, String)
add a class with package to the project: add them into the vectors
 o equals(Object)
two projects are equal if their names and classes are
 o findClass(String, String)
find a named class in the project and return it
 o getCodeBase()
 o getName()
 o getNetRexxClasses()
 o getNetRexxCompileOptions()
 o hashCode()
 o removeClass(NetRexxClass)
remove a NetRexxClass from the project
 o removeClass(String)
remove a class from the project - uses fully qualified name
 o removeClass(String, String)
remove a class from the project
 o setCodeBase(String)
set the code base of the project, will default to an empty string
 o setName(String)
 o setNetRexxClasses(SortedListModel)
 o setNetRexxCompileOptions(String)
 o toString()
string version of project - currently just name

Constructors

 o Project
 public Project(String nm)
create a project with a given name

Methods

 o toString
 public String toString()
string version of project - currently just name

Overrides:
toString in class Object
 o addClass
 public void addClass(String className,
                      String pkgName)
add a class with package to the project: add them into the vectors

 o 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
 o addClass
 public void addClass(NetRexxClass nrxClass)
add a NetRexxClass to the project

See Also:
NetRexxClass
 o removeClass
 public void removeClass(String fullName)
remove a class from the project - uses fully qualified name

 o removeClass
 public void removeClass(String className,
                         String pkgName)
remove a class from the project

 o removeClass
 public void removeClass(NetRexxClass nrxClass)
remove a NetRexxClass from the project

Parameters:
nrxClass - - the class to be removed from the project
 o findClass
 public NetRexxClass findClass(String pkgName,
                               String clsName)
find a named class in the project and return it

 o equals
 public boolean equals(Object o)
two projects are equal if their names and classes are

Overrides:
equals in class Object
See Also:
equals
 o hashCode
 public int hashCode()
Overrides:
hashCode in class Object
See Also:
hashCode
 o setCodeBase
 public void setCodeBase(String s)
set the code base of the project, will default to an empty string

 o getName
 public String getName()
 o setName
 public void setName(String $1)
 o getCodeBase
 public String getCodeBase()
 o getNetRexxClasses
 public SortedListModel getNetRexxClasses()
 o setNetRexxClasses
 public void setNetRexxClasses(SortedListModel $2)
 o getNetRexxCompileOptions
 public String getNetRexxCompileOptions()
 o setNetRexxCompileOptions
 public void setNetRexxCompileOptions(String $3)

All Packages  Class Hierarchy  This Package  Previous  Next  Index