Skip to content
Snippets Groups Projects
Commit 8169d780 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

YELLOW

refs 2460
parent ba2a0560
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ $Id$
package org.fortiss.tooling.kernel.ui.internal.introspection.details.handler;
import org.conqat.ide.commons.ui.jface.TreeContentProviderBase;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.TableLabelProviderBase;
......@@ -41,7 +42,7 @@ import org.fortiss.tooling.kernel.ui.service.IContextMenuService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: DA0281EA2D8288D15517D8E94848A418
* @ConQAT.Rating YELLOW Hash: 2317ED1B855E2808C77B5D49E516738C
*/
public final class ContextMenuServiceIntrospectionDetailsUIHandler extends
IntrospectionDetailsUIHandlerBase {
......@@ -106,6 +107,19 @@ public final class ContextMenuServiceIntrospectionDetailsUIHandler extends
};
}
/** {@inheritDoc} */
@Override
protected boolean testSelection(Object selection) {
return selection instanceof IContextMenuContributor;
}
/** {@inheritDoc} */
@Override
protected void populateContextMenu(Object selection, MenuManager mgr) {
IContextMenuContributor c = (IContextMenuContributor)selection;
mgr.add(createCopyClassNameAction(c.getClass()));
}
/** {@inheritDoc} */
@Override
protected PatternFilter createPatternFilter() {
......
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