PropertySheet [message #210226] |
Thu, 23 February 2006 13:07 |
Eclipse User |
|
|
|
Originally posted by: naughtyboy.symbi.gmail.com
I have a issue with the Property Sheet .
I have used IBM RedBook Example (Page no 206),as the base for the property
sheet.
Now according to the model i have Pool, which has a reference to process.
Now i want to incoroporate the features of process inside pool's
propertysheet.
If i do the way it is done in the example , in the place of process i get
the instance of process that i have added to pool. But what i want is
instead of just the instance all the features i.e attributes should be
visible in the propertysheet, so that i can edit them from the property
sheet at the same time as the pool
I welcome ideas & suggestions.
Sending you a link which gives a view of our EMF model
( http://geocities.com/onlymohabbat/Pool_Process_23_feb_06.JPG)
Thanks
Satyam
|
|
|
Re: PropertySheet [message #210242 is a reply to message #210226] |
Thu, 23 February 2006 14:40 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
If you want properties of a property, then the object that is returned as
the current value needs to be an IPropertySource. So, you should be able to
just wrap the process in the propertysrouce implementation that you have.
"Satyam Shukla" <naughtyboy.symbi@gmail.com> wrote in message
news:80e1d9a00b40a3495edd6be4f27a4722$1@www.eclipse.org...
>I have a issue with the Property Sheet .
> I have used IBM RedBook Example (Page no 206),as the base for the property
> sheet.
>
> Now according to the model i have Pool, which has a reference to process.
> Now i want to incoroporate the features of process inside pool's
> propertysheet.
>
> If i do the way it is done in the example , in the place of process i get
> the instance of process that i have added to pool. But what i want is
> instead of just the instance all the features i.e attributes should be
> visible in the propertysheet, so that i can edit them from the property
> sheet at the same time as the pool
>
> I welcome ideas & suggestions.
>
> Sending you a link which gives a view of our EMF model
> ( http://geocities.com/onlymohabbat/Pool_Process_23_feb_06.JPG)
>
> Thanks
> Satyam
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03382 seconds