- StructureSelectionManager ssm = ap.getStructureSelectionManager();
- if (ssm != null)
- {
- ssm.removeStructureViewerListener(AppVarna.this, null);
- ssm.removeSelectionListener(AppVarna.this);
- }
+ ssm.removeStructureViewerListener(AppVarna.this, null);
+ ssm.removeSelectionListener(AppVarna.this);