1 Reply Latest reply on May 8, 2007 3:45 PM by jruud

    Initialize palette objects in GD 3.1?

    jruud

      For example, whenever an 'EndState' node is added to the diagram, I need for it to be initialized with a particular event, action, and some action properties. Does GD 3.1 currently support ?palette object initialization?, for example similar to ?ElementContributors? in GD 3.0?

      Thanks, John

        • 1. Re: Initialize palette objects in GD 3.1?
          jruud

          Just for now, I added a 'void initializeNew()' method to SemanticElement and AbstractSemanticElement, and modified JpdlCreationFactory.getNewObject() to invoke this method. It seems to work with my EndState subclass.

          I'd be happy to undo my changes if there's already a way to do this though...