public interface ITransformConfig
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG
The transformation configuration property Id.
|
static java.lang.String |
DOCUMENTATION
The property Id used to store the configuration documentation.
|
static java.lang.String |
FILE_EXTENSION
The file extension of config files.
|
static java.lang.String |
FORWARD_TRANSFORMATION_EXTENSIONS_STATUS
The property id used to store the status (enabled or disabled) of the
transformation extensions of the forward transformation.
|
static java.lang.String |
PARENT_CONFIGS
The property id used for the list of parent transformation
configurations.
|
static java.lang.String |
REVERSE_TRANSFORMATION_EXTENSIONS_STATUS
The property id used to store the status (enabled or disabled) of the
transformation extensions of the reverse transformation.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.resources.IFile |
getFile()
Returns the file of this transformation configuration.
|
ITransformContext |
getForwardContext()
Get the transform context for the "forward" transformation.
|
ITransformationDescriptor |
getForwardDescriptor()
Returns the descriptor for the "forward" transformation.
|
java.util.List |
getForwardList()
Get the list of AbstractTransforms to execute for the "forward" Transformation.
|
ITransformContext |
getReverseContext()
Get the transform context for the "reverse" transformation.
|
ITransformationDescriptor |
getReverseDescriptor()
Returns the descriptor for the "reverse" transformation.
|
java.util.List |
getReverseList()
Get the list of AbstractTransforms to execute for the "reverse" Transformation.
|
ITransformContext |
getSavedContext()
Get the saved transform context.
|
boolean |
isReversible()
Determine if the TransformConfig can be executed in "reverse", meaning
it contains a configuration for a "reverse" transformation.
|
void |
setFile(org.eclipse.core.resources.IFile newFile)
Sets the file of this transformation configuration.
|
static final java.lang.String DOCUMENTATION
static final java.lang.String FILE_EXTENSION
static final java.lang.String CONFIG
TransformController
catches many of these
scenarios and will abort the transformation execution when one is
detected, but there may be others that go undetected.static final java.lang.String FORWARD_TRANSFORMATION_EXTENSIONS_STATUS
Map
where the key is the transformation
extension id and the value is a boolean (true if the extension is
enabled or false if it is disabled).static final java.lang.String REVERSE_TRANSFORMATION_EXTENSIONS_STATUS
Map
where the key is the transformation
extension id and the value is a boolean (true if the extension is
enabled or false if it is disabled).static final java.lang.String PARENT_CONFIGS
java.util.List
and add
the appropriate transformation configurations into the list.boolean isReversible()
ITransformationDescriptor getForwardDescriptor()
ITransformationDescriptor
of the forward
transformation.ITransformationDescriptor getReverseDescriptor()
ITransformationDescriptor
of the reverse
transformation.java.util.List getForwardList()
java.util.List getReverseList()
ITransformContext getForwardContext()
ITransformContext getReverseContext()
ITransformContext getSavedContext()
org.eclipse.core.resources.IFile getFile()
void setFile(org.eclipse.core.resources.IFile newFile)
newFile
- The new file for this transformation configuration.