/**
* Perform the action.
*/
public void perform()
{
IDisplay display = (IDisplay) Client.instance().getClientGUI().getDesktopManager().getDisplay(queryPaneId);
if (display != null)
{
GUIPane guiPane = display.getGUIPane();
((QueryPane) guiPane).refreshQuery();
}
display = (IDisplay) Client.instance().getClientGUI().getDesktopManager().getDisplay(onScreenUniqueId);
if (display != null)
{
DataObjectGUIPane dataObjectGUIPane = (DataObjectGUIPane) display.getGUIPane();
if (dataObjectGUIPane.isToCloseAfterSave())
{
OtherJDesktopPane odp = (OtherJDesktopPane) ((SwingDesktopManager) Client.instance().getClientGUI()
.getDesktopManager()).getDesktopPane(display.getDesktopId());
odp.closeAll();
}
}
}