Bug 387547 - extension points must specify available variables for <enablement> elements
Summary: extension points must specify available variables for <enablement> elements
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Doc (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Doc-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2012-08-19 04:05 EDT by Markus Keller CLA
Modified: 2020-03-24 09:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2012-08-19 04:05:10 EDT
All extension points that use the <enablement> element must specify the available variables and their types. See e.g. quickFixProcessor:

&lt;p&gt;
This extension point supports the &lt;code&gt;enablement&lt;/code&gt; tag. Properties to test on are:
&lt;dl&gt;
&lt;li&gt;compilationUnit: type ICompilationUnit; the compilation unit the quick assist is applied on&lt;/li&gt;

&lt;li&gt;projectNatures: type Collection; all project natures of the current project&lt;/li&gt;
&lt;li&gt;sourceLevel: type String; the source compliance of the current project&lt;/li&gt;
&lt;/dl&gt;
&lt;/p&gt;
Comment 1 Markus Keller CLA 2012-08-19 04:05:47 EDT
I'll make a pass over the SDK.
Comment 2 Markus Keller CLA 2013-06-05 18:51:51 EDT
Updated the eclipse.jdt.ui doc with http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=b1685b025876ed72aedfc8c7af59129b19055e7d

Moving to 4.4 for the rest.
Comment 3 Dani Megert CLA 2013-06-10 10:25:42 EDT
(In reply to comment #2)
> Updated the eclipse.jdt.ui doc with
> http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/
> ?id=b1685b025876ed72aedfc8c7af59129b19055e7d

This will only be in 4.3 in case there's a rebuild.
Comment 4 Markus Keller CLA 2013-06-10 11:05:09 EDT
> This will only be in 4.3 in case there's a rebuild.

Just to avoid any confusion: The commit is in I20130605-2000 (4.3 RC4), but because org.eclipse.jdt.doc.isv has not been touched, the changes didn't end up in the generated help docs. A rebuild would also pick up bug 410053, which would create a new version of org.eclipse.jdt.doc.isv.
Comment 5 Eclipse Genie CLA 2020-03-24 09:36:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.