|
TIBCO ActiveMatrix Mediation Implementation Type v3.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.views.properties.tabbed.AbstractPropertySection
com.tibco.xpd.ui.properties.AbstractXpdSection
com.tibco.amsb.core.task.ui.property.BasePropertySection
com.tibco.amsb.core.task.ui.property.MediationTaskGeneralSection
com.tibco.amsb.core.task.ui.property.CustomMediationTaskGeneralSection
public abstract class CustomMediationTaskGeneralSection
CustomMediationTaskGeneralSection defines a general properties section for a user defined mediation task.This abstract class provides methods for creating SWT controls based on the type of the EAttribute property that is defined by user using the mediation task model wizard or the ECore editors. Current version of this class only supports creation/update of controls for primitive ecore attribute types. This class extends the MediationTaskGeneralSection that builds the section for the common mediation task attributes.
ICustomMediationTaskGeneralSection
,
MediationTaskGeneralSection
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tibco.xpd.ui.properties.AbstractXpdSection |
---|
com.tibco.xpd.ui.properties.AbstractXpdSection.ContainerType |
Field Summary |
---|
Fields inherited from class com.tibco.amsb.core.task.ui.property.MediationTaskGeneralSection |
---|
contributeLabel, contributeOutputField, descriptionText, ignoreModelChanges, mediationTask, nameText |
Fields inherited from class com.tibco.amsb.core.task.ui.property.BasePropertySection |
---|
adapter, editPart |
Fields inherited from class com.tibco.xpd.ui.properties.AbstractXpdSection |
---|
LAYOUT_DATA_SHORT_WIDTH_HINT |
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
---|
STANDARD_LABEL_WIDTH |
Constructor Summary | |
---|---|
CustomMediationTaskGeneralSection()
|
Method Summary | |
---|---|
void |
appendAttributeCommands(org.eclipse.emf.ecore.EClass eClass,
org.eclipse.emf.ecore.EPackage ePackage,
org.eclipse.emf.common.command.CompoundCommand command,
java.lang.String taskName)
Creates the command for each of the user defined mediation task attributes. |
void |
createAttributeControls(org.eclipse.emf.ecore.EClass eClass,
org.eclipse.ui.forms.widgets.ScrolledForm scrolledForm,
com.tibco.xpd.ui.properties.XpdFormToolkit toolkit)
Creates the SWT controls by iterating over the EAttributes defined for the mediation task model. |
void |
doRefresh(org.eclipse.emf.ecore.EClass eClass)
Refreshes the widgets for each of the user defined mediation task attributes. |
protected abstract java.lang.String |
getAttributeLabel(org.eclipse.emf.ecore.EAttribute eAttribute)
Return the label of the mediation task attribute. |
Methods inherited from class com.tibco.amsb.core.task.ui.property.MediationTaskGeneralSection |
---|
createBaseCommand, createBaseForm, createContributeCommand, createContributeOutputField, doCreateControls, doGetCommand, doRefresh, gotInput, ignoreModelEvents, initBindings, isIgnoreEvents, manageControl, notifyChanged, setInput, showContributeOutputField |
Methods inherited from class com.tibco.amsb.core.task.ui.property.BasePropertySection |
---|
bindValidation, bindValidation, dispose, doGetInputContainer, execute, getBindingManager, getControlId, getEditingDomain, getInput, listenForChanges, modelChanged, updateButtonSelection |
Methods inherited from class com.tibco.xpd.ui.properties.AbstractXpdSection |
---|
canShowInWizard, createControls, createControls, disableControlsForReadOnlyInput, forceLayout, getCommand, getControlsContainer, getEditingDomain, getInputContainer, getMinimumHeight, getPropertySheetPage, getSectionContainerType, getSite, getTextWidth, getXpdSectionContainerProvider, isCreated, manageControl, manageControl, manageControl, manageControl, manageControl, manageControl, manageControl, manageControlUpdateOnDeactivate, refresh, refreshTabs, setCanFinish, setCreated, setEnabled, setEnabled, setIgnoreEvents, setInput, setMinimumHeight, setSameGridDataWidth, setShouldUseExtraSpace, setShowInWizard, setXpdSectionContainerProvider, shouldUseExtraSpace, showTab, updateCCombo, updateText, widgetDisposed |
Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
---|
aboutToBeHidden, aboutToBeShown, getPart, getSelection, getWidgetFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomMediationTaskGeneralSection()
Method Detail |
---|
public void createAttributeControls(org.eclipse.emf.ecore.EClass eClass, org.eclipse.ui.forms.widgets.ScrolledForm scrolledForm, com.tibco.xpd.ui.properties.XpdFormToolkit toolkit)
createAttributeControls
in interface ICustomMediationTaskGeneralSection
eclass
- the EClass
representing the mediation task modelscrolledForm
- the ScrolledForm
scrolled form holding the section.toolkit
- the XpdFormToolkit
form tool kit to create controls.public void appendAttributeCommands(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EPackage ePackage, org.eclipse.emf.common.command.CompoundCommand command, java.lang.String taskName)
appendAttributeCommands
in interface ICustomMediationTaskGeneralSection
eclass
- the EClass
representing the mediation task modelePackage
- the EPackage
representing the mediation task modelcommand
- the CompoundCommand
compound command for general
section attributes.taskName
- the mediation task name.public void doRefresh(org.eclipse.emf.ecore.EClass eClass)
doRefresh
in interface ICustomMediationTaskGeneralSection
eclass
- the EClass
representing the mediation task modelprotected abstract java.lang.String getAttributeLabel(org.eclipse.emf.ecore.EAttribute eAttribute)
eAttribute
- the EAttribute
representing the mediation task model
attribute.
|
TIBCO ActiveMatrix Mediation Implementation Type v3.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |