Home » Eclipse Projects » Eclipse Platform » how to contribute to problems view
| |
Re: how to contribute to problems view [message #324336 is a reply to message #324298] |
Tue, 22 January 2008 21:32   |
Eclipse User |
|
|
|
Hi, Paul:
The link list is very useful, Thanks!
But, unfortunately my contributed handler can't access the current selected
marker because Problem view does not expose useful public accessors, such as
"getSelection()", it only supplies a "setSelection()" public method, hoho~~~
And I believe that there are other views that do not supply useful public
accessors, because that they haven't considered the new menu contribution
situation.
So, should I raise a enhancement bug?
"Paul Webster" <pwebster@ca.ibm.com> 写入消息
news:fn4u2m$k96$3@build.eclipse.org...
> That was a proposed usecase to see if the new menu contributions in 3.3
> could support the problems view. There is no supporting code.
>
> However if you look at org.eclipse.ui.ide/plugin.xml there should be a
> lot of examples in HEAD of adding commands/handlers/menu contributions
> to the new problems view.
>
> Also check out the help link listed below, it discusses commands,
> handlers, and then placing references to the commands in menus and
> toolbars (menu contributions)
>
> PW
>
>
> --
> Paul Webster
> http://wiki.eclipse.org/Platform_Command_Framework
> http://wiki.eclipse.org/Command_Core_Expressions
> http://wiki.eclipse.org/Menu_Contributions
> http://wiki.eclipse.org/Menus_Extension_Mapping
> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
|
|
| | |
Goto Forum:
Current Time: Tue Jul 15 02:50:06 EDT 2025
Powered by FUDForum. Page generated in 0.07125 seconds
|