Skip to main content



      Home
Home » Archived » Visual Editor (VE) » list of field name property
list of field name property [message #109322] Mon, 10 October 2005 22:00 Go to next message
Eclipse UserFriend
Hi,

How do I get a list of field name property of all the widgets drawn on the
Shell. or the BeanList of the Shell in the Java beans view in the visual
editor.

Thanks,
Sridevi
Re: list of field name property [message #109393 is a reply to message #109322] Wed, 12 October 2005 10:32 Go to previous messageGo to next message
Eclipse UserFriend
The hierarchy of the graphical widgets can be got by looking at the EMF
model constructed. To determine the field names please have a look at
how the hover-help is implemented for the graphical widgets, which shows
the field name of that component.
Regards,
Sri.


Sridevi Kovvali wrote:
> Hi,
>
> How do I get a list of field name property of all the widgets drawn on
> the Shell. or the BeanList of the Shell in the Java beans view in the
> visual editor.
> Thanks,
> Sridevi
>
>
>
Re: list of field name property [message #109723 is a reply to message #109393] Mon, 17 October 2005 15:54 Go to previous message
Eclipse UserFriend
Hi Sri,

Thanks for the response. I would appreciate if you can provide more
details on it. I also have a couple of questions. Is there a way I can get
the hierarchy without using the EMF model. Right now the source is the
model for us. What for Bean declartion Model is used for?
Which model should be used as a Base to get all the details.

I was looking for something like
BeanUtilities.getDisplayName(widget,editDomain)
I am not sure where to put it and how to pass the current editDomain.

I was looking for some handles to reuse the API, I couldn't find any
examples out there

I looked at the hover help example. But I have a Visual editor with a
Shell when I open it. If I have to listen to mouse events then I have to
manually add the code in the source editor which is not what I want to do.
I need to get the hierarcy of widgets, list of widgets drawn on the
shell, and list of objects associated with each widget programmatically.
For the time being Shell is my container.

For example I can get the list of widgets like

Control[] children = sShell.getChildren();

But I need to add it manually in the source editor



BTW, Is the Spelling Bee Gunturi anyway related to you?

Thanks and Regards,
Sridevi
Re: list of field name property [message #611176 is a reply to message #109322] Wed, 12 October 2005 10:32 Go to previous message
Eclipse UserFriend
The hierarchy of the graphical widgets can be got by looking at the EMF
model constructed. To determine the field names please have a look at
how the hover-help is implemented for the graphical widgets, which shows
the field name of that component.
Regards,
Sri.


Sridevi Kovvali wrote:
> Hi,
>
> How do I get a list of field name property of all the widgets drawn on
> the Shell. or the BeanList of the Shell in the Java beans view in the
> visual editor.
> Thanks,
> Sridevi
>
>
>
Re: list of field name property [message #611208 is a reply to message #109393] Mon, 17 October 2005 15:54 Go to previous message
Eclipse UserFriend
Hi Sri,

Thanks for the response. I would appreciate if you can provide more
details on it. I also have a couple of questions. Is there a way I can get
the hierarchy without using the EMF model. Right now the source is the
model for us. What for Bean declartion Model is used for?
Which model should be used as a Base to get all the details.

I was looking for something like
BeanUtilities.getDisplayName(widget,editDomain)
I am not sure where to put it and how to pass the current editDomain.

I was looking for some handles to reuse the API, I couldn't find any
examples out there

I looked at the hover help example. But I have a Visual editor with a
Shell when I open it. If I have to listen to mouse events then I have to
manually add the code in the source editor which is not what I want to do.
I need to get the hierarcy of widgets, list of widgets drawn on the
shell, and list of objects associated with each widget programmatically.
For the time being Shell is my container.

For example I can get the list of widgets like

Control[] children = sShell.getChildren();

But I need to add it manually in the source editor



BTW, Is the Spelling Bee Gunturi anyway related to you?

Thanks and Regards,
Sridevi
Previous Topic:Adding a SelectionListener to a TabFolder confuses VE parser
Next Topic:My Modal Dialog (again)
Goto Forum:
  


Current Time: Sat Jul 19 15:46:08 EDT 2025

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

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

Back to the top