/** Close the properties dialog if it is open. */ public void closePropertiesDialog() { if (propertiesDialog != null) { propertiesDialog.close(); } }