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 BrowserController
controller of the selection stateprotected BrowserModel
browser model -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of PVLogSnapshotChooserPVLogSnapshotChooser
(Frame owner) ConstructorPVLogSnapshotChooser
(Frame owner, boolean modal) Primary constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Container
Build the view for querying the database for the machine snapshots.protected Container
protected Container
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.protected Container
Build the view that displays the list of fetched machine snapshotslong
protected void
void
-
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()
-