Class LineFittingTool
java.lang.Object
org.eclipse.ui.part.Page
org.eclipse.dawnsci.plotting.api.tool.AbstractToolPage
org.dawnsci.plotting.tools.fitting.AbstractFittingTool
org.dawnsci.plotting.tools.fitting.LineFittingTool
- All Implemented Interfaces:
EventListener,org.eclipse.core.runtime.IAdaptable,IRegionListener,IToolPage,org.eclipse.ui.part.IPage,org.eclipse.ui.part.IPageBookViewPage
-
Nested Class Summary
Nested classes/interfaces inherited from class org.dawnsci.plotting.tools.fitting.AbstractFittingTool
AbstractFittingTool.FittingJobNested classes/interfaces inherited from interface org.eclipse.dawnsci.plotting.api.region.IRegionListener
IRegionListener.StubNested classes/interfaces inherited from interface org.eclipse.dawnsci.plotting.api.tool.IToolPage
IToolPage.ToolPageRole -
Field Summary
Fields inherited from class org.dawnsci.plotting.tools.fitting.AbstractFittingTool
algorithmMessage, composite, dataReduction, fitRegion, fittedFunctions, fittingJob, selectedTraces, sliceMetadata, tracesMenu, viewer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidActions appearing in the tool.protected List<org.eclipse.jface.viewers.TableViewerColumn> createColumns(org.eclipse.jface.viewers.TableViewer viewer) Columns in the UI Table.protected voidcreateFittedFunctionUI(FittedFunctions newBean) What happens when the line is plottedprotected FittedFunctionsgetFittedFunctions(FittedPeaksInfo fittedPeaksInfo) The actual algorithm runMethods inherited from class org.dawnsci.plotting.tools.fitting.AbstractFittingTool
activate, clearAll, createControl, createNewFit, deactivate, dispose, getControl, getFitBounds, getSortedFunctionList, getTableColumnSortListener, getToolData, getToolPageRole, regionAdded, regionCancelled, regionCreated, regionNameChanged, regionRemoved, regionsRemoved, setAddingPeaks, setFitBounds, setFittedFunctions, setFocus, sync, updateTracesChoiceMethods inherited from class org.eclipse.dawnsci.plotting.api.tool.AbstractToolPage
cloneTool, createToolInDedicatedView, createToolPageActions, equals, getAdapter, getCheatSheetId, getImageDescriptor, getImageTrace, getLinkedToolPage, getLinkedToolPlot, getPaletteTrace, getPart, getPlottingSystem, getStackTrace, getSurfaceTrace, getTitle, getToolId, getToolPlottingSystem, getToolSystem, getTrace, getUniqueId, getViewPart, getWindowTrace, hashCode, isActive, isAlwaysSeparateView, isDedicatedView, isDisposed, isLinkedToolPage, isStaticTool, setCheatSheetId, setData, setImageDescriptor, setPart, setPlottingSystem, setTitle, setToolData, setToolId, setToolSystem, setViewPart, toStringMethods inherited from class org.eclipse.ui.part.Page
getSite, init, makeContributions, setActionBarsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.ui.part.IPage
setActionBarsMethods inherited from interface org.eclipse.ui.part.IPageBookViewPage
getSite, init
-
Constructor Details
-
LineFittingTool
public LineFittingTool()
-
-
Method Details
-
createColumns
protected List<org.eclipse.jface.viewers.TableViewerColumn> createColumns(org.eclipse.jface.viewers.TableViewer viewer) Columns in the UI Table.- Specified by:
createColumnsin classAbstractFittingTool- Parameters:
viewer-
-
getFittedFunctions
The actual algorithm run- Specified by:
getFittedFunctionsin classAbstractFittingTool- Parameters:
fittedPeaksInfo-- Returns:
- Throws:
Exception
-
createFittedFunctionUI
What happens when the line is plotted- Specified by:
createFittedFunctionUIin classAbstractFittingTool- Parameters:
newBean-
-
createActions
protected void createActions()Actions appearing in the tool.- Specified by:
createActionsin classAbstractFittingTool
-