Skip to content
Snippets Groups Projects
Commit 5a00c01b authored by Johannes Eder's avatar Johannes Eder
Browse files

bug fix

refs 1841
parent a4121e00
No related branches found
No related tags found
No related merge requests found
......@@ -75,4 +75,15 @@ public abstract class AnnotationViewPartBase2 extends ViewPart implements ISelec
getSite().getWorkbenchWindow().getSelectionService().addSelectionListener(this);
}
/** Returns currentlySelectedObject. */
public IModelElement getCurrentlySelectedObject() {
return currentlySelectedObject;
}
/** {@inheritDoc} */
@Override
public void dispose() {
getSite().getWorkbenchWindow().getSelectionService().removeSelectionListener(this);
super.dispose();
}
}
......@@ -53,7 +53,7 @@ import org.fortiss.tooling.kernel.service.IPersistencyService;
* @version $Rev$
* @ConQAT.Rating RED Hash:
*/
public class GenericAnnotationView extends AnnotationViewPartBase {
public class GenericAnnotationView extends AnnotationViewPartBase2 {
/** mapping of {@link IAnnotatedSpecification} -> TableViewerColumn */
private HashMap<Class<? extends IAnnotatedSpecification>, TableViewerColumn> columns =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment