Package uk.ac.gda.exafs.ui
Class DetectorParametersUIEditor
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
uk.ac.gda.richbeans.editors.RichBeanEditorPart
uk.ac.gda.exafs.ui.DetectorParametersUIEditor
- All Implemented Interfaces:
EventListener,org.eclipse.core.runtime.IAdaptable,org.eclipse.core.runtime.IExecutableExtension,org.eclipse.richbeans.api.event.ValueListener,org.eclipse.richbeans.api.widget.IFieldProvider,org.eclipse.ui.IEditorPart,org.eclipse.ui.IReusableEditor,org.eclipse.ui.ISaveablePart,org.eclipse.ui.IWorkbenchPart,org.eclipse.ui.IWorkbenchPart2,org.eclipse.ui.IWorkbenchPart3,org.eclipse.ui.part.IWorkbenchPartOrientation
-
Field Summary
Fields inherited from class uk.ac.gda.richbeans.editors.RichBeanEditorPart
addedListenersAndSwitchedOn, controller, dirtyContainer, editingBean, expressionFields, mappingURL, path, previousUndoBean, undoableContextFields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUTFields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
ConstructorsConstructorDescriptionDetectorParametersUIEditor(String path, URL mappingURL, DirtyContainer dirtyContainer, Object editingBean) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePartControl(org.eclipse.swt.widgets.Composite parent) org.eclipse.richbeans.widgets.wrappers.ComboWrapperprotected StringReturn the name that the editor should be referred as in error messages and in the multi-editor view.voidlinkUI(boolean isPageChange) Extending classes should normally override this method with bounds and choice information and then call this method with super.linkUI();voidsetFocus()Methods inherited from class uk.ac.gda.richbeans.editors.RichBeanEditorPart
addValueListener, beanToUI, createDataBindingController, dispose, doSave, doSaveAs, getEditorUI, getExpressionFields, getField, getFieldValue, getIFile, getPath, getValueListenerName, init, isDirty, isDisposed, isSaveAsAllowed, isUndoStackActive, notifyFileSaved, recordUndoableEvent, setDisposed, setEditingBean, setInput, setPath, setUndoableContext, setUndoStackActive, switchState, uiToBean, updateFromUIAndReturnEditingBean, updateUiFromOtherBean, valueChangePerformedMethods inherited from class org.eclipse.ui.part.EditorPart
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInputWithNotify, setPartNameMethods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.IEditorPart
getEditorInput, getEditorSiteMethods inherited from interface org.eclipse.ui.ISaveablePart
isSaveOnCloseNeededMethods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
Constructor Details
-
DetectorParametersUIEditor
public DetectorParametersUIEditor(String path, URL mappingURL, DirtyContainer dirtyContainer, Object editingBean) - Parameters:
path-mappingURL-dirtyContainer-editingBean-
-
-
Method Details
-
getRichEditorTabText
Description copied from class:RichBeanEditorPartReturn the name that the editor should be referred as in error messages and in the multi-editor view.- Specified by:
getRichEditorTabTextin classRichBeanEditorPart- Returns:
- string
-
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent) - Specified by:
createPartControlin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
createPartControlin classorg.eclipse.ui.part.WorkbenchPart
-
linkUI
public void linkUI(boolean isPageChange) Description copied from class:RichBeanEditorPartExtending classes should normally override this method with bounds and choice information and then call this method with super.linkUI();- Overrides:
linkUIin classRichBeanEditorPart
-
setFocus
public void setFocus()- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart
-
getTransmissionParameters
- Returns:
- TransmissionComposite
-
getFluorescenceParameters
- Returns:
- FluorComposite
-
getSoftXRaysParameters
- Returns:
- SoftXRaysComposite
-
getXesParameters
- Returns:
- SoftXRaysComposite
-
getExperimentType
public org.eclipse.richbeans.widgets.wrappers.ComboWrapper getExperimentType()- Returns:
- ComboWrapper
-