Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse EMF Validation Framework
Previous Page Home Next Page

Validation Adapter Example


This example describes the usage of the validation framework within the SDK. It demonstrates how to implement an EMF EValidator interface that delegates to model validation service and adapts the results to the EMF Diagnostic API.


Please refer to the document EMF Validation Framework Examples Overview for reviewing the library meta-model used as the basis for demonstrating the capabilities in this example.


This example plug-in is named org.eclipse.emf.validation.examples.adapter. This plug-in does not contribute any menu items. It defines a client context and binds the context to a constraint category. The client context enablement uses the Eclipse property tester API. This plug-in registers the EValidator implementation with the EValidator.Registry through the Eclipse org.eclipse.ui.startup extension point. The funtionality is triggered by invoking the menu item Validate from the editor's context menu or main menu.

Please refer to the tutorial Validation Adapter Tutorial for reviewing the code samples within this example

Validation Adapter Trigger


Refer to this example if you need:

  1. To implement the EMF EValidator interface that delegates to the validation framework

Copyright (c) 2000,2005 IBM Corporation and others. All Rights Reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire