Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ve-dev] Migrating to VE 1.2

Dear VE Team,

I downloaded VE 1.2 RC2 and compiled ULC VE against it.

I had the following issues:

1. Overrides

I migrated them using the tool and thanks for the tool.

2. CreationPolicy

This has now become IContainmentHandler. I also had a look at
LabelContainmentHandler and JLabel.override

I will change my CreationPolicy as per LabelContainmentHandler.

3. Compilation Errors:

- DefaultCopyEdtiPolicy: ctr takes EditDomain as arg now


- The method getWriteMethod(Statement) is undefined for the type
AbstractFeatureMapper

Could you please explain this change? Is getPropertyMethod(expr) the
replacement?


- Could you please explain the following API changes?

a. The return type is incompatible with
AbstractEMFContainerPolicy.getAddCommand(List, Object)
    (It overrides  AbstractEMFContainerPolicy.getAddCommand which now takes
CommandBuilder as additional  arg and returns void)

b. The return type is incompatible with
AbstractEMFContainerPolicy.getOrphanTheChildrenCommand(List)
    (It overrides  AbstractEMFContainerPolicy.getOrphanTheChildrenCommand
which now takes CommandBuilder as additional  arg and returns void)

c. The return type is incompatible with
ContainerPolicy.getCreateCommand(Object, Object)
      (It overrides  AbstractEMFContainerPolicy.getCreateCommand which now
takes CommandBuilder as additional  arg and returns void))

d. The return type is incompatible with
ContainerPolicy.getDeleteDependentCommand(Object)
   (It overrides  AbstractEMFContainerPolicy.getDeleteDependentCommand which
now takes CommandBuilder as additional arg and returns void)

------------

I hope that after fixing the above errors ULC VE will run on VE 1.2. But, I
would like to know if I should make any other changes in API usage to
benefit from the new efficiencies (could you please tell me if there are
any) in VE 1.2?

Thanks and regards,

Janak



Back to the top