Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Bounds Toolbar
Bounds Toolbar [message #558733] Tue, 14 September 2010 09:02 Go to next message
Missing name Mising name is currently offline Missing name Mising name
Messages: 100
Registered: March 2010
Senior Member
Hi all

How do I get the bounds of toolbar main of eclipse??
are there any API to this?

Thanks a lot
Jose
Re: Bounds Toolbar [message #558802 is a reply to message #558733] Tue, 14 September 2010 13:45 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Jose wrote:
> How do I get the bounds of toolbar main of eclipse?? are there any API
> to this?

No. It's a coolbar with multiple toolbars. API that allows you to
contribute to it are the ActionBarAdvisor,
org.eclipse.ui.menus/menuContributions, and org.eclipse.ui.actionSets
(legacy action sets).

Why, what are you trying to do, exactly.


--
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/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Bounds Toolbar [message #558832 is a reply to message #558802] Tue, 14 September 2010 15:00 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising name
Messages: 100
Registered: March 2010
Senior Member
Hello

Thanks for your answer.
I need to know the position of EditorSashContainer of eclipse.

I try add tue positios relatives of the others parts, menu, coolBar, border of shell (window), but it isnt correcty.

Do you know how I make this?

It's very important and I am crazy for try.

Thanks a lot
Jose
Re: Bounds Toolbar [message #558908 is a reply to message #558832] Tue, 14 September 2010 20:19 Go to previous messageGo to next message
eshvar60  is currently offline eshvar60
Messages: 51
Registered: March 2010
Member
Hey Jose,

Can you explain better what you are trying to position relative to what?
Re: Bounds Toolbar [message #559040 is a reply to message #558832] Wed, 15 September 2010 12:10 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

None of that information is available through API. Once again, what are
you trying to do? Eclipse controls the perspective, layout parts (like
the editor sash container), SWT hosting composite (like the
PartPane/EditorPane).

If you are contributing an editor/view, you have a control that you can
get the exact position of (passed in through createPartControl(*)).

If you aren't contributing an editor or view, what are you tring to do?
You cannot stick a random control in the workbench window, the layout
will kill it the first chance it gets. Are you using a popup or opening
a dialog?

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/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Bounds Toolbar [message #559053 is a reply to message #559040] Wed, 15 September 2010 13:03 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising name
Messages: 100
Registered: March 2010
Senior Member
Hello and thanks you again.

I am making a translucend window that it's top on the text editor of eclipse, but it isn't part of eclipse.
I have makig all but I need get the position of EditorSashContainer to I can put the translucent window top on the text editor.

do I expleain me good?
I'm sorry for my bad english.

Thanks a lot
Jose
Re: Bounds Toolbar [message #559086 is a reply to message #559053] Wed, 15 September 2010 14:55 Go to previous messageGo to next message
eshvar60  is currently offline eshvar60
Messages: 51
Registered: March 2010
Member
So is this translucent window that you are making part of your eclipse project? Or is it completely separately implemented??

If you want you can always write your problem in English and below have the same text in Spanish(Just guessing your language).
Re: Bounds Toolbar [message #559094 is a reply to message #559086] Wed, 15 September 2010 15:21 Go to previous message
Missing name Mising name is currently offline Missing name Mising name
Messages: 100
Registered: March 2010
Senior Member
Hi Paul

Yes, the translucent windows is completely separately implemented, but in the concept this window is model to EditorSashContainer, so I need the position absolute of EditorSashContainer.
how do I get the absolute position of EditorSashContainer?

Thanks a lot again
Jose

[Updated on: Wed, 15 September 2010 15:22]

Report message to a moderator

Previous Topic:Clear workspace problem
Next Topic:.Net or Visual Basic App in RCP
Goto Forum:
  


Current Time: Thu Oct 23 17:15:54 GMT 2014

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

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