de.cau.cs.kieler.uml2.sim.maude.validation
Class PapyrusValidationActionFactory

java.lang.Object
  extended by de.cau.cs.kieler.core.model.validation.AbstractValidationActionFactory
      extended by de.cau.cs.kieler.uml2.sim.maude.validation.PapyrusValidationActionFactory
All Implemented Interfaces:
IValidationActionFactory

public class PapyrusValidationActionFactory
extends AbstractValidationActionFactory

Rating red

Constructor Summary
PapyrusValidationActionFactory()
           
 
Method Summary
 Action getValidationAction(IWorkbenchPage page)
          Construct a validate action.
 boolean supportsEditor(IEditorPart editor)
          Check if the active editor is supported.
 
Methods inherited from class de.cau.cs.kieler.core.model.validation.AbstractValidationActionFactory
getValidationActionForActiveEditor, getValidationActionForEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PapyrusValidationActionFactory

public PapyrusValidationActionFactory()
Method Detail

getValidationAction

public Action getValidationAction(IWorkbenchPage page)
Construct a validate action. The currently active editor is assumed to be correct at this point.

Specified by:
getValidationAction in class AbstractValidationActionFactory
Parameters:
page - the page
Returns:
the action

supportsEditor

public boolean supportsEditor(IEditorPart editor)
Check if the active editor is supported.

Specified by:
supportsEditor in class AbstractValidationActionFactory
Parameters:
editor - the editor to check
Returns:
true if the editor is supported