2011-12-16 11 views
5

एक अधिकारी ने ग्रहण प्लगइन विकास ट्यूटोरियल से, मैं अपने 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> 

में एक नया बटन को परिभाषित करने के लिए निम्न कोड की नकल की लेकिन दुर्भाग्य से, मैं कुछ पदावनत चेतावनी मिलता है। विस्तार बिंदु और कार्यवाही के लिए Especiall। मुझे कोई जानकारी नहीं मिली कि इससे कैसे बचें। कोई संकेत?

उत्तर

8

समस्या यह है कि पूरे कार्य ढांचे को हटा दिया गया है। आजकल, कोई इसके बजाय कमांड का उपयोग करता है। उदाहरण के लिए आप eclipse-tips.com या vogella.com के लिए कमांड के बारे में अधिक जानकारी प्राप्त कर सकते हैं।

संबंधित मुद्दे