All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnr.ide.PackageListView

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JPanel
                                   |
                                   +----vnr.ide.ProjectDetailsView
                                           |
                                           +----vnr.ide.PackageListView

public class PackageListView
extends ProjectDetailsView
PackageListView for VNRJ
this class is used to display a list of classes within packages for editing

Author:
1997-11-01 dlg Created

Constructor Index

 o PackageListView()
default constructor - call super class, set border layout, add gui
 o PackageListView(Project, Desktop)
constructor that takes a project - call default constructor, and set project

Method Index

 o disableAllActions()
disable all actions
 o disableClassActions()
disable class specific actions
 o enableAllActions()
enable all actions
 o enableClassActions()
enable class specific actions
 o getAddAction()
 o getBuildAction()
 o getBuildResultsAction()
 o getEditAction()
 o getPackageTree()
 o getRemoveAction()
 o getSelectedClass()
 o getSelectedObject()
 o getTBar()
 o getWorkProject()
 o setAddAction(AddClassToCurrentProject)
 o setBuildAction(BuildCurrentClass)
 o setBuildResultsAction(OpenBuildResults)
 o setDesktop(Desktop)
set the desktop for this view
 o setEditAction(EditCurrentClass)
 o setPackageTree(JTree)
 o setRemoveAction(RemoveCurrentClass)
 o setTBar(ToolBar)
 o setWorkProject(Project)
change project - empty the list, and fetch classes from the project, adding them to it

Constructors

 o PackageListView
 public PackageListView()
default constructor - call super class, set border layout, add gui

 o PackageListView
 public PackageListView(Project prj,
                        Desktop d)
constructor that takes a project - call default constructor, and set project

Methods

 o getSelectedClass
 public NetRexxClass getSelectedClass()
Returns:
the currently selected class from the package tree
 o getSelectedObject
 public Object getSelectedObject()
Returns:
the selected object Currently only returns a netrexx class
Overrides:
getSelectedObject in class ProjectDetailsView
 o setDesktop
 public void setDesktop(Desktop d)
set the desktop for this view

Overrides:
setDesktop in class ProjectDetailsView
 o setWorkProject
 public void setWorkProject(Project prj)
change project - empty the list, and fetch classes from the project, adding them to it

Overrides:
setWorkProject in class ProjectDetailsView
 o enableAllActions
 public void enableAllActions()
enable all actions

 o disableAllActions
 public void disableAllActions()
disable all actions

 o enableClassActions
 public void enableClassActions()
enable class specific actions

 o disableClassActions
 public void disableClassActions()
disable class specific actions

 o getAddAction
 public AddClassToCurrentProject getAddAction()
 o setAddAction
 public void setAddAction(AddClassToCurrentProject $1)
 o getRemoveAction
 public RemoveCurrentClass getRemoveAction()
 o setRemoveAction
 public void setRemoveAction(RemoveCurrentClass $2)
 o getEditAction
 public EditCurrentClass getEditAction()
 o setEditAction
 public void setEditAction(EditCurrentClass $3)
 o getBuildAction
 public BuildCurrentClass getBuildAction()
 o setBuildAction
 public void setBuildAction(BuildCurrentClass $4)
 o getBuildResultsAction
 public OpenBuildResults getBuildResultsAction()
 o setBuildResultsAction
 public void setBuildResultsAction(OpenBuildResults $5)
 o getPackageTree
 public JTree getPackageTree()
 o setPackageTree
 public void setPackageTree(JTree $6)
 o getWorkProject
 public Project getWorkProject()
Overrides:
getWorkProject in class ProjectDetailsView
 o getTBar
 public ToolBar getTBar()
 o setTBar
 public void setTBar(ToolBar $7)

All Packages  Class Hierarchy  This Package  Previous  Next  Index