TIBCO ActiveMatrix Mediation Implementation Type v3.3.1

com.tibco.amsb.core.task.ui.property
Class CustomMediationTaskGeneralSectionV21

java.lang.Object
  extended by org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
      extended by com.tibco.xpd.ui.properties.AbstractXpdSection
          extended by com.tibco.amsb.core.task.ui.property.BasePropertySection
              extended by com.tibco.amsb.core.task.ui.property.MediationTaskGeneralSection
                  extended by com.tibco.amsb.core.task.ui.property.CustomMediationTaskGeneralSection
                      extended by com.tibco.amsb.core.task.ui.property.CustomMediationTaskGeneralSectionV21
All Implemented Interfaces:
ICustomMediationTaskGeneralSection, com.tibco.xpd.ui.properties.CommandProvider, com.tibco.xpd.ui.properties.ModelChangeListener, java.util.EventListener, org.eclipse.emf.edit.domain.IEditingDomainProvider, org.eclipse.emf.edit.provider.INotifyChangedListener, org.eclipse.swt.events.DisposeListener, org.eclipse.swt.internal.SWTEventListener, org.eclipse.ui.views.properties.tabbed.ISection

public abstract class CustomMediationTaskGeneralSectionV21
extends CustomMediationTaskGeneralSection

CustomMediationTaskGeneralSectionV21 defines a general properties section for a user defined mediation task built with AMSB 2.1. This abstract class provides methods for creating SWT controls based on the type of the EAttribute/EReference 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 attributes that are generated using the mediation task model wizard. This class extends the MediationTaskGeneralSection that builds the section for the common mediation task attributes.

See Also:
ICustomMediationTaskGeneralSection, CustomMediationTaskGeneralSection, 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
CustomMediationTaskGeneralSectionV21()
           
 
Method Summary
 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.
protected abstract  java.lang.String getReferenceLabel(org.eclipse.emf.ecore.EReference eReference)
          Return the label of the mediation task reference attribute.
 
Methods inherited from class com.tibco.amsb.core.task.ui.property.CustomMediationTaskGeneralSection
appendAttributeCommands, doRefresh, getAttributeLabel
 
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

CustomMediationTaskGeneralSectionV21

public CustomMediationTaskGeneralSectionV21()
Method Detail

createAttributeControls

public 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.

Specified by:
createAttributeControls in interface ICustomMediationTaskGeneralSection
Overrides:
createAttributeControls in class CustomMediationTaskGeneralSection
Parameters:
eclass - the EClass representing the mediation task model
scrolledForm - the ScrolledForm scrolled form holding the section.
toolkit - the XpdFormToolkit form tool kit to create controls.

getReferenceLabel

protected abstract java.lang.String getReferenceLabel(org.eclipse.emf.ecore.EReference eReference)
Return the label of the mediation task reference attribute.

Parameters:
eReference - the EReference representing the mediation task model reference.

TIBCO ActiveMatrix Mediation Implementation Type v3.3.1

Copyright © 2010 TIBCO Software Inc. All Rights Reserved.