public class QueryDataView extends QueryViewPart implements QueryListener
query| Constructor and Description |
|---|
QueryDataView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Display |
getDisplay() |
void |
setFocus() |
void |
updateData(int index,
Map<String,List<Double>> values,
List<ValueInformation> valueInformation)
Reports data update
|
void |
updateParameters(QueryParameters parameters,
Set<String> valueTypes)
Reports a change in parameters
|
void |
updateState(QueryState state)
Updates the state of the query
|
addListener, dispose, getQueryFromSelection, removeListener, setQuery, setSelectioncheckSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartNameaddPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartprotected void clear()
clear in class QueryViewPartpublic void updateData(int index,
Map<String,List<Double>> values,
List<ValueInformation> valueInformation)
QueryListenerAll arrays must have the same size.
updateData in interface QueryListenerindex - index from which the data update starts, must be greater or
equal to zero
and lower than the reported number of entriesvalues - the values that are updates, must not be nullvalueInformation - the value information for the provided values. must not be
nullprotected org.eclipse.swt.widgets.Display getDisplay()
public void updateParameters(QueryParameters parameters, Set<String> valueTypes)
QueryListenerupdateParameters in interface QueryListenerparameters - the new parameters, must not be nullvalueTypes - the new value types to expect, must not be null
or emptypublic void updateState(QueryState state)
QueryListenerupdateState in interface QueryListenerstate - the new stateCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.