Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » get the id of a view
get the id of a view [message #439318] Fri, 09 July 2004 12:57 Go to next message
Eclipse UserFriend
Originally posted by: arnauann.ufrima.imag.fr

I used multiple views of the same class, My views contains multiple
composites, I would want to know if it is possible from one of the
composite
class to get back the view or the view id which contains this composite.
Thanks.
Re: get the id of a view [message #439983 is a reply to message #439318] Mon, 19 July 2004 23:17 Go to previous message
Jelle Herold is currently offline Jelle HeroldFriend
Messages: 42
Registered: July 2009
Member
On 2004-07-09, arnauann <arnauann@ufrima.imag.fr> wrote:
> I used multiple views of the same class, My views contains multiple
> composites, I would want to know if it is possible from one of the
> composite class to get back the view or the view id which contains
> this composite. Thanks.

see Control.getParent(): "Returns the receiver's parent, which must be a
Composite or null when the receiver is a shell that was created with
null or a display for a parent."

--
http://o2w.nl/~jelle/
http://defekt.nl/
Previous Topic:Show multiple images in one view
Next Topic:Size of Text widgets
Goto Forum:
  


Current Time: Fri Apr 26 14:59:23 GMT 2024

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

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

Back to the top