190 setMinimumSize(
new java.awt.Dimension(727, 520));
191 setPreferredSize(
new java.awt.Dimension(727, 520));
199 globalSettingsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(
ViewPreferencesPanel.class,
"ViewPreferencesPanel.globalSettingsPanel.border.title")));
201 org.openide.awt.Mnemonics.setLocalizedText(
selectFileLabel, org.openide.util.NbBundle.getMessage(
ViewPreferencesPanel.class,
"ViewPreferencesPanel.selectFileLabel.text"));
206 public void actionPerformed(java.awt.event.ActionEvent evt) {
207 useBestViewerRadioButtonActionPerformed(evt);
211 org.openide.awt.Mnemonics.setLocalizedText(keepCurrentViewerRadioButton, org.openide.util.NbBundle.getMessage(
ViewPreferencesPanel.class,
"ViewPreferencesPanel.keepCurrentViewerRadioButton.text"));
212 keepCurrentViewerRadioButton.setToolTipText(org.openide.util.NbBundle.getMessage(
ViewPreferencesPanel.class,
"ViewPreferencesPanel.keepCurrentViewerRadioButton.toolTipText"));
213 keepCurrentViewerRadioButton.addActionListener(
new java.awt.event.ActionListener() {
214 public void actionPerformed(java.awt.event.ActionEvent evt) {
215 keepCurrentViewerRadioButtonActionPerformed(evt);
219 org.openide.awt.Mnemonics.setLocalizedText(hideKnownFilesLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.hideKnownFilesLabel.text"));
221 org.openide.awt.Mnemonics.setLocalizedText(dataSourcesHideKnownCheckbox, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.dataSourcesHideKnownCheckbox.text"));
222 dataSourcesHideKnownCheckbox.addActionListener(
new java.awt.event.ActionListener() {
223 public void actionPerformed(java.awt.event.ActionEvent evt) {
224 dataSourcesHideKnownCheckboxActionPerformed(evt);
228 org.openide.awt.Mnemonics.setLocalizedText(viewsHideKnownCheckbox, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.viewsHideKnownCheckbox.text"));
229 viewsHideKnownCheckbox.addActionListener(
new java.awt.event.ActionListener() {
230 public void actionPerformed(java.awt.event.ActionEvent evt) {
231 viewsHideKnownCheckboxActionPerformed(evt);
235 org.openide.awt.Mnemonics.setLocalizedText(hideSlackFilesLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.hideSlackFilesLabel.text"));
237 org.openide.awt.Mnemonics.setLocalizedText(dataSourcesHideSlackCheckbox, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.dataSourcesHideSlackCheckbox.text"));
238 dataSourcesHideSlackCheckbox.addActionListener(
new java.awt.event.ActionListener() {
239 public void actionPerformed(java.awt.event.ActionEvent evt) {
240 dataSourcesHideSlackCheckboxActionPerformed(evt);
244 org.openide.awt.Mnemonics.setLocalizedText(viewsHideSlackCheckbox, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.viewsHideSlackCheckbox.text"));
245 viewsHideSlackCheckbox.addActionListener(
new java.awt.event.ActionListener() {
246 public void actionPerformed(java.awt.event.ActionEvent evt) {
247 viewsHideSlackCheckboxActionPerformed(evt);
251 org.openide.awt.Mnemonics.setLocalizedText(displayTimeLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.displayTimeLabel.text"));
253 org.openide.awt.Mnemonics.setLocalizedText(useLocalTimeRadioButton, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.useLocalTimeRadioButton.text"));
254 useLocalTimeRadioButton.addActionListener(
new java.awt.event.ActionListener() {
255 public void actionPerformed(java.awt.event.ActionEvent evt) {
256 useLocalTimeRadioButtonActionPerformed(evt);
260 org.openide.awt.Mnemonics.setLocalizedText(useAnotherTimeRadioButton, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.useAnotherTimeRadioButton.text"));
261 useAnotherTimeRadioButton.addActionListener(
new java.awt.event.ActionListener() {
262 public void actionPerformed(java.awt.event.ActionEvent evt) {
263 useAnotherTimeRadioButtonActionPerformed(evt);
267 org.openide.awt.Mnemonics.setLocalizedText(hideOtherUsersTagsCheckbox, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.hideOtherUsersTagsCheckbox.text"));
268 hideOtherUsersTagsCheckbox.addActionListener(
new java.awt.event.ActionListener() {
269 public void actionPerformed(java.awt.event.ActionEvent evt) {
270 hideOtherUsersTagsCheckboxActionPerformed(evt);
274 org.openide.awt.Mnemonics.setLocalizedText(hideOtherUsersTagsLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.hideOtherUsersTagsLabel.text"));
276 org.openide.awt.Mnemonics.setLocalizedText(scoColumnsLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.scoColumnsLabel.text"));
278 org.openide.awt.Mnemonics.setLocalizedText(scoColumnsCheckbox, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.scoColumnsCheckbox.text"));
279 scoColumnsCheckbox.addActionListener(
new java.awt.event.ActionListener() {
280 public void actionPerformed(java.awt.event.ActionEvent evt) {
281 scoColumnsCheckboxActionPerformed(evt);
285 jScrollPane1.setMaximumSize(
new java.awt.Dimension(150, 130));
286 jScrollPane1.setPreferredSize(
new java.awt.Dimension(150, 130));
288 timeZoneList.addListSelectionListener(
new javax.swing.event.ListSelectionListener() {
289 public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
290 timeZoneListValueChanged(evt);
293 jScrollPane1.setViewportView(timeZoneList);
295 org.openide.awt.Mnemonics.setLocalizedText(translateTextLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.translateTextLabel.text"));
297 org.openide.awt.Mnemonics.setLocalizedText(scoColumnsWrapAroundText, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.scoColumnsWrapAroundText.text"));
299 org.openide.awt.Mnemonics.setLocalizedText(fileNameTranslationColumnCheckbox, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.fileNameTranslationColumnCheckbox.text"));
300 fileNameTranslationColumnCheckbox.addActionListener(
new java.awt.event.ActionListener() {
301 public void actionPerformed(java.awt.event.ActionEvent evt) {
302 fileNameTranslationColumnCheckboxActionPerformed(evt);
306 org.openide.awt.Mnemonics.setLocalizedText(maxResultsLabel, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.maxResultsLabel.text"));
307 maxResultsLabel.setToolTipText(org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.maxResultsLabel.toolTipText"));
309 maxResultsSpinner.setModel(
new javax.swing.SpinnerNumberModel(0, 0, 50000, 10000));
310 maxResultsSpinner.addChangeListener(
new javax.swing.event.ChangeListener() {
311 public void stateChanged(javax.swing.event.ChangeEvent evt) {
312 maxResultsSpinnerStateChanged(evt);
316 javax.swing.GroupLayout globalSettingsPanelLayout =
new javax.swing.GroupLayout(globalSettingsPanel);
317 globalSettingsPanel.setLayout(globalSettingsPanelLayout);
318 globalSettingsPanelLayout.setHorizontalGroup(
319 globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
320 .addGroup(globalSettingsPanelLayout.createSequentialGroup()
322 .addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
323 .addGroup(globalSettingsPanelLayout.createSequentialGroup()
324 .addComponent(maxResultsLabel)
326 .addComponent(maxResultsSpinner, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
327 .addGroup(globalSettingsPanelLayout.createSequentialGroup()
328 .addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
329 .addGroup(globalSettingsPanelLayout.createSequentialGroup()
331 .addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
332 .addComponent(viewsHideKnownCheckbox)
333 .addComponent(dataSourcesHideKnownCheckbox, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
334 .addComponent(hideOtherUsersTagsCheckbox)
335 .addComponent(viewsHideSlackCheckbox)
336 .addComponent(hideOtherUsersTagsLabel)
337 .addComponent(scoColumnsLabel)
338 .addComponent(scoColumnsCheckbox)
339 .addComponent(dataSourcesHideSlackCheckbox, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
340 .addComponent(scoColumnsWrapAroundText)))
341 .addComponent(hideSlackFilesLabel)
342 .addComponent(hideKnownFilesLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 289, javax.swing.GroupLayout.PREFERRED_SIZE))
343 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
344 .addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
345 .addGroup(globalSettingsPanelLayout.createSequentialGroup()
347 .addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
348 .addComponent(useLocalTimeRadioButton)
349 .addComponent(keepCurrentViewerRadioButton)
350 .addComponent(fileNameTranslationColumnCheckbox)
351 .addComponent(useAnotherTimeRadioButton)
352 .addComponent(useBestViewerRadioButton)
353 .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 246, javax.swing.GroupLayout.PREFERRED_SIZE)))
354 .addComponent(displayTimeLabel)
355 .addComponent(selectFileLabel)
356 .addComponent(translateTextLabel))))
357 .addContainerGap(94, Short.MAX_VALUE))
359 globalSettingsPanelLayout.setVerticalGroup(
360 globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
361 .addGroup(globalSettingsPanelLayout.createSequentialGroup()
363 .addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
364 .addGroup(globalSettingsPanelLayout.createSequentialGroup()
365 .addComponent(hideKnownFilesLabel)
366 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
367 .addComponent(dataSourcesHideKnownCheckbox)
368 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
369 .addComponent(viewsHideKnownCheckbox)
370 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
371 .addComponent(hideSlackFilesLabel)
372 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
373 .addComponent(dataSourcesHideSlackCheckbox)
374 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
375 .addComponent(viewsHideSlackCheckbox)
376 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
377 .addComponent(hideOtherUsersTagsLabel)
378 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
379 .addComponent(hideOtherUsersTagsCheckbox)
380 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
381 .addComponent(scoColumnsLabel)
383 .addComponent(scoColumnsCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE)
384 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
385 .addComponent(scoColumnsWrapAroundText))
386 .addGroup(globalSettingsPanelLayout.createSequentialGroup()
387 .addComponent(selectFileLabel)
388 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
389 .addComponent(useBestViewerRadioButton)
390 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
391 .addComponent(keepCurrentViewerRadioButton)
392 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
393 .addComponent(displayTimeLabel)
394 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
395 .addComponent(useLocalTimeRadioButton)
396 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
397 .addComponent(useAnotherTimeRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
398 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
399 .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE)
400 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
401 .addComponent(translateTextLabel)
402 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
403 .addComponent(fileNameTranslationColumnCheckbox)))
404 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
405 .addGroup(globalSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
406 .addComponent(maxResultsLabel)
407 .addComponent(maxResultsSpinner, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
408 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
411 currentCaseSettingsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.currentCaseSettingsPanel.border.title")));
413 curCaseRadioGroup.add(radioGroupByPersonHost);
414 org.openide.awt.Mnemonics.setLocalizedText(radioGroupByPersonHost, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.radioGroupByPersonHost.text"));
415 radioGroupByPersonHost.addActionListener(
new java.awt.event.ActionListener() {
416 public void actionPerformed(java.awt.event.ActionEvent evt) {
417 radioGroupByPersonHostActionPerformed(evt);
421 curCaseRadioGroup.add(radioGroupByDataType);
422 org.openide.awt.Mnemonics.setLocalizedText(radioGroupByDataType, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.radioGroupByDataType.text"));
423 radioGroupByDataType.addActionListener(
new java.awt.event.ActionListener() {
424 public void actionPerformed(java.awt.event.ActionEvent evt) {
425 radioGroupByDataTypeActionPerformed(evt);
429 javax.swing.GroupLayout currentCaseSettingsPanelLayout =
new javax.swing.GroupLayout(currentCaseSettingsPanel);
430 currentCaseSettingsPanel.setLayout(currentCaseSettingsPanelLayout);
431 currentCaseSettingsPanelLayout.setHorizontalGroup(
432 currentCaseSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
433 .addGroup(currentCaseSettingsPanelLayout.createSequentialGroup()
435 .addGroup(currentCaseSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
436 .addComponent(radioGroupByPersonHost)
437 .addComponent(radioGroupByDataType))
438 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
440 currentCaseSettingsPanelLayout.setVerticalGroup(
441 currentCaseSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
442 .addGroup(currentCaseSettingsPanelLayout.createSequentialGroup()
443 .addComponent(radioGroupByDataType)
444 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
445 .addComponent(radioGroupByPersonHost)
446 .addGap(0, 6, Short.MAX_VALUE))
449 currentSessionSettingsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.currentSessionSettingsPanel.border.title")));
451 org.openide.awt.Mnemonics.setLocalizedText(hideRejectedResultsCheckbox, org.openide.util.NbBundle.getMessage(ViewPreferencesPanel.class,
"ViewPreferencesPanel.hideRejectedResultsCheckbox.text"));
452 hideRejectedResultsCheckbox.addActionListener(
new java.awt.event.ActionListener() {
453 public void actionPerformed(java.awt.event.ActionEvent evt) {
454 hideRejectedResultsCheckboxActionPerformed(evt);
458 javax.swing.GroupLayout currentSessionSettingsPanelLayout =
new javax.swing.GroupLayout(currentSessionSettingsPanel);
459 currentSessionSettingsPanel.setLayout(currentSessionSettingsPanelLayout);
460 currentSessionSettingsPanelLayout.setHorizontalGroup(
461 currentSessionSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
462 .addGroup(currentSessionSettingsPanelLayout.createSequentialGroup()
464 .addComponent(hideRejectedResultsCheckbox)
465 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
467 currentSessionSettingsPanelLayout.setVerticalGroup(
468 currentSessionSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
469 .addGroup(currentSessionSettingsPanelLayout.createSequentialGroup()
470 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
471 .addComponent(hideRejectedResultsCheckbox))
474 javax.swing.GroupLayout viewPreferencesPanelLayout =
new javax.swing.GroupLayout(viewPreferencesPanel);
475 viewPreferencesPanel.setLayout(viewPreferencesPanelLayout);
476 viewPreferencesPanelLayout.setHorizontalGroup(
477 viewPreferencesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
478 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, viewPreferencesPanelLayout.createSequentialGroup()
480 .addGroup(viewPreferencesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
481 .addComponent(currentSessionSettingsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
482 .addComponent(currentCaseSettingsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
483 .addComponent(globalSettingsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
486 viewPreferencesPanelLayout.setVerticalGroup(
487 viewPreferencesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
488 .addGroup(viewPreferencesPanelLayout.createSequentialGroup()
489 .addComponent(globalSettingsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
490 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
491 .addComponent(currentCaseSettingsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
492 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
493 .addComponent(currentSessionSettingsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
497 viewPreferencesScrollPane.setViewportView(viewPreferencesPanel);
499 javax.swing.GroupLayout layout =
new javax.swing.GroupLayout(
this);
500 this.setLayout(layout);
501 layout.setHorizontalGroup(
502 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
503 .addComponent(viewPreferencesScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
505 layout.setVerticalGroup(
506 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
507 .addComponent(viewPreferencesScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 520, Short.MAX_VALUE)