}
}
public void componentClosed(ComponentClosedEvent e) {
InterfaceAIFComponent compClosed = e.getComponentClosed();
if (compClosed == null) {
return;
}
if (!(compClosed instanceof TCComponentQuery)) {
if (appTaskPane.getPerspectiveId() == null || !appTaskPane.getPerspectiveId().equals(PitConBrowserPerspective.ID)) {
return;
}
}
try {
String closedCompId = compClosed.getUid();
if (!(compClosed instanceof TCComponentQuery)) {
removeSectionComponents(new String[] { closedCompId });
} else {
Object[] additionInfo = e.getAdditionalInfo();
removeQuerySectionComponent(closedCompId, (String) additionInfo[0]);