Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvtd-dev] QVT Standard Libraries

Hi

Perhaps QVTiFacade is analoguous to org.eclipse.qvtd.xtext.qvtimperative.tests.QVTiInterpreterTests.MyQVT which extends QVTimperative.

There are two levels of behavior

QVTimperative / QVTbase provide enhanced analysis using the QVT libraries.

Something else further extends to provide enhanced evaluation.

    Regards

        Ed



On 05/05/2015 17:11, Adolfo Sanchez-Barbudo Herrera wrote:
On 04/05/2015 23:10, Ed Willink wrote:
Use of the QVTbase/imperative Standard Library just requires
EnvironmentFactory.getStandardLibrary().setDefaultStandardLibraryURI()
to be invoked with e.g. QVTimperativeLibrary.STDLIB_URI. This should
happen automatically if the QVTbase/QVTimperative facades are used in
place of OCLInternal. These new facades probably render the QVTiFacade
obsolete that has crept in elsewhere for similar purposes.

Unfortunately is not the case. QVTimperative.newInstance method is incorrect since it instantiates a PivotEnvironmentFactory instead of the richer QVTiEnvironmentFactory. Note that the library installment is done by construction of the own QVTiEnvironmentFactory.

Regards,
Adolfo.


_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/qvtd-dev


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5941 / Virus Database: 4339/9700 - Release Date: 05/05/15





Back to the top