Custom property scheets [message #186431] |
Tue, 05 July 2005 15:03 |
Eclipse User |
|
|
|
Originally posted by: dutz.c-ware.de
Hi,
I am creating a GEF RCP application and am working on the pöroperties of
my model-elements. As the property-structure is not quite simple, I
would like to link in my own property-editor which is shown when an
element is selected. What exactly do I have to do for this?
Tanks in advance,
Chris
|
|
|
|
Re: Custom property scheets [message #186660 is a reply to message #186625] |
Wed, 06 July 2005 12:34 |
Eclipse User |
|
|
|
Originally posted by: dutz.c-ware.de
Andreas Holtz wrote:
> Christofer Dutz schrieb am 05.07.2005 17:03:
>
>> Hi,
>>
>> I am creating a GEF RCP application and am working on the pöroperties
>> of my model-elements. As the property-structure is not quite simple, I
>> would like to link in my own property-editor which is shown when an
>> element is selected. What exactly do I have to do for this?
>>
>> Tanks in advance,
>> Chris
>
> What do you mean with "property-editor"? Just the normal properyview in
> Eclipse or something else?
Yes ... I can't use the simple default ProperyView in Eclipse and would
like to link in my own. As far as I understood the entire concept I have
to let my getAdapter method return a IPropertySheetPage Instance when
called with a IPropertySheetPage key. Unfortunately this request is
never done by Eclipse.
Chris
|
|
|
Re: Custom property scheets [message #186668 is a reply to message #186660] |
Wed, 06 July 2005 13:26 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
> Yes ... I can't use the simple default ProperyView in Eclipse and would
> like to link in my own. As far as I understood the entire concept I have
> to let my getAdapter method return a IPropertySheetPage Instance when
> called with a IPropertySheetPage key. Unfortunately this request is
> never done by Eclipse.
Are you making this getAdapter call in your editor and not your editpart?
Cheers,
~ Chris
|
|
|
Re: Custom property scheets [message #186675 is a reply to message #186668] |
Wed, 06 July 2005 14:16 |
Eclipse User |
|
|
|
Originally posted by: dutz.c-ware.de
Chris Aniszczyk wrote:
>> Yes ... I can't use the simple default ProperyView in Eclipse and
>> would like to link in my own. As far as I understood the entire
>> concept I have to let my getAdapter method return a IPropertySheetPage
>> Instance when called with a IPropertySheetPage key. Unfortunately this
>> request is never done by Eclipse.
>
>
> Are you making this getAdapter call in your editor and not your editpart?
>
> Cheers,
>
> ~ Chris
I simply inserted a breakpoint and th only time I get there ist when a
IPropertySource is requested.
I must admit that this entire Property-stuff is totaly stuffing my
brain. Had to work myself into SWT, GEF, RCP, and all the other stuff
and now I seem to be unable to properly digest this chunk of new concepts.
Chris
|
|
|
Re: Custom property scheets [message #186683 is a reply to message #186675] |
Wed, 06 July 2005 14:36 |
Eclipse User |
|
|
|
Originally posted by: dutz.c-ware.de
Christofer Dutz wrote:
> Chris Aniszczyk wrote:
>
>>> Yes ... I can't use the simple default ProperyView in Eclipse and
>>> would like to link in my own. As far as I understood the entire
>>> concept I have to let my getAdapter method return a
>>> IPropertySheetPage Instance when called with a IPropertySheetPage
>>> key. Unfortunately this request is never done by Eclipse.
>>
>>
>>
>> Are you making this getAdapter call in your editor and not your editpart?
>>
>> Cheers,
>>
>> ~ Chris
>
> I simply inserted a breakpoint and th only time I get there ist when a
> IPropertySource is requested.
> I must admit that this entire Property-stuff is totaly stuffing my
> brain. Had to work myself into SWT, GEF, RCP, and all the other stuff
> and now I seem to be unable to properly digest this chunk of new concepts.
>
> Chris
Just found my mistake ... wanted to add the PropertyPage to the EditPart
and not the Editor ... was is the point of this? I thought I could
register a PropertyPage for each EditPart that lets me edit this
components Properties. Am I on the wrong path here?
|
|
|
|
Re: Custom property scheets [message #186719 is a reply to message #186431] |
Wed, 06 July 2005 16:57 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Off the top of my head, the only other implementation of a custom
property sheet page would be the webtools property page that is
*possibly* slated to be included in 3.2 (it exists somewhere in webtools
currently as internal)
I think this property sheet will solve a lot of the problems people have
using the current crappy one.
Here's a quick snapshot of it,
http://www.eclipse.org/webtools/initial-contribution/IBM/eva lGuides/TabbedPropertyEval.html?p=1
Cheers,
~ Chris
Christofer Dutz wrote:
> Hi,
>
> I am creating a GEF RCP application and am working on the pöroperties of
> my model-elements. As the property-structure is not quite simple, I
> would like to link in my own property-editor which is shown when an
> element is selected. What exactly do I have to do for this?
>
> Tanks in advance,
> Chris
|
|
|
Powered by
FUDForum. Page generated in 0.04160 seconds