public class AbstractTransformExtensionHelper
extends java.lang.Object
Constructor and Description |
---|
AbstractTransformExtensionHelper()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
validateContext(ITransformContext context)
Validates the given
ITransformContext . |
public AbstractTransformExtensionHelper()
public org.eclipse.core.runtime.IStatus validateContext(ITransformContext context)
ITransformContext
. Typically a
transformation extension will validate the properties that it
contributes to the transformation, but any level of validation can be
performed.
The default implementation returns an OK IStatus
. Clients
should override this to perform custom validation.
context
- The ITransformContext
to validate.IStatus
with a severity of OK if the validation
passes. Otherwise an IStatus
with a different severity.