Bug 400932 - WorkbenchSourceProvider should expose a "workbench" and "display" variables
Summary: WorkbenchSourceProvider should expose a "workbench" and "display" variables
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Brian de Alwis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 09:45 EST by Brian de Alwis CLA
Modified: 2017-11-01 11:35 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 Brian de Alwis CLA 2013-02-15 09:45:58 EST
As noted by Paul, the WorkbenchSourceOrovider doesn't provide a variable for the workbench [1].  This makes using the org.eclipse.ui.isActivityEnabled and org.eclipse.ui.isCategoryEnabled a bit difficult to use, requiring apps to instead provide their own variables for the workbench (e.g., [2]).


[1] http://www.eclipsezone.com/eclipse/forums/t115734.html
[2] jeeyul's tools defines a net.jeeeyul.pdetools.workbench in https://github.com/jeeeyul/pde-tools/blob/master/net.jeeeyul.pdetools/plugin.xml
Comment 1 Brian de Alwis CLA 2016-04-11 10:36:37 EDT
Should add a "display" too.  And HandlerUtil should be updated appropriately.
Comment 2 Alexander Kurtakov CLA 2017-09-12 03:43:40 EDT
Move to next milestone as M2 is done. Brian, please remove target from bugs you don't plan to work on during M3.