de.cau.cs.kieler.core.model.xtext
Class AbstractXtextEditorValidationActionFactory

java.lang.Object
  extended by de.cau.cs.kieler.core.model.validation.AbstractValidationActionFactory
      extended by de.cau.cs.kieler.core.model.xtext.AbstractXtextEditorValidationActionFactory
All Implemented Interfaces:
IValidationActionFactory
Direct Known Subclasses:
KitsValidationActionFactory

public abstract class AbstractXtextEditorValidationActionFactory
extends AbstractValidationActionFactory

Abstract super class for validation action factories for xtext editors.

Rating red

Constructor Summary
AbstractXtextEditorValidationActionFactory()
           
 
Method Summary
abstract  EPackage getEPackage()
          Reveals the EPackage the check is registered for.
 boolean supportsEditor(IEditorPart editor)
          Check if the active editor is supported.
 
Methods inherited from class de.cau.cs.kieler.core.model.validation.AbstractValidationActionFactory
getValidationAction, getValidationActionForActiveEditor, getValidationActionForEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXtextEditorValidationActionFactory

public AbstractXtextEditorValidationActionFactory()
Method Detail

supportsEditor

public boolean supportsEditor(IEditorPart editor)
Description copied from class: AbstractValidationActionFactory
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

getEPackage

public abstract EPackage getEPackage()
Reveals the EPackage the check is registered for.

Returns:
the EPackage the check is registered for.