Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Grouping of related properties in the PropertyView
Grouping of related properties in the PropertyView [message #154706] Thu, 21 October 2004 12:55 Go to next message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
Hi

is it possible to goup some corresponding properties in the
common PropertyView?

like:

|
+-Location--|
| +- X 3
| |_ Y 4
|
+-Dimension-|
+- Width 300
|_ Height 500


Or is it possible to avoid the alpha. sorting of the
Properties and use the order of the insert statements?

desc= new IPropertyDescriptor[superDescriptors.length + 4];
desc[0]= new IntegerPropertyDescriptor(ID_PROPERTY_LOCATION_X, "x");
desc[1]= new IntegerPropertyDescriptor(ID_PROPERTY_LOCATION_Y, "y");
desc[2]= new IntegerPropertyDescriptor(ID_PROPERTY_HEIGHT , "height");
desc[3]= new IntegerPropertyDescriptor(ID_PROPERTY_WIDTH , "width");


Greetings

Andreas


P.S.
I have found an example image on "google image search" which represents
my requirements.
see: http://www.agnisoft.com/soap/images/proxyOI.jpg
Re: Grouping of related properties in the PropertyView [message #154781 is a reply to message #154706] Thu, 21 October 2004 17:47 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
The logic example already does this. Not sure about alphabetic sorting.
Anyway, this is not the right newsgroup for this question. Try the platform
newsgroup.

"FreeGroup" <a.herz@FreeGroup.de> wrote in message
news:cl8b3c$ito$1@eclipse.org...
> Hi
>
> is it possible to goup some corresponding properties in the
> common PropertyView?
>
> like:
>
> |
> +-Location--|
> | +- X 3
> | |_ Y 4
> |
> +-Dimension-|
> +- Width 300
> |_ Height 500
>
>
> Or is it possible to avoid the alpha. sorting of the
> Properties and use the order of the insert statements?
>
> desc= new IPropertyDescriptor[superDescriptors.length + 4];
> desc[0]= new IntegerPropertyDescriptor(ID_PROPERTY_LOCATION_X, "x");
> desc[1]= new IntegerPropertyDescriptor(ID_PROPERTY_LOCATION_Y, "y");
> desc[2]= new IntegerPropertyDescriptor(ID_PROPERTY_HEIGHT , "height");
> desc[3]= new IntegerPropertyDescriptor(ID_PROPERTY_WIDTH , "width");
>
>
> Greetings
>
> Andreas
>
>
> P.S.
> I have found an example image on "google image search" which
represents
> my requirements.
> see: http://www.agnisoft.com/soap/images/proxyOI.jpg
Re: Grouping of related properties in the PropertyView [message #155249 is a reply to message #154706] Sat, 23 October 2004 14:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dyx.gmx.net

See the DimensionPopertySource and LocationPropertySource classes in the=
=

logic example.
Also see this article:
http://www.eclipse.org/articles/Article-Properties-View/prop erties-view.=
html


> Hi
>
> is it possible to goup some corresponding properties in the
> common PropertyView?
>
> like:
>
> |
> +-Location--|
> | +- X 3
> | |_ Y 4
> |
> +-Dimension-|
> +- Width 300
> |_ Height 500
>
>
> Or is it possible to avoid the alpha. sorting of the
> Properties and use the order of the insert statements?
>
> desc=3D new IPropertyDescriptor[superDescriptors.length + 4];
> desc[0]=3D new IntegerPropertyDescriptor(ID_PROPERTY_LOCATION_X, "x");=

> desc[1]=3D new IntegerPropertyDescriptor(ID_PROPERTY_LOCATION_Y, "y");=

> desc[2]=3D new IntegerPropertyDescriptor(ID_PROPERTY_HEIGHT , "heig=
ht");
> desc[3]=3D new IntegerPropertyDescriptor(ID_PROPERTY_WIDTH , "widt=
h");
>
>
> Greetings
>
> Andreas
>
>
> P.S.
> I have found an example image on "google image search" which =

> represents
> my requirements.
> see: http://www.agnisoft.com/soap/images/proxyOI.jpg



-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Re: Grouping of related properties in the PropertyView [message #155280 is a reply to message #155249] Sat, 23 October 2004 19:34 Go to previous message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
Thanks for this usefull answer!!

Greetings

Andreas


Frank Dyck wrote:
> See the DimensionPopertySource and LocationPropertySource classes in
> the logic example.
> Also see this article:
> http://www.eclipse.org/articles/Article-Properties-View/prop erties-view.html
Previous Topic:Problem with > and . keys
Next Topic:delete an editPart
Goto Forum:
  


Current Time: Thu Apr 25 19:04:31 GMT 2024

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

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

Back to the top