Eclipse plugin development: how to avoid an obsolete ActionSet?

In the official Eclipse plugin development tutorial, I copied the following code to define a new button in my plugin.xml

<extension point = "org.eclipse.ui.actionSets">
        <actionSet
            id="org.eclipse.examples.helloworld.HelloWorldActionSet"
            label="Hello World"
        visible="true"
        description="The action set for the Eclipse Hello World example">
        <menu
        id="org.eclipse.examples.helloworld.HelloWorldMenu"
        label="Samples">
        <separator name="samples"/>
        </menu>
        <action id="org.eclipse.examples.helloworld.actions.HelloWorldAction"
        menubarPath="org.eclipse.examples.helloworld.HelloWorldMenu/samples"
        toolbarPath="Normal"            
        label="Hello World"
        tooltip="Press to see a message"
        icon="icons/helloworld.gif"
        class="org.eclipse.examples.helloworld.HelloWorldAction"/>
        </actionSet>
    </extension>

But unfortunately, I get some outdated warnings. Especially for an extension point and a set of actions. I could not find any information on how to avoid this. Any clues?

+5
source share
1 answer

The problem is that the entire infrastructure of action is outdated. Currently, teams are used instead. You can find more information about commands, such as eclipse-tips.com or vogella.com .

+8

All Articles