Skip to main content



      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 08:55 Go to next message
Eclipse UserFriend
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 13:47 Go to previous messageGo to next message
Eclipse UserFriend
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 10: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 15:34 Go to previous message
Eclipse UserFriend
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: Fri May 02 09:31:03 EDT 2025

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

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

Back to the top