Package gda.device.enumpositioner
Class EpicsEditablePositionerCallback
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.scannable.ScannableBase
gda.device.enumpositioner.EnumPositionerBase
gda.device.enumpositioner.EpicsPositioner
gda.device.enumpositioner.EpicsPositionerCallback
gda.device.enumpositioner.EpicsEditablePositionerCallback
- All Implemented Interfaces:
ControllerRecord,Device,EditableEnumPositioner,EnumPositioner,Scannable,InitializationListener,Configurable,Findable,gda.observable.IObservable
public class EpicsEditablePositionerCallback
extends EpicsPositionerCallback
implements EditableEnumPositioner
Version of EpicsPositionerCallback which enables the GDA user to edit the names of the positions in the positioner.
-
Nested Class Summary
Nested classes/interfaces inherited from class gda.device.enumpositioner.EpicsPositionerCallback
EpicsPositionerCallback.PutCallbackListener -
Field Summary
Fields inherited from class gda.device.enumpositioner.EpicsPositioner
channelManager, controller, dmovMonitor, selectFields inherited from class gda.device.scannable.ScannableBase
__doc__, DEFAULT_INPUT_NAME, DEFAULT_OUTPUT_FORMAT, extraNames, inputNames, level, outputFormatFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidsetPosition(int index, String newPosition) Change the label of a single position in the positioner.voidsetPositions(String[] newPositions) Sets the positions of this positioner.voidsetPositions(Collection<String> positions) Sets the positions from a collectionprotected voidsetRecordNamesUsingBasePv(String recordName) Builds the five PVs for thisEpicsPositionerby appending suffixes to a base record name.Methods inherited from class gda.device.enumpositioner.EpicsPositionerCallback
rawAsynchronousMoveToMethods inherited from class gda.device.enumpositioner.EpicsPositioner
configure, getAcceptNewMoveToPositionWhileMoving, getAllowPositionValueReads, getControllerRecordName, getPosition, getPositionFromValue, getPositions, getPositionValue, getRecordName, getRecordValuesSuffix, initializationCompleted, isInPos, setAcceptNewMoveToPositionWhileMoving, setAllowPositionValueReads, setRecordName, setRecordValuesSuffix, stopMethods inherited from class gda.device.enumpositioner.EnumPositionerBase
addPosition, addPositions, checkPositionValid, clearPositions, containsPosition, createFormattedListAcceptablePositions, getNumberOfPositions, getPosition, getPositionerStatus, getPositionIndex, getPositionsList, getStatus, isBusy, setPositionerStatus, setPositionsInternal, toFormattedStringMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, externalToInternal, getExtraNames, getInputNames, getLevel, getOutputFormat, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, internalToExternal, isAt, moveTo, rawGetPosition, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, throwExceptionIfInvalidTarget, toString, validateScannable, valueUnavailableString, waitWhileBusy, waitWhileBusyMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.device.EnumPositioner
getPositions, getPositionsList, getStatus, isInPosMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Scannable
asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, isBusy, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, toFormattedString, waitWhileBusy
-
Constructor Details
-
EpicsEditablePositionerCallback
public EpicsEditablePositionerCallback()
-
-
Method Details
-
setRecordNamesUsingBasePv
Description copied from class:EpicsPositionerBuilds the five PVs for thisEpicsPositionerby appending suffixes to a base record name.- Overrides:
setRecordNamesUsingBasePvin classEpicsPositioner
-
createChannelAccess
- Overrides:
createChannelAccessin classEpicsPositioner- Throws:
FactoryException
-
setPositions
Description copied from interface:EditableEnumPositionerSets the positions of this positioner.- Specified by:
setPositionsin interfaceEditableEnumPositioner- Parameters:
newPositions- the positions
-
setPositions
Description copied from interface:EditableEnumPositionerSets the positions from a collection- Specified by:
setPositionsin interfaceEditableEnumPositioner- Parameters:
positions- the positions
-
setPosition
Change the label of a single position in the positioner.- Parameters:
index-newPosition-- Throws:
DeviceException
-