Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Events On Node Creation?
Events On Node Creation? [message #147458] Wed, 22 August 2007 09:52 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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!
>
Previous Topic:documentation of mapping model?
Next Topic:Why object and context elements in editpolicyProvider
Goto Forum:
  


Current Time: Fri Jul 18 09:47:07 EDT 2025

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

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

Back to the top