de.cau.cs.kieler.synccharts.diagram.custom
Class SyncchartsValidationActionFactory

java.lang.Object
  extended by de.cau.cs.kieler.core.model.validation.AbstractValidationActionFactory
      extended by de.cau.cs.kieler.synccharts.diagram.custom.SyncchartsValidationActionFactory
All Implemented Interfaces:
IValidationActionFactory

public class SyncchartsValidationActionFactory
extends AbstractValidationActionFactory

Rating red

Constructor Summary
SyncchartsValidationActionFactory()
           
 
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

SyncchartsValidationActionFactory

public SyncchartsValidationActionFactory()
Method Detail

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

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