de.cau.cs.kieler.core.model.validation
Interface IValidationActionFactory

All Known Implementing Classes:
AbstractValidationActionFactory, AbstractXtextEditorValidationActionFactory, KitsValidationActionFactory, PapyrusValidationActionFactory, SyncchartsValidationActionFactory

public interface IValidationActionFactory

Factory for creating the validate actions used in the validation.

Rating proposed yellow
(2010-06-11) soh

Method Summary
 Action getValidationActionForActiveEditor()
          Get the validate action for the active editor.
 Action getValidationActionForEditor(IEditorPart editor)
          Get the validate action for the active editor.
 

Method Detail

getValidationActionForEditor

Action getValidationActionForEditor(IEditorPart editor)
Get the validate action for the active editor. Should return null if the editor is not supported.

Parameters:
editor - the editor
Returns:
the action or null

getValidationActionForActiveEditor

Action getValidationActionForActiveEditor()
Get the validate action for the active editor. Should return null if the active editor is not supported.

Returns:
the action or null