mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
timeline set result view path with current date.
Rename progress dialog to "Creating Timeline" for consistency with progress bar
This commit is contained in:
parent
fe61ca7b52
commit
335f581d33
@ -1,3 +1,3 @@
|
||||
OpenIDE-Module-Name=Timeline
|
||||
CTL_MakeTimeline="Make Timeline (Beta)"
|
||||
TimelineProgressDialog.jLabel1.text=Computing timeline . . .
|
||||
TimelineProgressDialog.jLabel1.text=Creating timeline . . .
|
||||
|
@ -431,6 +431,7 @@ public class Simile2 extends CallableSystemAction implements Presenter.Toolbar,
|
||||
BarChart.Series<String, Number> series = new BarChart.Series(bcData);
|
||||
series.setName(me.getMonthName() + " " + ye.getYear());
|
||||
|
||||
|
||||
ObservableList<BarChart.Series<String, Number>> ol = FXCollections.observableArrayList(series);
|
||||
|
||||
final BarChart<String, Number> bc = new BarChart<String, Number>(xAxis, yAxis, ol);
|
||||
@ -457,6 +458,10 @@ public class Simile2 extends CallableSystemAction implements Presenter.Toolbar,
|
||||
dataResult.setNode(d);
|
||||
}
|
||||
});
|
||||
|
||||
//set result viewer title path with the current date
|
||||
String dateString = ye.getYear() + "-" + 1+me.getMonthInt() + "-" + + de.dayNum;
|
||||
dataResult.setPath(dateString);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -26,7 +26,7 @@
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace min="-2" pref="51" max="-2" attributes="0"/>
|
||||
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace pref="121" max="32767" attributes="0"/>
|
||||
<EmptySpace pref="131" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
|
@ -100,7 +100,7 @@ public class TimelineProgressDialog extends javax.swing.JDialog {
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addGap(51, 51, 51)
|
||||
.addComponent(jLabel1)
|
||||
.addContainerGap(121, Short.MAX_VALUE))
|
||||
.addContainerGap(131, Short.MAX_VALUE))
|
||||
);
|
||||
layout.setVerticalGroup(
|
||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
|
Loading…
x
Reference in New Issue
Block a user