Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Register preferences action on cocoa
Register preferences action on cocoa [message #485726] Mon, 14 September 2009 12:48 Go to next message
Eclipse UserFriend
Originally posted by: victor.conesa.justinmind.com

Hi all,

I've recently move from eclipse 3.4 to eclipse 3.5 and I ve found some
problems. I have a RCP application running on MacOS that was previously
runned over Carbon and now is running over Cocoa. The first issue is how to
make the Preferences appear at the Main Menu of the application. The other
is how to register my own About action. I've search over the web some weeks
but I didn't found any clues. Could you please give me a hand on this?

Thanks in advance!
Re: Register preferences action on cocoa [message #485734 is a reply to message #485726] Mon, 14 September 2009 13:18 Go to previous messageGo to next message
Eclipse UserFriend
You want the eclipse platform or RCP newsgroups.

See how the openPreferencesAction is added in org.eclipse.ui.internal.ide.WorkbenchActionBuilder

PW
Re: Register preferences action on cocoa [message #485836 is a reply to message #485734] Tue, 15 September 2009 05:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: victor.conesa.justinmind.com

Thanks, I will post the message on the rcp newsgroup then.
"Paul Webster" <pwebster@ca.ibm.com> escribi
Re: Register preferences action on cocoa [message #488289 is a reply to message #485734] Sun, 27 September 2009 13:58 Go to previous messageGo to next message
Eclipse UserFriend
Yeah but how do you do it if you use SWT only?
No Workbench, no RCP.

cheers
Peter

On 14.09.09 19:18, Paul Webster wrote:
> You want the eclipse platform or RCP newsgroups.
>
> See how the openPreferencesAction is added in
> org.eclipse.ui.internal.ide.WorkbenchActionBuilder
>
> PW
>
Re: Register preferences action on cocoa [message #488394 is a reply to message #488289] Mon, 28 September 2009 10:14 Go to previous message
Eclipse UserFriend
You would need to write something like http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.coco a/src/org/eclipse/ui/internal/cocoa/CocoaUIEnhancer.java?vie w=co

That accesses the Cocoa specific SWT classes to hook into the Mac OS

PW
Previous Topic:I can't scale my images.
Next Topic:SWT Slider does not work on RHEL4
Goto Forum:
  


Current Time: Tue Jul 08 05:37:00 EDT 2025

Powered by FUDForum. Page generated in 0.07548 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top