How to get EditDomain [message #132612] |
Mon, 30 October 2006 12:44 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03023 seconds