|Re: validate applied to umleditor [message #477118]
||Mon, 24 March 2008 15:41
Originally posted by: cdamus.ca.ibm.com|
This question is more appropriate to the UML2 newsgroup, which I have
included in this reply.
The Validate menu action that you see in the UML Model Editor is the
standard action provided by EMF for any generated editor, and it invokes
the Diagnostician API, which delegates to the generated UMLValidator class.
See the org.eclipse.uml2.uml.editor plug-in for details of its Validate
None of this has any relation to the EMF Validation component.
charfi asma wrote:
> I installed Eclipse eclipse-SDK-3.3M7-win32, emf-sdo-xsd-SDK-2.3.0M7 and
> mdt-uml2-SDK-2.1M7 plugins
> a menu called 'validate' is shown when I click at any UML element.
> What is the plugin that show 'validate'? Where can I find its source?
> I thought before that it comes with EMF Validation plugin
> (emf-validation-SDK-1.1M7). but I only installed EMF and UML plugin
> according to the EMF Validation examples, this plugin has an
> editorContribution that show the menu labeled as folow:
> --_UI_ValidationMenu_label = &Validation
> -- ValidateElementsAction.label = Validate Elements...
> <extension point="org.eclipse.ui.editorActions"> <editorContribution
> id=" org.eclipse.emf.validation.examples.general.editorContributi on "
targetID=" org.eclipse.emf.examples.extlibrary.presentation.EXTLibraryE ditorID ">
> <menu label="%_UI_ValidationMenu_label" separator name="additions"/>
> </menu> <action label="%ValidateElementsAction.label"
> so what is the plugin that has the <menu label of its <editorcontribution>
> set to 'validate' ?
> thank you
Powered by FUDForum
. Page generated in 0.03667 seconds