Class PVLogSnapshotChooser
java.lang.Object
xal.service.pvlogger.apputils.browser.PVLogSnapshotChooser
This class provides a UI component (a JDialog) for selecting PV Logger ID. It
is modified from the pvlogbrowser application.
- Author:
- Paul Chu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BrowserControllercontroller of the selection stateprotected BrowserModelbrowser model -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of PVLogSnapshotChooserPVLogSnapshotChooser(Frame owner) ConstructorPVLogSnapshotChooser(Frame owner, boolean modal) Primary constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected ContainerBuild the view for querying the database for the machine snapshots.protected Containerprotected ContainerBuild the snapshot detail view which displays detailed information about the snapshot including the comment and the list of channel snapshots associated with the selected signals.protected ContainerBuild the view that displays the list of fetched machine snapshotslongprotected voidvoid
-
Field Details
-
model
browser model -
controller
controller of the selection state
-
-
Constructor Details
-
PVLogSnapshotChooser
public PVLogSnapshotChooser()Creates a new instance of PVLogSnapshotChooser -
PVLogSnapshotChooser
Constructor -
PVLogSnapshotChooser
Primary constructor
-
-
Method Details
-
setGroup
-
choosePVLogId
-
requestUserConnection
protected void requestUserConnection() -
buildQueryView
Build the view for querying the database for the machine snapshots.- Returns:
- the query view
-
buildSnapshotListView
Build the view that displays the list of fetched machine snapshots- Returns:
- the snapshot list view
-
buildSnapshotDetailView
Build the snapshot detail view which displays detailed information about the snapshot including the comment and the list of channel snapshots associated with the selected signals.- Returns:
- the snapshot detail view
-
buildResultView
-
getPVLogId
public long getPVLogId()
-