This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 254150 - Capabilities
Summary: Capabilities
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 enhancement (vote)
Target Milestone: 3.2   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 252807 253578
  Show dependency tree
 
Reported: 2008-11-05 18:26 EST by Anne Jacko CLA
Modified: 2009-04-29 19:51 EDT (History)
2 users (show)

See Also:


Attachments
mylyn/context/zip (5.83 KB, application/octet-stream)
2009-04-10 15:06 EDT, Steffen Pingel CLA
no flags Details
mylyn/context/zip (8.72 KB, application/octet-stream)
2009-04-29 04:36 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anne Jacko CLA 2008-11-05 18:26:50 EST
+++ This bug was initially created as a clone of Bug #252807 +++

Each project will provide basic capability/activity definitions to allow for their UI contributions to be hidden. These must be provided in a separate plugin/feature to facilitate inclusion/exclusion by consumers in product development.
Comment 1 Mik Kersten CLA 2008-12-12 19:31:15 EST
Steffen: My suggestion here is that we create two capabilities.

* Mylyn Task-Focused Interface
** All the focus buttons
** Preference pages

* Mylyn Task Management
** Task List view
** Task Repositories view
** Creation wizards
** Preference pages
Comment 2 Steffen Pingel CLA 2009-01-11 19:01:12 EST
Work is now in progress on bug 260537.
Comment 3 Steffen Pingel CLA 2009-03-16 16:25:18 EDT
We missed this for M6 due to a major Mylyn release this week but will complete this for M7.
Comment 4 Steffen Pingel CLA 2009-04-09 13:34:53 EDT
As per conference call: Will create a new plug-in org.eclipse.mylyn.ide.capabilities.
Comment 5 Steffen Pingel CLA 2009-04-10 14:54:06 EDT
I have committed the new plug-in and defined the following capabilities:

# Mylyn
## Task Management
## Task-Focused Interface
## WikiText

David, the WikiText capability currently applies to all extensions that have an id matching org.eclipse.mylyn.wikitext.ui.*. Please feel free to modify the plugin.xml of the capabilities plug-in as needed.

Comment 6 Steffen Pingel CLA 2009-04-10 15:06:17 EDT
Created attachment 131525 [details]
mylyn/context/zip
Comment 7 Steffen Pingel CLA 2009-04-10 15:09:15 EDT
http://wiki.eclipse.org/Galileo_Capabilities states that category bindings need to be added to the Galileo branding plug-in. The current categories do not fit for Mylyn. I have added an item to next week's meeting agenda to discuss defining additional categories.
Comment 8 David Green CLA 2009-04-10 16:44:57 EDT
perhaps the WikiText capability should also apply to o.e.m.wikitext.help.ui.*
Comment 9 Steffen Pingel CLA 2009-04-29 04:36:33 EDT
I have extended the patterns to include all Mylyn plug-ins. Disabling the Task-Focused interface hides all focus buttons. There are some problems if the Task-Focused Interface is enabled but Task Management is not: Some contributions such as the Context preferences page will be missing since the parent contribuition (Tasks page) is missing.

I was unsure about the o.e.m.team.ui contributions. I have included  those under Task-Focused Interface for now. 

David, the WikiText capability now matches all WikiText plug-ins: org\.eclipse\.mylyn\.wikitext\..*/.*. Please feel free to change that if it's too greedy.

I have moved the category definitions and bindings to the org.eclipse.galileo plug-in.
Comment 10 Steffen Pingel CLA 2009-04-29 04:36:46 EDT
Created attachment 133718 [details]
mylyn/context/zip
Comment 11 David Green CLA 2009-04-29 16:46:16 EDT
(In reply to comment #9)
> David, the WikiText capability now matches all WikiText plug-ins:
> org\.eclipse\.mylyn\.wikitext\..*/.*. Please feel free to change that if it's
> too greedy.

Looks good to me though I'm not sure how it would behave with all of Mylyn enabled except for WikiText.  Would the taskEditorExtensions be available in the repository properties dialog?  If so, how would the task editor work?  Would it have the WikiText editor (if configured to have it) and if so would things like content assist and cheat sheet help work?
Comment 12 Steffen Pingel CLA 2009-04-29 17:18:25 EDT
(In reply to comment #11)
> Looks good to me though I'm not sure how it would behave with all of Mylyn
> enabled except for WikiText.  Would the taskEditorExtensions be available in the
> repository properties dialog?  

No, the extension now checks against the enablement of the capability.

> If so, how would the task editor work?  Would it
> have the WikiText editor (if configured to have it) and if so would things like
> content assist and cheat sheet help work?

I am not sure. This needs to be tested.
Comment 13 David Green CLA 2009-04-29 19:51:09 EDT
(In reply to comment #12)
> No, the extension now checks against the enablement of the capability.

Sounds like you've got all bases covered.