You can create a compare and merge client project for your
model files. You can specify your file name extensions and ID matchers
or name matchers. You can also enable diagram support and add sub-session
merge extenders for text fields.
Procedure
- Click .
- In the New window, expand ; then click Compare Merge Project and
click Next.
- In the New Compare Merge Project wizard,
specify the project name and location and click Next.
- On the File Specification page, specify
your model files by file name extensions or content types and click Next.
- On the Matcher Type Specification page,
select the matcher type for each model file name extension, either
an unique ID or name, and click Next.
- On the Diagram and Model Tree Rendering page,
enable diagram support and model tree rendering on the Explorer page
and click Next.
- On the Extended Compare and Merge Classes page,
name the extended classes and click Next.
- On the Sub-Session Merge Extenders and Composite
Delta Strategies page, select the sub-session merge extenders
and composite delta strategies to include in the new compare and merge
project, and click Finish.
Results
The new project generates all the required Java source code for the extended classes. The
plugin.xml file
contains all the extension point bindings, and the minimum plug-in
dependencies are specified in the
MANIFEST.MF file.