Team - Logical Model Integration Example
The Logical Model Integration example shows how to make a repository provider
logical-model-aware and how to make a logical model team-aware. In particular you
this example shows how to:
- Use ResourceMappings and ModelProviders to ensure that team operations are
performed on the proper set of resources.
- Support model participation in synchronization and merge operations.
- Use the Common Navigator framework to show logical model trees.
The example consists of code for both the repository provider and the model provider arranged in the following packages:
org.eclipse.team.examples.filesystem.subscriber: Low level repository synchronization/merge support.
org.eclipse.team.examples.filesystem.ui: Use of ResourceMapping to ensure operations are performed on
the proper set of resources and Synchronize view integration.
org.eclipse.team.examples.model: The core component of the example model.
org.eclipse.team.examples.model.ui: Use of the Common Navigator to provide a tree-based view
of the example model.
org.eclipse.team.examples.model.mapping: ModelProvider/ResourceMapping support for the example model.
org.eclipse.team.examples.model.mapping.ui: Synchronize view integration for the model.
Running the example
To start using this example:
- Create an Example model project (File/New/Other followed by Team Logical Model Example/Model Project)
- Open the Project Explorer to see the new project
- Add Folders and MOD files as desired.
- Add MOE files to MOD files.
- Share the project with the Basic file system provider.
- Perform various team operations including synchronizations to see the results.