|
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.BaseMapperSection
public abstract class BaseMapperSection
This base class provides all of the general methods for a mapper section that may be used by any derived class.
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 com.tibco.xml.mapper.schema.emfapi.EMapperInputOutputAdapter |
mapperAdapter
Need to cache the mapper adapter so if we ever setInput(null) we can tell we did that. |
protected org.eclipse.swt.widgets.Composite |
mapperComposite
The mapper composite is needed because the IMapperControl class does not provide a way to get the top level control of the mapper. |
protected com.tibco.xml.mapper.schema.emfapi.IEMapperControl |
mapperControl
This is a helper object that provides access to the mapper UI. |
protected boolean |
mapperInputChanged
Flag to detect when the mapper input has changed, to avoid unnecessary mapper refreshes when the input has not changed. |
protected org.eclipse.swt.widgets.Composite |
noMapperComposite
|
protected org.eclipse.swt.widgets.Composite |
stackComposite
The root composite holding the different controls |
protected org.eclipse.swt.custom.StackLayout |
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 | |
---|---|
BaseMapperSection()
|
Method Summary | |
---|---|
void |
aboutToBeHidden()
This method is called when the view is about to be hidden so that actions can be removed from the toolbar. |
void |
aboutToBeShown()
This method is called when the view is about to be shown so that actions can be added to the toolbar. |
protected abstract com.tibco.xml.mapper.schema.emfapi.EMapperInputOutputAdapter |
createMapperAdapter()
Create a mapper adapter that derived classes will use to set mapper values |
protected org.eclipse.swt.widgets.Control |
doCreateControls(org.eclipse.swt.widgets.Composite parent,
com.tibco.xpd.ui.properties.XpdFormToolkit toolkit)
|
protected abstract org.eclipse.emf.common.command.Command |
doGetCommand(java.lang.Object obj)
|
protected void |
doRefresh()
|
com.tibco.xml.mapper.schema.emfapi.IEMapperControl |
getMapperControl()
Accessor method to get the visual mapper control. |
protected org.eclipse.swt.widgets.Shell |
getShell()
Used for dialogs so they show up centered on this window. |
protected abstract java.lang.String |
getXSLT()
Mechanism to obtain the transformation string from the input object |
void |
modelChanged(org.eclipse.emf.common.notify.Notification notification)
Have to override the parent so we can set our refresh flag. |
void |
setInput(java.util.Collection items)
Given a list of selected objects, extract the model object out of the selection and save it for later, also save the editPart as it holds the EditingDomain |
protected void |
showMapper(boolean show)
Call this method to show or not show the mapper. |
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 |
---|
protected org.eclipse.swt.widgets.Composite stackComposite
protected org.eclipse.swt.custom.StackLayout stackLayout
protected org.eclipse.swt.widgets.Composite mapperComposite
protected org.eclipse.swt.widgets.Composite noMapperComposite
protected com.tibco.xml.mapper.schema.emfapi.IEMapperControl mapperControl
protected boolean mapperInputChanged
protected com.tibco.xml.mapper.schema.emfapi.EMapperInputOutputAdapter mapperAdapter
Constructor Detail |
---|
public BaseMapperSection()
Method Detail |
---|
protected org.eclipse.swt.widgets.Control doCreateControls(org.eclipse.swt.widgets.Composite parent, com.tibco.xpd.ui.properties.XpdFormToolkit toolkit)
doCreateControls
in class com.tibco.xpd.ui.properties.AbstractXpdSection
protected void showMapper(boolean show)
show
- true if it is to be shown, otherwise falseprotected org.eclipse.swt.widgets.Shell getShell()
public void aboutToBeHidden()
aboutToBeHidden
in interface org.eclipse.ui.views.properties.tabbed.ISection
aboutToBeHidden
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void aboutToBeShown()
aboutToBeShown
in interface org.eclipse.ui.views.properties.tabbed.ISection
aboutToBeShown
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void modelChanged(org.eclipse.emf.common.notify.Notification notification)
modelChanged
in class BasePropertySection
notification
- - contains the change to the model objectprotected void doRefresh()
doRefresh
in class com.tibco.xpd.ui.properties.AbstractXpdSection
public com.tibco.xml.mapper.schema.emfapi.IEMapperControl getMapperControl()
protected abstract com.tibco.xml.mapper.schema.emfapi.EMapperInputOutputAdapter createMapperAdapter()
protected abstract java.lang.String getXSLT()
protected abstract org.eclipse.emf.common.command.Command doGetCommand(java.lang.Object obj)
doGetCommand
in class com.tibco.xpd.ui.properties.AbstractXpdSection
public void setInput(java.util.Collection items)
BasePropertySection
setInput
in class BasePropertySection
|
TIBCO ActiveMatrix Mediation Implementation Type v3.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |