public abstract class AbstractTransformExtensionConfigTab extends AbstractTransformConfigTab
Constructor and Description |
---|
AbstractTransformExtensionConfigTab(ITransformationDescriptor transDesc,
java.lang.String tabId,
java.lang.String label,
ITransformExtension transExtension)
Constructor for a transform extension configuration tab
|
Modifier and Type | Method and Description |
---|---|
ITransformExtension |
getTransformationExtension()
Returns the associated transformation extension.
|
boolean |
showTab(ITransformContext context)
Determines if this tab should be visible in the user interface.
|
createContents, createFormPage, dispose, getChangedPropertyId, getCurrentTransformContext, getHostTabId, getTabData, getTabId, getWorkbenchSelection, populateContext, populateContext, populateTab, setDirty, setDirty, setErrorMessage, setMessage, setTabData
public AbstractTransformExtensionConfigTab(ITransformationDescriptor transDesc, java.lang.String tabId, java.lang.String label, ITransformExtension transExtension)
transDesc
- The transformation descriptor of the associated
transformation.tabId
- A unique identifier for this tab.label
- The localized label to be displayed on the tab.transExtension
- The associated transformation extension.public ITransformExtension getTransformationExtension()
public boolean showTab(ITransformContext context)
AbstractTransformConfigTab
This method does not have the final say. The default conditions enforced by the transform UI still apply. If the tab is associated with the reverse transformation, the reverse transformation must be enabled. If the tab is associated with a transformation extension, the extension must be enabled in the associated transformation configuration. If and only if these conditions are met will this method's result be considered.
showTab
in class AbstractTransformConfigTab
context
- The transformation context that contains the properties
used to determine if the tab should be visible.com.ibm.xtools.transform.ui.AbstractTransformConfigTab#showTab(com.ibm.xtools.transform.core.ITransformContext)