Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sapphire-dev] tool palette "actions"

Hi Greg,

 

We could add support for a “pre-action” right before the model element corresponding to the node is created. Could you open an enhancement request?

 

Thanks,

 

Shenxue

 

From: Greg Amerson [mailto:gregory.amerson@xxxxxxxxxxx]
Sent: Wednesday, February 01, 2012 12:17 AM
To: Sapphire project
Subject: [sapphire-dev] tool palette "actions"

 

Is there a way right now to execute an action after a user has dropped a palette action but before the diagram model is modified?  Here is my use case, I have several different types of nodes.  Some of these nodes are quite complex and  just dropping a new node that creates a new <task> element in the source is not productive enough.  I would like to be able to attached a "pre-action" for the drop of the palette item so that I could potentially show a dialog or wizard to create something as complex as a "<task>" on my diagram.

 

--

Greg Amerson

Liferay, Inc.


Back to the top