Login | Register
My pages Projects Community openCollabNet

Discussions > dev > RE: Windows XP Pro + jdk 1.4

gef
Discussion topic

Back to topic list

RE: Windows XP Pro + jdk 1.4

Reply

Author "Christensen, Blake" <Blake dot Christensen at dsionline dot com>
Full name "Christensen, Blake" <Blake dot Christensen at dsionline dot com>
Date 2002-05-07 07:07:00 PDT
Message For the dispose problem.

The way I think it works in the system is the following:

CmdDispose calls
dispose in SelectionManager which calls
dispose in FigNode which calls
dispose in Fig which calls
dispose in NetNode which calls
firePropertyChange with command "disposed"
which should get to the diagram model if it is made a listener of the
NetNode.

It doesn't look like the model's removeNode is called directly.

I hope this helps,
Blake


> -----Original Message-----
> From: Jerome Lazzarini [mailto:Jerome.Lazza​rini at esial dot uhp-nancy​.fr]
> Sent: Sunday, May 05, 2002 5:33 AM
> To: dev at gef dot tigris dot org
> Subject: Windows XP Pro + jdk 1.4
>
>
> Hello,
>
> I have just downloaded the latest release of GEF from CVS,
> and compiled it
> with jdk 1.4 on Windows XP Pro. Compiling works fine.
>
> I have defined a class DiagramNode which extends NetNode, and the
> corresponding FigDiagramNode (extending FigNode) which
> contains several figs.
> Inside a JGraphFrame, resizing for basic shapes like circles
> etc. works fine,
> but it does not work properly for my FigNode: nothing is
> drawn when I resize.
> It does not work in BasicApplication also.
>
> Is this a known issue ? Is there a patch commited for ArgoUML
> and not for GEF ?
>
> I have another question: I have defined a DiagramExplorer class which
> basically is an extended JTree component. I would like it to
> listen the the
> GraphModel I have implemented. So I just made it implement
> VetoableChangeListener and registered it. When I add a node
> on the diagram, I
> receive a "nodeAdded" notification, but when I delete this
> same node, and
> because there is an accelerator for delete key which runs
> CmdDelete, I do not
> receive a "nodeRemoved" notfication as I expect. I understand
> I should use
> CmdDispose instead of CmdDelete, but the CmdDispose does not
> seem to work
> properly because nothing is removed. It is almost the same
> problem with
> CmdDelete: the fig is deleted, but the node is not really
> removed from the
> underlying GraphModel. Could someone explain me which classes
> are in charge
> for effective graph model node removal ?
>
> Last, I noticed that JMenu headers like "File", "View" etc.
> have no keys
> defined in RessourceBundles.
>
> Thanks,
> Jerome.
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
> For additional commands, e-mail: dev-help at gef dot tigris dot org
>



---------- Internet E-mail Confidentiality Disclaimer ----------

PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message. If
you are not the addressee indicated in this message or the employee or agent
responsible for delivering it to the addressee, you are hereby on notice
that you are in possession of confidential and privileged information. Any
dissemination, distribution, or copying of this e-mail is strictly
prohibited. In such case, you should destroy this message and kindly notify
the sender by reply e-mail. Please advise immediately if you or your
employer do not consent to Internet email for messages of this kind.

Opinions, conclusions, and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.



--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: dev-help at gef dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

RE: Windows XP Pro + jdk 1.4 "Christensen, Blake" <Blake dot Christensen at dsionline dot com> "Christensen, Blake" <Blake dot Christensen at dsionline dot com> 2002-05-07 07:07:00 PDT
Messages per page: