Skip to main content



      Home
Home » Modeling » Graphiti » Patterns - support for direct editing, removal, deletion?
Patterns - support for direct editing, removal, deletion? [message #653077] Tue, 08 February 2011 06:22 Go to next message
Eclipse UserFriend
Hello,

I'd like to use patterns to simplify the coding of my editor. As far as I can
see, a few features are not (yet) supported by the patterns - direct editing,
removal and deletion for example. Do you plan to add support for these
features? I'd be able to provide patches if man-power is the only issue... ;-)

Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
"Fachleute sind immer böse, wenn einem Laien etwas einfällt, was ihnen nicht
eingefallen ist." (John Steinbeck)
Re: Patterns - support for direct editing, removal, deletion? [message #653100 is a reply to message #653077] Tue, 08 February 2011 08:39 Go to previous messageGo to next message
Eclipse UserFriend
Volker,

currently there are no concrete plans in this respect from our side.
Contributions are always welcome... ;-)

Michael
Re: Patterns - support for direct editing, removal, deletion? [message #653340 is a reply to message #653100] Wed, 09 February 2011 08:05 Go to previous messageGo to next message
Eclipse UserFriend
Michael,

"Michael Wenz" <michael.wenz@sap.com> writes:
> currently there are no concrete plans in this respect from our
> side. Contributions are always welcome... ;-)

I'm working on it. :-)

I just noticed there's no way for a pattern _not_ to provide a Create
Feature. In my model, I've got a background element that is generated
automatically, cannot be deleted and should not be created manually. The
pattern does not implement the creation methods, but an empty palette entry is
generated anyway.

I'd suggest to add a method to IPattern that is used by
DefaultFeatureProviderWithFeatures.getCreateFeatures() to determine whether
the pattern provides a palette entry - what do you think? Is it okay if I
bundle this with the other extensions in a single patch?

Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
"You remember what Buzz Aldrin said when he stepped on the moon?"
"No."
"Nobody does. 'Cause Armstrong went first."
Re: Patterns - support for direct editing, removal, deletion? [message #653536 is a reply to message #653340] Thu, 10 February 2011 03:16 Go to previous messageGo to next message
Eclipse UserFriend
Volker,

that sounds useful to me. Feel free to bundle that with the rest of your
extensions.

Thanks,
Michael
Re: Patterns - support for direct editing, removal, deletion? [message #653660 is a reply to message #653536] Thu, 10 February 2011 09:52 Go to previous message
Eclipse UserFriend
Michael,

"Michael Wenz" <michael.wenz@sap.com> writes:
> that sounds useful to me. Feel free to bundle that with the rest of your
> extensions.

done, see bug 336828.

Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
"Wunder stehen nicht im Gegensatz zur Natur, sondern nur im Gegensatz zu dem,
was wir über die Natur wissen." (St. Augustin)
Previous Topic:Generative Graphiti
Next Topic:Custom feature always marks editor as dirty
Goto Forum:
  


Current Time: Wed Jul 23 08:40:02 EDT 2025

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

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

Back to the top