Community
Participate
Working Groups
I hope for the support of the activity management for Mylyn function and connector - The activity management of Connector - The activity management of Task Presentation action - The activity management of Help contents part (Wikitext only). - The activity management of menu action (Sub-menu).
Created attachment 122093 [details] screenshot.png
Created attachment 122096 [details] org.eclipse.mylyn.patch It is necessary to describe the extension definition for the activity in the plug-in. A base activity definition is described in org.eclipse.mylyn plug-in. Two another plug-ins are necessary so that three release packages may exist.
Created attachment 122097 [details] org.eclipse.mylyn.extras.zip One is for org.eclipse.mylyn.extras-sdk feature in Mylyn Extras package. New project => org.eclipse.mylyn.extras plug-in is made.
Created attachment 122098 [details] org.eclipse.mylyn.experimental.zip Another is for org.eclipse.mylyn.experimental-sdk feature in Mylyn Incubator package. New project = org.eclipse.mylyn.experimental plug-in is made.
Created attachment 122100 [details] mylyn-features.patch The plug-in corresponding to Mylyn Extras and Incubatorn features are changed.
Created attachment 122101 [details] extension_ids.patch Necessary extension id is defined for the activity management.
Created attachment 122102 [details] plugin_ver.patch The eclipse version of the plug-in is changed for the activity control. How to handle extension id is different in the case of 3.0 and 3.2. It match to another plug-in with it so that how to handle extension id may become the same.
Created attachment 122103 [details] org.eclipse.mylyn.task.core.patch The processing of the activity management is added.
Created attachment 122104 [details] org.eclipse.mylyn.task.ui.patch The processing of the activity management is added.
Created attachment 122116 [details] org.eclipse.mylyn.sandbox.ui.patch The processing of the activity management is added.
Thanks Hiroyuki. I'll need some time to review and understand how activities work. I have scheduled this bug for 3.2 so we can get to it in time for Galileo.
*** Bug 163537 has been marked as a duplicate of this bug. ***
The bug was found to the activity management, and reported. Bug 261622 View shortcut is displayed in the Show View's sub-menu if the activity was disabled "Task List" is displayed in the sub-menu of "Window" > "Show View" when the all activity definition (include org.eclipse.mylyn.task.ui) of Mylyn is disabled.
Created attachment 133707 [details] similar approach for tasks.ui
Created attachment 133708 [details] mylyn/context/zip
Thanks for your efforts Hiroyuki! This helped a lot to understand Capabilities. I have taken a similar approach in my patch to comply with the Galileo Capability requirement. I haven't enabled capability checking for connector contributions since we don't have a good story for hiding those in all applicable places. Tasks would still show in the task list and most other integrations points such as hyperlinking, duplicate detection, sychronizations etc. would still also apply. If there is a use case for installing a connector and not making it visible in the UI we can reconsider. I didn't apply the changes for IDynamicSubMenuContributor since the extension point is only intended for internal use and should be replaced with the corresponding platform extension mechanism (e.g. the org.eclipse.menu extension point).
Which plug-in was defined as follows ? - category definition - categoryActivityBinding - defaultEnablement - activityPatternBinding for sandbox.ui and monitor.usage
When the WikiText activity is disabled, the kind of WikiText editor is displayed in the editor selection part of the repository setting. WorkbenchUtil.allowUseOf method support IPluginContribution and String only. Therefore, " if (WorkbenchUtil.allowUseOf(extension)) " is true always.
I think that you should define the dependence of the activity. <activityRequirementBinding activityId="org.eclipse.mylyn.capabilities.taskFocusedInterface" requiredActivityId="org.eclipse.mylyn.capabilities.taskManagement" />
(In reply to comment #17) > Which plug-in was defined as follows ? > - category definition > - categoryActivityBinding > - defaultEnablement The definition above was found. dev.eclipse.org:/cvsroot/callisto / org.eclipse.galileo Is rg.eclipse.galileo included in Eclipse SDK (Eclipse Classic) ? I think that all activities of Mylyn enter the state that cannot be used when rg.eclipse.galileo is not included.
If the task editor is opened when all Mylyn Activity is disabled, the AssertionFailedException is generated. This is due to the following modifications. if (pageFactory.canCreatePageFor(getTaskEditorInput()) && WorkbenchUtil.allowUseOf(pageFactory)) { No page is made. Then, setActivePage(0) was executed. And, the AssertionFailedException was occurred.
You have raised valid point Hiroyuki. Following the Galileo requirements all category definitions and bindings are part of the org.eclipse.galileo plug-in. The Mylyn capabilities plug-in is only distributed as part of Galileo so the default enablement should not be a problem. The failing task editor is not great and needs better error handling. At the moment disabling the Task Management capability and still using the Task Editor and Task List is unsupported.
There is one question. The reason that the following do not define? - sandbox.ui plug-in - monitor.usage plug-in
And, Please judge whether comment #18 is a bug.
I missed comment 18. Reopening to investigate that. We currently don't have a driver to support capabilities for sandbox plug-ins as these are not distributed as part of Galileo. Do you have a requirement for those capabilities?
Fixed bug pointed out in comment 18.