Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » How to get EditDomain
How to get EditDomain [message #132612] Mon, 30 October 2006 12:44 Go to next message
Eclipse UserFriend
Originally posted by: yudin.developonbox.ru

Help me please!

I want to change some objects properties by selecting my menu item.
For access to the objects I use:
TreeIterator tr=fEditDomain.getDiagramData().eAllContents();

where fEditDomain - EditDomain

How I can to get fEditDomain from my method that invokes then menu item
selected?
Re: How to get EditDomain [message #132655 is a reply to message #132612] Tue, 31 October 2006 15:33 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Assuming your menu is being popped up from a selected Editpart, i.e.
through the graphical viewer of the beans list view, then the selected
editpart can be used to find the domain:

cde.EditDomain.getEditDomain(EditPart ep)

Alexey Yudin wrote:
> Help me please!
>
> I want to change some objects properties by selecting my menu item. For
> access to the objects I use: TreeIterator
> tr=fEditDomain.getDiagramData().eAllContents();
>
> where fEditDomain - EditDomain
>
> How I can to get fEditDomain from my method that invokes then menu item
> selected?
>
>

--
Thanks,
Rich Kulp
Re: How to get EditDomain [message #614743 is a reply to message #132612] Tue, 31 October 2006 15:33 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Assuming your menu is being popped up from a selected Editpart, i.e.
through the graphical viewer of the beans list view, then the selected
editpart can be used to find the domain:

cde.EditDomain.getEditDomain(EditPart ep)

Alexey Yudin wrote:
> Help me please!
>
> I want to change some objects properties by selecting my menu item. For
> access to the objects I use: TreeIterator
> tr=fEditDomain.getDiagramData().eAllContents();
>
> where fEditDomain - EditDomain
>
> How I can to get fEditDomain from my method that invokes then menu item
> selected?
>
>

--
Thanks,
Rich Kulp
Previous Topic:VE displays JTabbedPane incorrectly
Next Topic:remote/debug/vmtraceout
Goto Forum:
  


Current Time: Fri Apr 26 08:54:01 GMT 2024

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

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

Back to the top