Events On Node Creation? [message #147458] |
Wed, 22 August 2007 09:52  |
Eclipse User |
|
|
|
Originally posted by: dan.krska.perspecsys.com
I'm currently trying to add in a pop up window that will appear after the
creation of a node (to force the user to create input for certain node
properties, and eventually to use those properties to gather other
information from external files, but I'm not quite there yet), however, it
seems that on creation (or loading) of my diagram file, extra nodes are
created (three to be exact) that don't appear on the screen, but trigger
the pop up box.
I've currently got my pop up box code under the file nodenameImpl.java,
specifically, under "protected nodenameImpl(){}". I'm wondering if
perhaps there is a better place for my pop up box code? Thanks in advance
for your help :)
-Dan!
|
|
|
Re: Events On Node Creation? [message #149053 is a reply to message #147458] |
Wed, 05 September 2007 09:20  |
Eclipse User |
|
|
|
Dan,
I would suggest you take a look at the following sections in the GMF
documentation:
Developer's Guide to the Extensible Type Registry
Tutorial: Extensible Type Registry
I think it would make more sense to put your behavior in the edithelper
infrastructure.
Regards,
Cherie
Dan! wrote:
> I'm currently trying to add in a pop up window that will appear after
> the creation of a node (to force the user to create input for certain
> node properties, and eventually to use those properties to gather other
> information from external files, but I'm not quite there yet), however,
> it seems that on creation (or loading) of my diagram file, extra nodes
> are created (three to be exact) that don't appear on the screen, but
> trigger the pop up box.
>
> I've currently got my pop up box code under the file nodenameImpl.java,
> specifically, under "protected nodenameImpl(){}". I'm wondering if
> perhaps there is a better place for my pop up box code? Thanks in
> advance for your help :)
>
> -Dan!
>
|
|
|
Powered by
FUDForum. Page generated in 0.28355 seconds