public void removePanel ( AbstractPanel panel , PanelType panelType ) { validateNotNull ( panel , "panel" ) ; validateNotNull ( panelType , "panelType" ) ; removeTabPanel ( getTabbedFull ( ) , panel ) ; getTabbedFull ( ) . revalidate ( ) ; switch ( panelType ) { case SELECT : removeTabPanel ( getTabbedSelect ( ) , panel ) ; getTabbedSelect ( ) . revalidate ( ) ; break ; case STATUS : removeTabPanel ( getTabbedStatus ( ) , panel ) ; getTabbedStatus ( ) . revalidate ( ) ; break ; case WORK : removeTabPanel ( getTabbedWork ( ) , panel ) ; getTabbedWork ( ) . revalidate ( ) ; break ; default : break ; } }
Removes the given panel of given panel type from the workbench panel .