|
|
Re: emf generated editor using transactional editing domain [message #405513 is a reply to message #405471] |
Thu, 23 November 2006 23:59 |
Vlad Ciubotariu Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Thanks a lot for the info.
vlad
On Wed, 22 Nov 2006 06:00:39 -0500, Ed Merks wrote:
> Vlad,
>
> I think you'd want to use it in combination with
> TransactionalCommandStackImpl which creates transactions as you execute
> a command.
>
> public void execute(Command command, Map options) throws
> InterruptedException, RollbackException {
> if ((command != null) && command.canExecute()) {
> InternalTransaction tx = createTransaction(command,
> options);
>
>
>
> Vlad Ciubotariu wrote:
>> Hi,
>>
>> On the gmf list someone else made the emf editor work with a given
>> transactional editing domain.
>>
>> I thought one has to manipulate a model through transactional commands,
>> however I'm pretty sure the emf editor doesn't do that. How does it work?
>>
>> thanks for your help,
>> Vlad
>>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-15"
> http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000">
> Vlad,<br>
> <br>
> I think you'd want to use it in combination with
> TransactionalCommandStackImpl which creates transactions as you execute
> a command.<br>
> <blockquote> public void execute(Command command, Map options)
> throws InterruptedException, RollbackException {<br>
> if ((command != null) && command.canExecute()) {<br>
> InternalTransaction tx = createTransaction(command,
> options);<br>
> <br>
> </blockquote>
> <br>
> Vlad Ciubotariu wrote:
> <blockquote cite="midpan.2006.11.22.02.28.39.725096@uwaterloo.ca"
> type="cite">
> <pre wrap="">Hi,
>
> On the gmf list someone else made the emf editor work with a given
> transactional editing domain.
>
> I thought one has to manipulate a model through transactional commands,
> however I'm pretty sure the emf editor doesn't do that. How does it work?
>
> thanks for your help,
> Vlad
> </pre>
> </blockquote>
> <br>
> </body>
> </html>
|
|
|
Powered by
FUDForum. Page generated in 0.04361 seconds