|
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
public abstract class BasePropertySection
Base class for Properites View tabs that contains the common infrastructure for creating and managing properties.
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 PropertyAdapter |
adapter
Notification mechanism to listen for model changes. |
protected TaskEditPart |
editPart
Handle to the selected task edit part used to access context information about the rest of the flow. |
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 | |
---|---|
BasePropertySection()
|
Method Summary | |
---|---|
protected void |
bindValidation(org.eclipse.swt.widgets.Control control,
java.util.Collection<org.eclipse.emf.ecore.EObject> eobjectCollection,
java.util.Set<java.lang.String> constraintSet,
java.lang.String controlId)
|
protected void |
bindValidation(org.eclipse.swt.widgets.Control control,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.String constraintID)
|
void |
dispose()
|
protected org.eclipse.emf.ecore.EObject |
doGetInputContainer()
Abstract method not used in this implementation. |
protected void |
execute(org.eclipse.emf.common.command.Command command)
This method is used for non-standard fields to execute commands when those fields change. |
protected com.tibco.amf.tools.composite.resources.ui.binding.BindingManager |
getBindingManager()
|
protected java.lang.String |
getControlId(org.eclipse.emf.ecore.EStructuralFeature feature)
|
org.eclipse.emf.edit.domain.EditingDomain |
getEditingDomain()
Return the editing domain used to build and execute EMF commands. |
protected org.eclipse.emf.ecore.EObject |
getInput()
Prepare the section to work on DiagramEditor (selection through EditPart) or ProjectExplorer (directly selected EObject) |
protected boolean |
gotInput()
Called after setInput to see if any input was accepted by this instance. |
protected void |
initBindings()
need to subclass to implement it,this method must to call the registerForValidation method |
protected void |
listenForChanges(org.eclipse.emf.ecore.EObject eobject)
Derived classes can call this method to listen to changes on a given model object |
void |
modelChanged(org.eclipse.emf.common.notify.Notification notification)
This method is called when the model that is being listened to changes. |
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 |
updateButtonSelection(org.eclipse.swt.widgets.Button btn,
boolean selected)
Update Button control with selection state, if it is of type CHECK ,
RADIO , or TOGGLE . |
Methods inherited from class com.tibco.xpd.ui.properties.AbstractXpdSection |
---|
canShowInWizard, createControls, createControls, disableControlsForReadOnlyInput, doCreateControls, doGetCommand, doRefresh, 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 |
---|
aboutToBeHidden, aboutToBeShown, getPart, getSelection, getWidgetFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TaskEditPart editPart
protected PropertyAdapter adapter
Constructor Detail |
---|
public BasePropertySection()
Method Detail |
---|
protected org.eclipse.emf.ecore.EObject doGetInputContainer()
doGetInputContainer
in class com.tibco.xpd.ui.properties.AbstractXpdSection
protected boolean gotInput()
gotInput
in class com.tibco.xpd.ui.properties.AbstractXpdSection
public org.eclipse.emf.edit.domain.EditingDomain getEditingDomain()
getEditingDomain
in interface org.eclipse.emf.edit.domain.IEditingDomainProvider
getEditingDomain
in class com.tibco.xpd.ui.properties.AbstractXpdSection
protected final void execute(org.eclipse.emf.common.command.Command command)
command
- public void modelChanged(org.eclipse.emf.common.notify.Notification notification)
notification
- - contains the change to the model objectprotected void listenForChanges(org.eclipse.emf.ecore.EObject eobject)
eobject
- - object that may changeprotected void updateButtonSelection(org.eclipse.swt.widgets.Button btn, boolean selected)
CHECK
,
RADIO
, or TOGGLE
.
selected
- the new selection statepublic void setInput(java.util.Collection<?> items)
setInput
in class com.tibco.xpd.ui.properties.AbstractXpdSection
protected void initBindings()
protected org.eclipse.emf.ecore.EObject getInput()
protected java.lang.String getControlId(org.eclipse.emf.ecore.EStructuralFeature feature)
protected void bindValidation(org.eclipse.swt.widgets.Control control, java.util.Collection<org.eclipse.emf.ecore.EObject> eobjectCollection, java.util.Set<java.lang.String> constraintSet, java.lang.String controlId)
control
- constraintSet
- controlId
- protected void bindValidation(org.eclipse.swt.widgets.Control control, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.String constraintID)
control
- feature
- constraintID
- protected com.tibco.amf.tools.composite.resources.ui.binding.BindingManager getBindingManager()
public void dispose()
dispose
in interface org.eclipse.ui.views.properties.tabbed.ISection
dispose
in class com.tibco.xpd.ui.properties.AbstractXpdSection
|
TIBCO ActiveMatrix Mediation Implementation Type v3.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |