Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 153011 - [Contributions] Possible problem in org.eclipse.ui.popupMenus schema
Summary: [Contributions] Possible problem in org.eclipse.ui.popupMenus schema
Status: RESOLVED DUPLICATE of bug 111778
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 16:35 EDT by Konstantin Scheglov CLA
Modified: 2007-06-22 15:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Scheglov CLA 2006-08-07 16:35:32 EDT
For declarations below PDE editor complains: Element 'test' is not legal as a child of element 'enablement'. However it works when I run it. May be problem in org.eclipse.ui.popupMenus extension point schema?

  <extension point="org.eclipse.ui.popupMenus">
    <objectContribution adaptable="true" id="com.swtdesigner.gwt.objectContribution.package"
      objectClass="org.eclipse.jdt.core.IPackageFragment">
      <menu id="com.swtdesigner.gwt.menu.package" label="Google Web Toolkit" path="group.new">
        <groupMarker name="content"/>
      </menu>
      <action class="com.swtdesigner.gwt.actions.NewServiceAction"
        id="com.swtdesigner.gwt.actions.NewServiceAction" label="GWT Remote service"
        menubarPath="com.swtdesigner.gwt.menu.package/content"/>
      <enablement>
        <test property="com.swtdesigner.gwt.isClientPackage"/>
      </enablement>
    </objectContribution>
  </extension>
Comment 1 Paul Webster CLA 2007-04-05 19:05:23 EDT
Assigning to component owner
PW
Comment 2 Paul Webster CLA 2007-06-22 15:05:40 EDT

*** This bug has been marked as a duplicate of bug 111778 ***