Bug 136686 - [Contributions] objectContribution enablement doc and extension schema WRONG
Summary: [Contributions] objectContribution enablement doc and extension schema WRONG
Status: RESOLVED DUPLICATE of bug 111778
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords: greatbug
Depends on: 111778
Blocks:
  Show dependency tree
 
Reported: 2006-04-13 12:56 EDT by Philippe Ombredanne CLA
Modified: 2007-06-21 15:00 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Ombredanne CLA 2006-04-13 12:56:03 EDT
Per Bug 106770, it sounds like objectstate is not supported, but objectclass is not working either: Michael Valenta pointed me to the fact that I should try instanceof instead.
Comment 1 Philippe Ombredanne CLA 2006-04-13 13:17:05 EDT
Note that the doc for the extenmsion point also contains the reference to the instanceof syntax, but that the schema and PDE still expect objectClass
Comment 2 Philippe Ombredanne CLA 2006-04-13 19:02:23 EDT
Or may be is a duplicate of bug 111778 ?
Comment 3 Michael Valenta CLA 2006-06-21 14:54:44 EDT
I'm upping the severity on this since it is had for a user to determine how to create their extension properly if the schema is wrong.

On a related note, adapt is a valid sub-element the enablement element in the objectContribution but the schema identifies this as an invalid element. This is important for Team repository providers since they need to use this expression to have their context menu items appear on the proper model elements.
Comment 4 Paul Webster CLA 2007-04-05 19:05:06 EDT
Assigning to component owner
PW
Comment 5 Paul Webster CLA 2007-06-21 15:00:53 EDT

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