TIBCO ActiveMatrix Mediation Implementation Type v3.3.1

com.tibco.amsb.core.task.ui.property
Interface ICustomMediationTaskGeneralSection

All Known Implementing Classes:
CustomMediationTaskGeneralSection, CustomMediationTaskGeneralSectionV21

public interface ICustomMediationTaskGeneralSection

CustomMediationTaskGeneralSection represents a general section of properties for a user defined mediation task.This interface 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.


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.
 

Method Detail

createAttributeControls

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.

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.

appendAttributeCommands

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.

Parameters:
eclass - the EClass representing the mediation task model
ePackage - the EPackage representing the mediation task model
command - the CompoundCommand compound command for general section attributes.
taskName - the mediation task name.

doRefresh

void doRefresh(org.eclipse.emf.ecore.EClass eClass)
Refreshes the widgets for each of the user defined mediation task attributes.

Parameters:
eclass - the EClass representing the mediation task model

TIBCO ActiveMatrix Mediation Implementation Type v3.3.1

Copyright © 2010 TIBCO Software Inc. All Rights Reserved.