[jboss-cvs] jbosside/core/plugins/org.jboss.ide.eclipse.packages.ui/schema ...

Marshall Culpepper mculpepper at jboss.com
Sat Feb 17 12:31:38 EST 2007


  User: mculpepper
  Date: 07/02/17 12:31:38

  Added:       core/plugins/org.jboss.ide.eclipse.packages.ui/schema 
                        nodePopupMenus.exsd
  Log:
  implemented "nodePopupMenus" extension point, allowing for contributions to the node context menu based on the type of node being currently selected. see the stub NodePropertiesAction extension in plugin.xml for an example.
  
  Revision  Changes    Path
  1.1      date: 2007/02/17 17:31:38;  author: mculpepper;  state: Exp;jbosside/core/plugins/org.jboss.ide.eclipse.packages.ui/schema/nodePopupMenus.exsd
  
  Index: nodePopupMenus.exsd
  ===================================================================
  <?xml version='1.0' encoding='UTF-8'?>
  <!-- Schema file written by PDE -->
  <schema targetNamespace="org.jboss.ide.eclipse.packages.ui">
  <annotation>
        <appInfo>
           <meta.schema plugin="org.jboss.ide.eclipse.packages.ui" id="nodePopupMenus" name="Popup Menus for IPackageNodes"/>
        </appInfo>
        <documentation>
           [Enter description of this extension point.]
        </documentation>
     </annotation>
  
     <element name="extension">
        <complexType>
           <sequence minOccurs="0" maxOccurs="unbounded">
              <element ref="nodeContribution"/>
           </sequence>
           <attribute name="point" type="string" use="required">
              <annotation>
                 <documentation>
                    
                 </documentation>
              </annotation>
           </attribute>
           <attribute name="id" type="string">
              <annotation>
                 <documentation>
                    
                 </documentation>
              </annotation>
           </attribute>
           <attribute name="name" type="string">
              <annotation>
                 <documentation>
                    
                 </documentation>
                 <appInfo>
                    <meta.attribute translatable="true"/>
                 </appInfo>
              </annotation>
           </attribute>
        </complexType>
     </element>
  
     <element name="nodeContribution">
        <annotation>
           <appInfo>
              <meta.element labelAttribute="label" icon="icon"/>
           </appInfo>
        </annotation>
        <complexType>
           <attribute name="id" type="string" use="required">
              <annotation>
                 <documentation>
                    
                 </documentation>
              </annotation>
           </attribute>
           <attribute name="label" type="string" use="required">
              <annotation>
                 <documentation>
                    
                 </documentation>
                 <appInfo>
                    <meta.attribute translatable="true"/>
                 </appInfo>
              </annotation>
           </attribute>
           <attribute name="class" type="string" use="required">
              <annotation>
                 <documentation>
                    
                 </documentation>
                 <appInfo>
                    <meta.attribute kind="java" basedOn="org.eclipse.ui.IViewActionDelegate"/>
                 </appInfo>
              </annotation>
           </attribute>
           <attribute name="icon" type="string">
              <annotation>
                 <documentation>
                    
                 </documentation>
                 <appInfo>
                    <meta.attribute kind="resource"/>
                 </appInfo>
              </annotation>
           </attribute>
           <attribute name="enablesForNodeType" use="default" value="any">
              <annotation>
                 <documentation>
                    
                 </documentation>
              </annotation>
              <simpleType>
                 <restriction base="string">
                    <enumeration value="any">
                    </enumeration>
                    <enumeration value="package">
                    </enumeration>
                    <enumeration value="folder">
                    </enumeration>
                    <enumeration value="fileset">
                    </enumeration>
                 </restriction>
              </simpleType>
           </attribute>
           <attribute name="weight" type="string">
              <annotation>
                 <documentation>
                    
                 </documentation>
              </annotation>
           </attribute>
        </complexType>
     </element>
  
     <annotation>
        <appInfo>
           <meta.section type="since"/>
        </appInfo>
        <documentation>
           [Enter the first release in which this extension point appears.]
        </documentation>
     </annotation>
  
     <annotation>
        <appInfo>
           <meta.section type="examples"/>
        </appInfo>
        <documentation>
           [Enter extension point usage example here.]
        </documentation>
     </annotation>
  
     <annotation>
        <appInfo>
           <meta.section type="apiInfo"/>
        </appInfo>
        <documentation>
           [Enter API information here.]
        </documentation>
     </annotation>
  
     <annotation>
        <appInfo>
           <meta.section type="implementation"/>
        </appInfo>
        <documentation>
           [Enter information about supplied implementation of this extension point.]
        </documentation>
     </annotation>
  
     <annotation>
        <appInfo>
           <meta.section type="copyright"/>
        </appInfo>
        <documentation>
           
        </documentation>
     </annotation>
  
  </schema>
  
  
  



More information about the jboss-cvs-commits mailing list