TIBCO ActiveMatrix Mediation Implementation Type v3.3.1

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

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.BaseMapperSection
                  extended by com.tibco.amsb.core.task.ui.property.MediationTaskMapperSection
All Implemented Interfaces:
com.tibco.xpd.ui.properties.CommandProvider, java.util.EventListener, org.eclipse.emf.edit.domain.IEditingDomainProvider, org.eclipse.swt.events.DisposeListener, org.eclipse.swt.internal.SWTEventListener, org.eclipse.ui.views.properties.tabbed.ISection

public class MediationTaskMapperSection
extends BaseMapperSection

Mediation tasks extend this class to provide a mapper section to their properties view. For mediation tasks that use the standard input binding mechanism this class may be used directly. For non-standard mappings the doGetCommand and getXSLT method just need to be overridden.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.tibco.xpd.ui.properties.AbstractXpdSection
com.tibco.xpd.ui.properties.AbstractXpdSection.ContainerType
 
Field Summary
protected  MediationTask task
          The input object must be a mediation task.
 
Fields inherited from class com.tibco.amsb.core.task.ui.property.BaseMapperSection
mapperAdapter, mapperComposite, mapperControl, mapperInputChanged, noMapperComposite, stackComposite, stackLayout
 
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
MediationTaskMapperSection()
           
 
Method Summary
protected  com.tibco.xml.mapper.schema.emfapi.EMapperInputOutputAdapter createMapperAdapter()
          This method returns a mapper input/output adapter that provides the left and right tree data for a given mediation task.
protected  org.eclipse.emf.common.command.Command doGetCommand(java.lang.Object xsl)
          Override this method if the task is using a non-standard way to specify the input binding.
protected  java.lang.String getXSLT()
          Override this method if the task is using a non-standard way to specify the input binding.
 void setInput(java.util.Collection items)
          This standard section method sets the input from the edit part.
 
Methods inherited from class com.tibco.amsb.core.task.ui.property.BaseMapperSection
aboutToBeHidden, aboutToBeShown, doCreateControls, doRefresh, getMapperControl, getShell, modelChanged, showMapper
 
Methods inherited from class com.tibco.amsb.core.task.ui.property.BasePropertySection
bindValidation, bindValidation, dispose, doGetInputContainer, execute, getBindingManager, getControlId, getEditingDomain, getInput, gotInput, initBindings, listenForChanges, 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, isIgnoreEvents, 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
getPart, getSelection, getWidgetFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

task

protected MediationTask task
The input object must be a mediation task. The XSLT string is obtained from the task using a getXSLT method, and is set using doGetCommand().

Constructor Detail

MediationTaskMapperSection

public MediationTaskMapperSection()
Method Detail

setInput

public void setInput(java.util.Collection items)
This standard section method sets the input from the edit part. It is usually not necessary to override this method.

Overrides:
setInput in class BaseMapperSection

createMapperAdapter

protected com.tibco.xml.mapper.schema.emfapi.EMapperInputOutputAdapter createMapperAdapter()
This method returns a mapper input/output adapter that provides the left and right tree data for a given mediation task.

Specified by:
createMapperAdapter in class BaseMapperSection
Returns:

doGetCommand

protected org.eclipse.emf.common.command.Command doGetCommand(java.lang.Object xsl)
Override this method if the task is using a non-standard way to specify the input binding.

Specified by:
doGetCommand in class BaseMapperSection

getXSLT

protected java.lang.String getXSLT()
Override this method if the task is using a non-standard way to specify the input binding.

Specified by:
getXSLT in class BaseMapperSection
Returns:

TIBCO ActiveMatrix Mediation Implementation Type v3.3.1

Copyright © 2010 TIBCO Software Inc. All Rights Reserved.