|
Re: EditorContributors [message #96532 is a reply to message #96472] |
Fri, 18 July 2003 14:30 |
Eclipse User |
|
|
|
Originally posted by: simon.ibm.oti.lab
IEditorPart.getEditorSite().getActionBarContributor()
Simon :-)
"Andy Yang" <ayang_ml3@yahoo.com> wrote in message
news:bf8rjb$7u9$1@eclipse.org...
> Hello,
>
> I'm not sure if I fully understand the nuances of Editors and
> EditorContributors - is there a way for the Editor to get a reference to
> its Contributor?
>
> I'm implementing my Actions as inner classes extending
> org.eclipse.jface.action.Action in the EditorContributor. This allows me
> to add them to the ToolBars and the Menu. Is this the correct approach?
>
> However, what is the recommended approach to producing PopUp/Context
> menus in the Editor itself?
>
> Thanks,
> Andy
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03077 seconds