Ralph P Messages: 27 Registered: September 2010 Location: Frankfurt, Germany
Junior Member
Hello there!
Is there a way to extend/customize my System and Subsystem types in the Remote Systems View? Basically I want to add custom actions to their context menus, just like I did with my model objects:
MyModelClassAdapter extends AbstractSystemViewAdapter implements ISystemRemoteElementAdapter...
If all you want to do is add custom actions to the context menus, you don't
need to programmatically alter the RSE view adapters. You could just use
the standard Eclipse popupMenus extension point. The following is an
example from the org.eclipse.rse.examples.tutorial plugin:
The objectClass attribute indicates which RSE object to contribute the menu
item to. For example, if you wanted to contribute something to a host
object, you'd use:
objectClass="org.eclipse.rse.core.model.IHost"
I hope this helps,
Dave
"r.pakosch" <forums-noreply@eclipse.org> wrote in message
news:j234h2$oo1$1@news.eclipse.org...
> Hello there!
>
> Is there a way to extend/customize my System and Subsystem types in the
> Remote Systems View? Basically I want to add custom actions to their
> context menus, just like I did with my model objects:
> MyModelClassAdapter extends AbstractSystemViewAdapter implements
> ISystemRemoteElementAdapter...
>
> Thanks in advance!
> Ralph