Package uk.ac.gda.exafs.ui
Class GenericDetectorParametersUIEditor
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.richbeans.editors.FauxRichBeansEditor<DetectorParameters>
uk.ac.gda.exafs.ui.GenericDetectorParametersUIEditor
- 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
ConstructorsConstructorDescriptionGenericDetectorParametersUIEditor(String path, URL mappingURL, DirtyContainer dirtyContainer, DetectorParameters editingBean) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePartControl(org.eclipse.swt.widgets.Composite parent) voiddispose()protected StringReturn the name that the editor should be referred as in error messages and in the multi-editor view.voidlinkUI(boolean tf) Extending classes should normally override this method with bounds and choice information and then call this method with super.linkUI();voidsetDetectorTemplateConfiguration(DetectorGroupTemplateConfiguration templateConfiguration) voidsetFocus()Methods inherited from class uk.ac.gda.richbeans.editors.FauxRichBeansEditor
beanChanged, beanToUI, getBean, uiToBean, updateFromUIAndReturnEditingBean, updateUiFromOtherBeanMethods inherited from class uk.ac.gda.richbeans.editors.RichBeanEditorPart
addValueListener, createDataBindingController, doSave, doSaveAs, getEditorUI, getExpressionFields, getField, getFieldValue, getIFile, getPath, getValueListenerName, init, isDirty, isDisposed, isSaveAsAllowed, isUndoStackActive, notifyFileSaved, recordUndoableEvent, setDisposed, setEditingBean, setInput, setPath, setUndoableContext, setUndoStackActive, switchState, 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
-
GenericDetectorParametersUIEditor
public GenericDetectorParametersUIEditor(String path, URL mappingURL, DirtyContainer dirtyContainer, DetectorParameters editingBean)
-
-
Method Details
-
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 tf) 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 classFauxRichBeansEditor<DetectorParameters>
-
setDetectorTemplateConfiguration
public void setDetectorTemplateConfiguration(DetectorGroupTemplateConfiguration templateConfiguration) -
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
-
setFocus
public void setFocus()- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.ui.IWorkbenchPart- Overrides:
disposein classRichBeanEditorPart
-