Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » attributes in Properties view don't appear for new objects
attributes in Properties view don't appear for new objects [message #144762] Wed, 28 July 2004 09:08 Go to next message
Eclipse UserFriend
Originally posted by: victorm.classys.net

Hello,
I have a problem with the new inserted objects in GEF Editor.
When I drag a new object from pallete, and I select it, his properties =

does not appear in Properties view. Even I deselect and reselect it, the=
=

Properties View is empty.
I put a breakpoint in model at the method getPropertyValue and didn't =

arrive there.
I think I had a problem with the PropertyChangeListener for the new =

inserted objects.
Can anybody give me an advice how can i solve this problem.
A good day.
Re: attributes in Properties view don't appear for new objects [message #144807 is a reply to message #144762] Wed, 28 July 2004 11:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mastr.arcor.de

Victor Moga wrote:

> Hello,
> I have a problem with the new inserted objects in GEF Editor.
> When I drag a new object from pallete, and I select it, his properties
> does not appear in Properties view. Even I deselect and reselect it, the
> Properties View is empty.
> I put a breakpoint in model at the method getPropertyValue and didn't
> arrive there.
> I think I had a problem with the PropertyChangeListener for the new
> inserted objects.
> Can anybody give me an advice how can i solve this problem.
> A good day.

Have a look at "how could I ... dirty state" 2 items earlier. I think there
is an answer for your problem but Mr. rlemaigr posted it wrong.

CU
Re: attributes in Properties view don't appear for new objects [message #144905 is a reply to message #144807] Wed, 28 July 2004 14:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rlemaigr.ulb.ac.be

> rlemaigr posted it wrong.

No I didn't, this seems to be a different problem from the other thread.=
...
But the solution may be the same, I don't know !

r=E9gis
Re: attributes in Properties view don't appear for new objects [message #145011 is a reply to message #144762] Wed, 28 July 2004 18:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brian.fernandes.codito.com

Hi Victor,

Very basic question before delving further ...
Are your models implementing the IPropertySource interface ?

You said "new" object don't show properties - do you mean properties are
shown for "non-new" entities (entities which are loaded from your graph file
maybe ? )

Hope this helps,
Brian.

"Victor Moga" <victorm@classys.net> wrote in message
news:opsbubo8brmaynqb@morpheus.classys.net...
Hello,
I have a problem with the new inserted objects in GEF Editor.
When I drag a new object from pallete, and I select it, his properties
does not appear in Properties view. Even I deselect and reselect it, the
Properties View is empty.
I put a breakpoint in model at the method getPropertyValue and didn't
arrive there.
I think I had a problem with the PropertyChangeListener for the new
inserted objects.
Can anybody give me an advice how can i solve this problem.
A good day.
Re: attributes in Properties view don't appear for new objects [message #145613 is a reply to message #144762] Fri, 30 July 2004 08:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: word-up.gmx.de

Hi Victor,

Look at the IBM Redbook sample applications. There you'll find a class
named EObjectPropertySource. If you're building upon an emf model, you'll
just have to change the name of the package attribute and you have a
generic way of creating the propertyDescriptors.
If you're using your own model, you can rewrite the
getPropertyDescriptors() method using ordinary JAVA reflection to have a
generic solution, or just write the method for each Class you have, if
you've got not too much.


Victor Moga wrote:

> Hello,
> I have a problem with the new inserted objects in GEF Editor.
> When I drag a new object from pallete, and I select it, his properties
> does not appear in Properties view. Even I deselect and reselect it, the
> Properties View is empty.
> I put a breakpoint in model at the method getPropertyValue and didn't
> arrive there.
> I think I had a problem with the PropertyChangeListener for the new
> inserted objects.
> Can anybody give me an advice how can i solve this problem.
> A good day.
Re: attributes in Properties view don't appear for new objects [message #145889 is a reply to message #144762] Mon, 02 August 2004 10:32 Go to previous message
Eclipse UserFriend
Originally posted by: victorm.classys.net

My model implements IPropertySource and my parts implement =

IPropertyChangeListener. I have a MultiPageEditor with a text editor and=
a =

GEF Editor. New object for me means object just added from palette.
For this object properties do not anymore appear and when i move and =

resize other objects yet existing in model, the attributes in properties=
=

view don't update.
I added a property change listener to my model and i activated this =

listener in the part.
At deselection and selection the debugger arrives in the getPropertyValu=
e =

method of the model, but when i move an object yet selected or add an =

object from the palette the debugger does not arrive there(at the point =
=

getPropertyValue method of the model)
Previous Topic:Getting NPE using GEF?
Next Topic:Problem with PrintAction
Goto Forum:
  


Current Time: Sat Nov 09 01:12:12 GMT 2024

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

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

Back to the top