public interface ClassPackageView
| Modifier and Type | Method and Description | 
|---|---|
| void | activateView()Called to indicate that the view is active. | 
| void | dispose()Dispose of this view. | 
| java.awt.Component | getComponent()Gets the default component. | 
| java.lang.String[] | getSelectedItems()Gets the one or more selected class or package names. | 
| java.lang.String | getSelection()A valid class or package name. | 
| java.lang.String | getTitle()Gets the title for this view. | 
| void | setClassAndPackageNameFilters(ClassNameFilter classNameFilter,
                             PackageNameFilter pkgNameFilter)Supplies the class with the data needed to filter classes and 
 packages. | 
| void | setFilter(ClassPackageBrowserFilterV2 filterV2)Supplies the view with a  ClassPackageBrowserFilterV2which is used to check each package and class before adding it to 
 the browser. | 
| void | setJavaManager(JavaManager javaManager)Sets the  JavaManagerfor the view. | 
| void | setMode(int classPackageMode)Indicates whether the view shows classes, packages, or both. | 
| void | setMultiSelect(boolean multiSelect)Determines whether multiple selections are allowed. | 
| void | setSelectedItems(java.lang.String[] defaultSelection)Initializes the selection in the dialog tabs. | 
| void | setSelection(java.lang.String defaultSelection)Initializes the dialog state. | 
void activateView()
java.lang.String getTitle()
java.awt.Component getComponent()
void setSelection(java.lang.String defaultSelection)
 Note:  This method is only intended to initialize the dialog 
 state. It is not a complement to getSelection() which is not
 guaranteed to return the supplied initial selection. The getSelection() method returns the resolved value, or null 
 if the resolution has not completed or the search criteria resulted in 
 no matching items.
defaultSelection - the initial search textvoid setSelectedItems(java.lang.String[] defaultSelection)
 Note:  This method is only intended to initialize the dialog 
 state. It is not a complement to getSelectedItems(), which is 
 not guaranteed to return the supplied initial selection. This method 
 returns the resolved value, or an empty array if the resolution 
 has not completed or the search criteria resulted in no matching items.
defaultSelection - an array of class and/or package namesjava.lang.String getSelection()
java.lang.String[] getSelectedItems()
void setJavaManager(JavaManager javaManager)
JavaManager for the view.javaManager - a JavaManagerJavaManagervoid setClassAndPackageNameFilters(ClassNameFilter classNameFilter, PackageNameFilter pkgNameFilter)
classNameFilter - a filter for class namespkgNameFilter - the filter for package namesClassNameFilter, 
PackageNameFiltervoid setFilter(ClassPackageBrowserFilterV2 filterV2)
ClassPackageBrowserFilterV2 
 which is used to check each package and class before adding it to 
 the browser.filterV2 - ClassPackageBrowserFilterV2void setMultiSelect(boolean multiSelect)
multiSelect - when true, multiple selection is
  allowed, otherwise it's notvoid setMode(int classPackageMode)
classPackageMode - the ClassPackageBrowserV2 mode, class, package
  or classes and packagesClassPackageBrowserV2.PACKAGE_ONLY, 
ClassPackageBrowserV2.CLASS_ONLY, 
ClassPackageBrowserV2.CLASS_AND_PACKAGEvoid dispose()