Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Register preferences action on cocoa
Register preferences action on cocoa [message #485726] Mon, 14 September 2009 16: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 17:18 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 09: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 17:58 Go to previous messageGo to next message
Peter Kanzler is currently offline Peter KanzlerFriend
Messages: 9
Registered: July 2009
Junior Member
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 14:14 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Thu Apr 18 01:36:24 GMT 2024

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

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

Back to the top