mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
3610 remove buttons which have context actions from aid2.0
This commit is contained in:
parent
e51fdc1658
commit
79ac8165f2
@ -31,27 +31,24 @@
|
|||||||
<Component id="pendingScrollPane" max="32767" attributes="0"/>
|
<Component id="pendingScrollPane" max="32767" attributes="0"/>
|
||||||
<Component id="runningScrollPane" alignment="0" max="32767" attributes="0"/>
|
<Component id="runningScrollPane" alignment="0" max="32767" attributes="0"/>
|
||||||
<Component id="completedScrollPane" alignment="0" max="32767" attributes="0"/>
|
<Component id="completedScrollPane" alignment="0" max="32767" attributes="0"/>
|
||||||
<Group type="102" alignment="0" attributes="0">
|
|
||||||
<Component id="refreshButton" linkSize="1" min="-2" pref="100" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace type="separate" max="-2" attributes="0"/>
|
|
||||||
<Component id="prioritizeJobButton" linkSize="1" min="-2" pref="100" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Component id="deprioritizeJobButton" min="-2" pref="127" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace type="separate" max="-2" attributes="0"/>
|
|
||||||
<Component id="prioritizeCaseButton" linkSize="1" min="-2" pref="100" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Component id="deprioritizeCaseButton" min="-2" pref="127" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace type="separate" max="-2" attributes="0"/>
|
|
||||||
<Component id="clusterMetricsButton" linkSize="1" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<Component id="lbPending" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="lbCompleted" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="lbRunning" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<Component id="lbServicesStatus" min="-2" max="-2" attributes="0"/>
|
<Component id="lbServicesStatus" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/>
|
<EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="tbServicesStatusMessage" pref="861" max="32767" attributes="0"/>
|
<Component id="tbServicesStatusMessage" pref="861" max="32767" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
<Group type="102" alignment="0" attributes="0">
|
||||||
|
<Group type="103" groupAlignment="1" attributes="0">
|
||||||
|
<Component id="lbPending" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Component id="lbCompleted" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Component id="lbRunning" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
<Group type="102" alignment="0" attributes="0">
|
||||||
|
<Component id="refreshButton" linkSize="1" min="-2" pref="100" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace max="32767" attributes="0"/>
|
||||||
|
<Component id="clusterMetricsButton" linkSize="1" min="-2" max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace min="-2" max="-2" attributes="0"/>
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
@ -80,11 +77,7 @@
|
|||||||
<EmptySpace min="-2" max="-2" attributes="0"/>
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
<Group type="103" groupAlignment="3" attributes="0">
|
||||||
<Component id="refreshButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
<Component id="refreshButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="prioritizeJobButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="prioritizeCaseButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="clusterMetricsButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
<Component id="clusterMetricsButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="deprioritizeJobButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="deprioritizeCaseButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace min="-2" max="-2" attributes="0"/>
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
@ -188,34 +181,6 @@
|
|||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JButton" name="prioritizeJobButton">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/experimental/autoingest/Bundle.properties" key="AutoIngestDashboard.prioritizeJobButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/experimental/autoingest/Bundle.properties" key="AutoIngestDashboard.prioritizeJobButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="enabled" type="boolean" value="false"/>
|
|
||||||
</Properties>
|
|
||||||
<Events>
|
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="prioritizeJobButtonActionPerformed"/>
|
|
||||||
</Events>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JButton" name="prioritizeCaseButton">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/experimental/autoingest/Bundle.properties" key="AutoIngestDashboard.prioritizeCaseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/experimental/autoingest/Bundle.properties" key="AutoIngestDashboard.prioritizeCaseButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="enabled" type="boolean" value="false"/>
|
|
||||||
</Properties>
|
|
||||||
<Events>
|
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="prioritizeCaseButtonActionPerformed"/>
|
|
||||||
</Events>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JButton" name="clusterMetricsButton">
|
<Component class="javax.swing.JButton" name="clusterMetricsButton">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
@ -226,33 +191,5 @@
|
|||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="clusterMetricsButtonActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="clusterMetricsButtonActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JButton" name="deprioritizeJobButton">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/experimental/autoingest/Bundle.properties" key="AutoIngestDashboard.deprioritizeJobButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/experimental/autoingest/Bundle.properties" key="AutoIngestDashboard.deprioritizeJobButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="enabled" type="boolean" value="false"/>
|
|
||||||
</Properties>
|
|
||||||
<Events>
|
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="deprioritizeJobButtonActionPerformed"/>
|
|
||||||
</Events>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JButton" name="deprioritizeCaseButton">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/experimental/autoingest/Bundle.properties" key="AutoIngestDashboard.deprioritizeCaseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/experimental/autoingest/Bundle.properties" key="AutoIngestDashboard.deprioritizeCaseButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="enabled" type="boolean" value="false"/>
|
|
||||||
</Properties>
|
|
||||||
<Events>
|
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="deprioritizeCaseButtonActionPerformed"/>
|
|
||||||
</Events>
|
|
||||||
</Component>
|
|
||||||
</SubComponents>
|
</SubComponents>
|
||||||
</Form>
|
</Form>
|
||||||
|
@ -32,7 +32,6 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.SwingWorker;
|
import javax.swing.SwingWorker;
|
||||||
import javax.swing.UIManager;
|
import javax.swing.UIManager;
|
||||||
import javax.swing.event.ListSelectionEvent;
|
|
||||||
import org.openide.util.NbBundle;
|
import org.openide.util.NbBundle;
|
||||||
import org.openide.util.NbBundle.Messages;
|
import org.openide.util.NbBundle.Messages;
|
||||||
import org.sleuthkit.autopsy.core.ServicesMonitor;
|
import org.sleuthkit.autopsy.core.ServicesMonitor;
|
||||||
@ -92,47 +91,16 @@ final class AutoIngestDashboard extends JPanel implements Observer {
|
|||||||
pendingJobsPanel.setSize(pendingScrollPane.getSize());
|
pendingJobsPanel.setSize(pendingScrollPane.getSize());
|
||||||
pendingScrollPane.add(pendingJobsPanel);
|
pendingScrollPane.add(pendingJobsPanel);
|
||||||
pendingScrollPane.setViewportView(pendingJobsPanel);
|
pendingScrollPane.setViewportView(pendingJobsPanel);
|
||||||
pendingJobsPanel.addListSelectionListener((ListSelectionEvent e) -> {
|
|
||||||
if (e.getValueIsAdjusting()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
AutoIngestJob job = this.pendingJobsPanel.getSelectedAutoIngestJob();
|
|
||||||
|
|
||||||
boolean enablePrioritizeButtons = false;
|
|
||||||
boolean enableDeprioritizeButtons = false;
|
|
||||||
if (job != null) {
|
|
||||||
enablePrioritizeButtons = true;
|
|
||||||
enableDeprioritizeButtons = job.getPriority() > 0;
|
|
||||||
}
|
|
||||||
this.prioritizeJobButton.setEnabled(enablePrioritizeButtons);
|
|
||||||
this.prioritizeCaseButton.setEnabled(enablePrioritizeButtons);
|
|
||||||
this.deprioritizeJobButton.setEnabled(enableDeprioritizeButtons);
|
|
||||||
this.deprioritizeCaseButton.setEnabled(enableDeprioritizeButtons);
|
|
||||||
});
|
|
||||||
pendingJobsPanel.setToolTipText(Bundle.AutoIngestDashboard_pendingTable_toolTipText());
|
pendingJobsPanel.setToolTipText(Bundle.AutoIngestDashboard_pendingTable_toolTipText());
|
||||||
runningJobsPanel = new AutoIngestJobsPanel(AutoIngestJobsNode.AutoIngestJobStatus.RUNNING_JOB);
|
runningJobsPanel = new AutoIngestJobsPanel(AutoIngestJobsNode.AutoIngestJobStatus.RUNNING_JOB);
|
||||||
runningJobsPanel.setSize(runningScrollPane.getSize());
|
runningJobsPanel.setSize(runningScrollPane.getSize());
|
||||||
runningScrollPane.add(runningJobsPanel);
|
runningScrollPane.add(runningJobsPanel);
|
||||||
runningScrollPane.setViewportView(runningJobsPanel);
|
runningScrollPane.setViewportView(runningJobsPanel);
|
||||||
runningJobsPanel.addListSelectionListener((ListSelectionEvent e) -> {
|
|
||||||
boolean enabled = false;
|
|
||||||
this.prioritizeJobButton.setEnabled(enabled);
|
|
||||||
this.prioritizeCaseButton.setEnabled(enabled);
|
|
||||||
this.deprioritizeJobButton.setEnabled(enabled);
|
|
||||||
this.deprioritizeCaseButton.setEnabled(enabled);
|
|
||||||
});
|
|
||||||
runningJobsPanel.setToolTipText(Bundle.AutoIngestDashboard_runningTable_toolTipText());
|
runningJobsPanel.setToolTipText(Bundle.AutoIngestDashboard_runningTable_toolTipText());
|
||||||
completedJobsPanel = new AutoIngestJobsPanel(AutoIngestJobsNode.AutoIngestJobStatus.COMPLETED_JOB);
|
completedJobsPanel = new AutoIngestJobsPanel(AutoIngestJobsNode.AutoIngestJobStatus.COMPLETED_JOB);
|
||||||
completedJobsPanel.setSize(completedScrollPane.getSize());
|
completedJobsPanel.setSize(completedScrollPane.getSize());
|
||||||
completedScrollPane.add(completedJobsPanel);
|
completedScrollPane.add(completedJobsPanel);
|
||||||
completedScrollPane.setViewportView(completedJobsPanel);
|
completedScrollPane.setViewportView(completedJobsPanel);
|
||||||
completedJobsPanel.addListSelectionListener((ListSelectionEvent e) -> {
|
|
||||||
boolean enabled = false;
|
|
||||||
this.prioritizeJobButton.setEnabled(enabled);
|
|
||||||
this.prioritizeCaseButton.setEnabled(enabled);
|
|
||||||
this.deprioritizeJobButton.setEnabled(enabled);
|
|
||||||
this.deprioritizeCaseButton.setEnabled(enabled);
|
|
||||||
});
|
|
||||||
completedJobsPanel.setToolTipText(Bundle.AutoIngestDashboard_completedTable_toolTipText());
|
completedJobsPanel.setToolTipText(Bundle.AutoIngestDashboard_completedTable_toolTipText());
|
||||||
/*
|
/*
|
||||||
* Must set this flag, otherwise pop up menus don't close properly.
|
* Must set this flag, otherwise pop up menus don't close properly.
|
||||||
@ -326,11 +294,7 @@ final class AutoIngestDashboard extends JPanel implements Observer {
|
|||||||
refreshButton = new javax.swing.JButton();
|
refreshButton = new javax.swing.JButton();
|
||||||
lbServicesStatus = new javax.swing.JLabel();
|
lbServicesStatus = new javax.swing.JLabel();
|
||||||
tbServicesStatusMessage = new javax.swing.JTextField();
|
tbServicesStatusMessage = new javax.swing.JTextField();
|
||||||
prioritizeJobButton = new javax.swing.JButton();
|
|
||||||
prioritizeCaseButton = new javax.swing.JButton();
|
|
||||||
clusterMetricsButton = new javax.swing.JButton();
|
clusterMetricsButton = new javax.swing.JButton();
|
||||||
deprioritizeJobButton = new javax.swing.JButton();
|
|
||||||
deprioritizeCaseButton = new javax.swing.JButton();
|
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(jButton1, org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.jButton1.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(jButton1, org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.jButton1.text")); // NOI18N
|
||||||
|
|
||||||
@ -364,24 +328,6 @@ final class AutoIngestDashboard extends JPanel implements Observer {
|
|||||||
tbServicesStatusMessage.setText(org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.tbServicesStatusMessage.text")); // NOI18N
|
tbServicesStatusMessage.setText(org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.tbServicesStatusMessage.text")); // NOI18N
|
||||||
tbServicesStatusMessage.setBorder(null);
|
tbServicesStatusMessage.setBorder(null);
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(prioritizeJobButton, org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.prioritizeJobButton.text")); // NOI18N
|
|
||||||
prioritizeJobButton.setToolTipText(org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.prioritizeJobButton.toolTipText")); // NOI18N
|
|
||||||
prioritizeJobButton.setEnabled(false);
|
|
||||||
prioritizeJobButton.addActionListener(new java.awt.event.ActionListener() {
|
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
||||||
prioritizeJobButtonActionPerformed(evt);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(prioritizeCaseButton, org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.prioritizeCaseButton.text")); // NOI18N
|
|
||||||
prioritizeCaseButton.setToolTipText(org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.prioritizeCaseButton.toolTipText")); // NOI18N
|
|
||||||
prioritizeCaseButton.setEnabled(false);
|
|
||||||
prioritizeCaseButton.addActionListener(new java.awt.event.ActionListener() {
|
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
||||||
prioritizeCaseButtonActionPerformed(evt);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(clusterMetricsButton, org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.clusterMetricsButton.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(clusterMetricsButton, org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.clusterMetricsButton.text")); // NOI18N
|
||||||
clusterMetricsButton.addActionListener(new java.awt.event.ActionListener() {
|
clusterMetricsButton.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
@ -389,24 +335,6 @@ final class AutoIngestDashboard extends JPanel implements Observer {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(deprioritizeJobButton, org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.deprioritizeJobButton.text")); // NOI18N
|
|
||||||
deprioritizeJobButton.setToolTipText(org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.deprioritizeJobButton.toolTipText")); // NOI18N
|
|
||||||
deprioritizeJobButton.setEnabled(false);
|
|
||||||
deprioritizeJobButton.addActionListener(new java.awt.event.ActionListener() {
|
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
||||||
deprioritizeJobButtonActionPerformed(evt);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(deprioritizeCaseButton, org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.deprioritizeCaseButton.text")); // NOI18N
|
|
||||||
deprioritizeCaseButton.setToolTipText(org.openide.util.NbBundle.getMessage(AutoIngestDashboard.class, "AutoIngestDashboard.deprioritizeCaseButton.toolTipText")); // NOI18N
|
|
||||||
deprioritizeCaseButton.setEnabled(false);
|
|
||||||
deprioritizeCaseButton.addActionListener(new java.awt.event.ActionListener() {
|
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
||||||
deprioritizeCaseButtonActionPerformed(evt);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
||||||
this.setLayout(layout);
|
this.setLayout(layout);
|
||||||
layout.setHorizontalGroup(
|
layout.setHorizontalGroup(
|
||||||
@ -417,29 +345,24 @@ final class AutoIngestDashboard extends JPanel implements Observer {
|
|||||||
.addComponent(pendingScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addComponent(pendingScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
.addComponent(runningScrollPane, javax.swing.GroupLayout.Alignment.LEADING)
|
.addComponent(runningScrollPane, javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(completedScrollPane, javax.swing.GroupLayout.Alignment.LEADING)
|
.addComponent(completedScrollPane, javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
|
|
||||||
.addComponent(refreshButton, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addGap(18, 18, 18)
|
|
||||||
.addComponent(prioritizeJobButton, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addComponent(deprioritizeJobButton, javax.swing.GroupLayout.PREFERRED_SIZE, 127, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addGap(18, 18, 18)
|
|
||||||
.addComponent(prioritizeCaseButton, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addComponent(deprioritizeCaseButton, javax.swing.GroupLayout.PREFERRED_SIZE, 127, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addGap(18, 18, 18)
|
|
||||||
.addComponent(clusterMetricsButton))
|
|
||||||
.addComponent(lbPending, javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addComponent(lbCompleted, javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addComponent(lbRunning, javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
|
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
|
||||||
.addComponent(lbServicesStatus)
|
.addComponent(lbServicesStatus)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
.addComponent(tbServicesStatusMessage, javax.swing.GroupLayout.DEFAULT_SIZE, 861, Short.MAX_VALUE)))
|
.addComponent(tbServicesStatusMessage, javax.swing.GroupLayout.DEFAULT_SIZE, 861, Short.MAX_VALUE))
|
||||||
|
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
|
||||||
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
||||||
|
.addComponent(lbPending, javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(lbCompleted, javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(lbRunning, javax.swing.GroupLayout.Alignment.LEADING))
|
||||||
|
.addGap(0, 0, Short.MAX_VALUE))
|
||||||
|
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
|
||||||
|
.addComponent(refreshButton, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
|
.addComponent(clusterMetricsButton)))
|
||||||
.addContainerGap())
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
|
|
||||||
layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {clusterMetricsButton, prioritizeCaseButton, prioritizeJobButton, refreshButton});
|
layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {clusterMetricsButton, refreshButton});
|
||||||
|
|
||||||
layout.setVerticalGroup(
|
layout.setVerticalGroup(
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
@ -463,11 +386,7 @@ final class AutoIngestDashboard extends JPanel implements Observer {
|
|||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||||
.addComponent(refreshButton)
|
.addComponent(refreshButton)
|
||||||
.addComponent(prioritizeJobButton)
|
.addComponent(clusterMetricsButton))
|
||||||
.addComponent(prioritizeCaseButton)
|
|
||||||
.addComponent(clusterMetricsButton)
|
|
||||||
.addComponent(deprioritizeJobButton)
|
|
||||||
.addComponent(deprioritizeCaseButton))
|
|
||||||
.addContainerGap())
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
@ -485,38 +404,19 @@ final class AutoIngestDashboard extends JPanel implements Observer {
|
|||||||
setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||||
}//GEN-LAST:event_refreshButtonActionPerformed
|
}//GEN-LAST:event_refreshButtonActionPerformed
|
||||||
|
|
||||||
private void prioritizeCaseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_prioritizeCaseButtonActionPerformed
|
|
||||||
new PrioritizationAction.PrioritizeCaseAction(pendingJobsPanel.getSelectedAutoIngestJob()).actionPerformed(evt);
|
|
||||||
}//GEN-LAST:event_prioritizeCaseButtonActionPerformed
|
|
||||||
|
|
||||||
private void clusterMetricsButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_clusterMetricsButtonActionPerformed
|
private void clusterMetricsButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_clusterMetricsButtonActionPerformed
|
||||||
new AutoIngestMetricsDialog(this.getTopLevelAncestor());
|
new AutoIngestMetricsDialog(this.getTopLevelAncestor());
|
||||||
}//GEN-LAST:event_clusterMetricsButtonActionPerformed
|
}//GEN-LAST:event_clusterMetricsButtonActionPerformed
|
||||||
private void deprioritizeJobButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deprioritizeJobButtonActionPerformed
|
|
||||||
new PrioritizationAction.DeprioritizeJobAction(pendingJobsPanel.getSelectedAutoIngestJob()).actionPerformed(evt);
|
|
||||||
}//GEN-LAST:event_deprioritizeJobButtonActionPerformed
|
|
||||||
|
|
||||||
private void deprioritizeCaseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deprioritizeCaseButtonActionPerformed
|
|
||||||
new PrioritizationAction.DeprioritizeCaseAction(pendingJobsPanel.getSelectedAutoIngestJob()).actionPerformed(evt);
|
|
||||||
}//GEN-LAST:event_deprioritizeCaseButtonActionPerformed
|
|
||||||
|
|
||||||
private void prioritizeJobButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_prioritizeJobButtonActionPerformed
|
|
||||||
new PrioritizationAction.PrioritizeJobAction(pendingJobsPanel.getSelectedAutoIngestJob()).actionPerformed(evt);
|
|
||||||
}//GEN-LAST:event_prioritizeJobButtonActionPerformed
|
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JButton clusterMetricsButton;
|
private javax.swing.JButton clusterMetricsButton;
|
||||||
private javax.swing.JScrollPane completedScrollPane;
|
private javax.swing.JScrollPane completedScrollPane;
|
||||||
private javax.swing.JButton deprioritizeCaseButton;
|
|
||||||
private javax.swing.JButton deprioritizeJobButton;
|
|
||||||
private javax.swing.JButton jButton1;
|
private javax.swing.JButton jButton1;
|
||||||
private javax.swing.JLabel lbCompleted;
|
private javax.swing.JLabel lbCompleted;
|
||||||
private javax.swing.JLabel lbPending;
|
private javax.swing.JLabel lbPending;
|
||||||
private javax.swing.JLabel lbRunning;
|
private javax.swing.JLabel lbRunning;
|
||||||
private javax.swing.JLabel lbServicesStatus;
|
private javax.swing.JLabel lbServicesStatus;
|
||||||
private javax.swing.JScrollPane pendingScrollPane;
|
private javax.swing.JScrollPane pendingScrollPane;
|
||||||
private javax.swing.JButton prioritizeCaseButton;
|
|
||||||
private javax.swing.JButton prioritizeJobButton;
|
|
||||||
private javax.swing.JButton refreshButton;
|
private javax.swing.JButton refreshButton;
|
||||||
private javax.swing.JScrollPane runningScrollPane;
|
private javax.swing.JScrollPane runningScrollPane;
|
||||||
private javax.swing.JTextField tbServicesStatusMessage;
|
private javax.swing.JTextField tbServicesStatusMessage;
|
||||||
|
@ -219,10 +219,6 @@ FileExporterSettingsPanel.SaveTooltip_1=Save the current rule
|
|||||||
AutoIngestDashboard.refreshButton.toolTipText=Refresh displayed tables
|
AutoIngestDashboard.refreshButton.toolTipText=Refresh displayed tables
|
||||||
AutoIngestDashboard.refreshButton.text=&Refresh
|
AutoIngestDashboard.refreshButton.text=&Refresh
|
||||||
AutoIngestDashboard.jButton1.text=jButton1
|
AutoIngestDashboard.jButton1.text=jButton1
|
||||||
AutoIngestDashboard.prioritizeJobButton.toolTipText=Move the selected job to the top of the Pending queue.
|
|
||||||
AutoIngestDashboard.prioritizeJobButton.text=Prioritize &Job
|
|
||||||
AutoIngestDashboard.prioritizeCaseButton.toolTipText=Move all images associated with a case to top of Pending queue.
|
|
||||||
AutoIngestDashboard.prioritizeCaseButton.text=Prioritize &Case
|
|
||||||
AutoIngestMetricsDialog.reportTextArea.text=
|
AutoIngestMetricsDialog.reportTextArea.text=
|
||||||
AutoIngestDashboard.clusterMetricsButton.text=Auto Ingest &Metrics
|
AutoIngestDashboard.clusterMetricsButton.text=Auto Ingest &Metrics
|
||||||
AutoIngestMetricsDialog.metricsButton.text=Generate Metrics Report
|
AutoIngestMetricsDialog.metricsButton.text=Generate Metrics Report
|
||||||
@ -233,10 +229,6 @@ ArchiveFilePanel.browseButton.text=Browse
|
|||||||
ArchiveFilePanel.pathTextField.text=
|
ArchiveFilePanel.pathTextField.text=
|
||||||
ArchiveFilePanel.errorLabel.text=Error Label
|
ArchiveFilePanel.errorLabel.text=Error Label
|
||||||
AutoIngestMetricsDialog.startingDataLabel.text=Starting Date:
|
AutoIngestMetricsDialog.startingDataLabel.text=Starting Date:
|
||||||
AutoIngestDashboard.deprioritizeJobButton.toolTipText=Move the selected job to the top of the Pending queue.
|
|
||||||
AutoIngestDashboard.deprioritizeJobButton.text=Deprioritize J&ob
|
|
||||||
AutoIngestDashboard.deprioritizeCaseButton.text=Deprioritize C&ase
|
|
||||||
AutoIngestDashboard.deprioritizeCaseButton.toolTipText=Move all images associated with a case to top of Pending queue.
|
|
||||||
AutoIngestControlPanel.bnDeprioritizeCase.text=Deprioritize Case
|
AutoIngestControlPanel.bnDeprioritizeCase.text=Deprioritize Case
|
||||||
AutoIngestControlPanel.bnDeprioritizeJob.text=Deprioritize Job
|
AutoIngestControlPanel.bnDeprioritizeJob.text=Deprioritize Job
|
||||||
AutoIngestControlPanel.bnPrioritizeCase.text=Prioritize Case
|
AutoIngestControlPanel.bnPrioritizeCase.text=Prioritize Case
|
||||||
|
Loading…
x
Reference in New Issue
Block a user