Lines 78-89
Link Here
|
78 |
private final ChangeListener listener; |
78 |
private final ChangeListener listener; |
79 |
private final Project project; |
79 |
private final Project project; |
80 |
private ComboBoxModel projectsList; |
80 |
private ComboBoxModel projectsList; |
|
|
81 |
private final TimerOptions timerOptions; |
81 |
|
82 |
|
82 |
|
83 |
|
83 |
/** Creates new form SingleEJBWizardPanel */ |
84 |
/** Creates new form SingleEJBWizardPanel */ |
84 |
public SessionEJBWizardPanel(Project project, ChangeListener changeListener) { |
85 |
public SessionEJBWizardPanel(Project project, ChangeListener changeListener, TimerOptions timerOptions) { |
85 |
this.listener = changeListener; |
86 |
this.listener = changeListener; |
86 |
this.project = project; |
87 |
this.project = project; |
|
|
88 |
this.timerOptions = timerOptions; |
87 |
initComponents(); |
89 |
initComponents(); |
88 |
|
90 |
|
89 |
J2eeProjectCapabilities projectCap = J2eeProjectCapabilities.forProject(project); |
91 |
J2eeProjectCapabilities projectCap = J2eeProjectCapabilities.forProject(project); |
Lines 93-99
Link Here
|
93 |
remoteCheckBox.setVisible(false); |
95 |
remoteCheckBox.setVisible(false); |
94 |
remoteCheckBox.setEnabled(false); |
96 |
remoteCheckBox.setEnabled(false); |
95 |
} |
97 |
} |
|
|
98 |
// enable Schedule section if Timer Session EJB, disable otherwise |
99 |
if (this.timerOptions == null) { |
100 |
schedulePanel.setVisible(false); |
101 |
schedulePanel.setEnabled(false); |
102 |
} else { |
103 |
statefulButton.setEnabled(false); |
104 |
statefulButton.setVisible(false); |
105 |
} |
96 |
} else { |
106 |
} else { |
|
|
107 |
// hide whole Schedule section |
108 |
schedulePanel.setVisible(false); |
109 |
schedulePanel.setEnabled(false); |
110 |
// hide singleton radio button |
97 |
singletonButton.setVisible(false); |
111 |
singletonButton.setVisible(false); |
98 |
singletonButton.setEnabled(false); |
112 |
singletonButton.setEnabled(false); |
99 |
localCheckBox.setSelected(true); |
113 |
localCheckBox.setSelected(true); |
Lines 199-204
Link Here
|
199 |
localCheckBox = new javax.swing.JCheckBox(); |
213 |
localCheckBox = new javax.swing.JCheckBox(); |
200 |
singletonButton = new javax.swing.JRadioButton(); |
214 |
singletonButton = new javax.swing.JRadioButton(); |
201 |
inProjectCombo = new javax.swing.JComboBox(); |
215 |
inProjectCombo = new javax.swing.JComboBox(); |
|
|
216 |
schedulePanel = new javax.swing.JPanel(); |
217 |
scheduleLabel = new javax.swing.JLabel(); |
218 |
scheduleSecondLabel = new javax.swing.JLabel(); |
219 |
scheduleSecondTextField = new javax.swing.JTextField(); |
220 |
scheduleMinuteLabel = new javax.swing.JLabel(); |
221 |
scheduleMinuteTextField = new javax.swing.JTextField(); |
222 |
scheduleHourLabel = new javax.swing.JLabel(); |
223 |
scheduleHourTextField = new javax.swing.JTextField(); |
224 |
scheduleMonthLabel = new javax.swing.JLabel(); |
225 |
scheduleMonthTextField = new javax.swing.JTextField(); |
226 |
scheduleYearLabel = new javax.swing.JLabel(); |
227 |
scheduleYearTextField = new javax.swing.JTextField(); |
228 |
scheduleDayOfWeekLabel = new javax.swing.JLabel(); |
229 |
scheduleDayOfWeekTextField = new javax.swing.JTextField(); |
230 |
scheduleDayOfMonthLabel = new javax.swing.JLabel(); |
231 |
scheduleDayOfMonthTextField = new javax.swing.JTextField(); |
202 |
|
232 |
|
203 |
org.openide.awt.Mnemonics.setLocalizedText(sessionTypeLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_SessionType")); // NOI18N |
233 |
org.openide.awt.Mnemonics.setLocalizedText(sessionTypeLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_SessionType")); // NOI18N |
204 |
|
234 |
|
Lines 223-255
Link Here
|
223 |
singletonButton.setMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_Singleton").charAt(0)); |
253 |
singletonButton.setMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_Singleton").charAt(0)); |
224 |
singletonButton.setText(org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_Singleton")); // NOI18N |
254 |
singletonButton.setText(org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_Singleton")); // NOI18N |
225 |
|
255 |
|
|
|
256 |
org.openide.awt.Mnemonics.setLocalizedText(scheduleLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_Schedule")); // NOI18N |
257 |
|
258 |
scheduleSecondLabel.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_ScheduleSecond").charAt(0)); |
259 |
scheduleSecondLabel.setLabelFor(scheduleSecondTextField); |
260 |
org.openide.awt.Mnemonics.setLocalizedText(scheduleSecondLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_ScheduleSecondLabel")); // NOI18N |
261 |
|
262 |
scheduleSecondTextField.setText("0"); // NOI18N |
263 |
|
264 |
scheduleMinuteLabel.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_ScheduleMinute").charAt(0)); |
265 |
scheduleMinuteLabel.setLabelFor(scheduleMinuteTextField); |
266 |
org.openide.awt.Mnemonics.setLocalizedText(scheduleMinuteLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_ScheduleMinuteLabel")); // NOI18N |
267 |
|
268 |
scheduleMinuteTextField.setText("*"); // NOI18N |
269 |
|
270 |
scheduleHourLabel.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_ScheduleHour").charAt(0)); |
271 |
scheduleHourLabel.setLabelFor(scheduleHourTextField); |
272 |
org.openide.awt.Mnemonics.setLocalizedText(scheduleHourLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_ScheduleHourLabel")); // NOI18N |
273 |
|
274 |
scheduleHourTextField.setText("9-17"); // NOI18N |
275 |
|
276 |
scheduleMonthLabel.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_ScheduleMonth").charAt(0)); |
277 |
scheduleMonthLabel.setLabelFor(scheduleMonthTextField); |
278 |
org.openide.awt.Mnemonics.setLocalizedText(scheduleMonthLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_ScheduleMonthLabel")); // NOI18N |
279 |
|
280 |
scheduleMonthTextField.setText("*"); // NOI18N |
281 |
|
282 |
scheduleYearLabel.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_ScheduleYear").charAt(0)); |
283 |
scheduleYearLabel.setLabelFor(scheduleYearTextField); |
284 |
org.openide.awt.Mnemonics.setLocalizedText(scheduleYearLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_ScheduleYearLabel")); // NOI18N |
285 |
|
286 |
scheduleYearTextField.setText("*"); // NOI18N |
287 |
|
288 |
scheduleDayOfWeekLabel.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_ScheduleDayOfWeek").charAt(0)); |
289 |
scheduleDayOfWeekLabel.setLabelFor(scheduleDayOfWeekTextField); |
290 |
org.openide.awt.Mnemonics.setLocalizedText(scheduleDayOfWeekLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_ScheduleDayOfWeekLabel")); // NOI18N |
291 |
|
292 |
scheduleDayOfWeekTextField.setText("Mon-Fri"); // NOI18N |
293 |
|
294 |
scheduleDayOfMonthLabel.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle").getString("MN_ScheduleDayOfMonth").charAt(0)); |
295 |
scheduleDayOfMonthLabel.setLabelFor(scheduleDayOfMonthTextField); |
296 |
org.openide.awt.Mnemonics.setLocalizedText(scheduleDayOfMonthLabel, org.openide.util.NbBundle.getMessage(SessionEJBWizardPanel.class, "LBL_ScheduleDayOfMonthLabel")); // NOI18N |
297 |
|
298 |
scheduleDayOfMonthTextField.setText("*"); // NOI18N |
299 |
|
300 |
org.jdesktop.layout.GroupLayout schedulePanelLayout = new org.jdesktop.layout.GroupLayout(schedulePanel); |
301 |
schedulePanel.setLayout(schedulePanelLayout); |
302 |
schedulePanelLayout.setHorizontalGroup( |
303 |
schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
304 |
.add(schedulePanelLayout.createSequentialGroup() |
305 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
306 |
.add(scheduleLabel) |
307 |
.add(schedulePanelLayout.createSequentialGroup() |
308 |
.addContainerGap() |
309 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
310 |
.add(scheduleSecondLabel) |
311 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) |
312 |
.add(org.jdesktop.layout.GroupLayout.LEADING, schedulePanelLayout.createSequentialGroup() |
313 |
.add(scheduleHourLabel) |
314 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
315 |
.add(scheduleHourTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) |
316 |
.add(org.jdesktop.layout.GroupLayout.LEADING, schedulePanelLayout.createSequentialGroup() |
317 |
.add(scheduleMinuteLabel) |
318 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) |
319 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
320 |
.add(scheduleSecondTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) |
321 |
.add(scheduleMinuteTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))) |
322 |
.add(18, 18, 18) |
323 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
324 |
.add(scheduleMonthLabel) |
325 |
.add(scheduleYearLabel) |
326 |
.add(scheduleDayOfWeekLabel) |
327 |
.add(scheduleDayOfMonthLabel)) |
328 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) |
329 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
330 |
.add(scheduleYearTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) |
331 |
.add(scheduleDayOfWeekTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) |
332 |
.add(scheduleDayOfMonthTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) |
333 |
.add(scheduleMonthTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))) |
334 |
.addContainerGap(12, Short.MAX_VALUE)) |
335 |
); |
336 |
schedulePanelLayout.setVerticalGroup( |
337 |
schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
338 |
.add(schedulePanelLayout.createSequentialGroup() |
339 |
.add(scheduleLabel) |
340 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) |
341 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) |
342 |
.add(scheduleSecondLabel) |
343 |
.add(scheduleSecondTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) |
344 |
.add(scheduleMonthLabel) |
345 |
.add(scheduleMonthTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) |
346 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) |
347 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) |
348 |
.add(scheduleMinuteLabel) |
349 |
.add(scheduleMinuteTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) |
350 |
.add(scheduleYearLabel) |
351 |
.add(scheduleYearTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) |
352 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) |
353 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) |
354 |
.add(scheduleHourLabel) |
355 |
.add(scheduleHourTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) |
356 |
.add(scheduleDayOfWeekLabel) |
357 |
.add(scheduleDayOfWeekTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) |
358 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) |
359 |
.add(schedulePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) |
360 |
.add(scheduleDayOfMonthLabel) |
361 |
.add(scheduleDayOfMonthTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) |
362 |
); |
363 |
|
226 |
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); |
364 |
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); |
227 |
this.setLayout(layout); |
365 |
this.setLayout(layout); |
228 |
layout.setHorizontalGroup( |
366 |
layout.setHorizontalGroup( |
229 |
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
367 |
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
|
|
368 |
.add(sessionTypeLabel) |
230 |
.add(layout.createSequentialGroup() |
369 |
.add(layout.createSequentialGroup() |
|
|
370 |
.addContainerGap() |
371 |
.add(statelessButton)) |
372 |
.add(layout.createSequentialGroup() |
373 |
.addContainerGap() |
374 |
.add(statefulButton)) |
375 |
.add(layout.createSequentialGroup() |
376 |
.addContainerGap() |
377 |
.add(singletonButton)) |
378 |
.add(interfaceLabel) |
379 |
.add(schedulePanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
380 |
.add(layout.createSequentialGroup() |
381 |
.addContainerGap() |
231 |
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
382 |
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
232 |
.add(sessionTypeLabel) |
383 |
.add(remoteCheckBox) |
233 |
.add(layout.createSequentialGroup() |
384 |
.add(localCheckBox)) |
234 |
.addContainerGap() |
385 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) |
235 |
.add(statelessButton)) |
386 |
.add(inProjectCombo, 0, 232, Short.MAX_VALUE) |
236 |
.add(layout.createSequentialGroup() |
|
|
237 |
.addContainerGap() |
238 |
.add(statefulButton)) |
239 |
.add(layout.createSequentialGroup() |
240 |
.addContainerGap() |
241 |
.add(singletonButton)) |
242 |
.add(interfaceLabel) |
243 |
.add(layout.createSequentialGroup() |
244 |
.addContainerGap() |
245 |
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) |
246 |
.add(layout.createSequentialGroup() |
247 |
.add(remoteCheckBox) |
248 |
.add(6, 6, 6) |
249 |
.add(inProjectCombo, 0, 129, Short.MAX_VALUE)) |
250 |
.add(layout.createSequentialGroup() |
251 |
.add(localCheckBox) |
252 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 152, Short.MAX_VALUE))))) |
253 |
.addContainerGap()) |
387 |
.addContainerGap()) |
254 |
); |
388 |
); |
255 |
layout.setVerticalGroup( |
389 |
layout.setVerticalGroup( |
Lines 264-275
Link Here
|
264 |
.add(singletonButton) |
398 |
.add(singletonButton) |
265 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) |
399 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) |
266 |
.add(interfaceLabel) |
400 |
.add(interfaceLabel) |
267 |
.add(0, 0, 0) |
401 |
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) |
268 |
.add(localCheckBox) |
402 |
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) |
269 |
.add(0, 0, 0) |
403 |
.add(layout.createSequentialGroup() |
270 |
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) |
404 |
.add(localCheckBox) |
271 |
.add(remoteCheckBox) |
405 |
.add(2, 2, 2) |
272 |
.add(inProjectCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) |
406 |
.add(remoteCheckBox)) |
|
|
407 |
.add(inProjectCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 28, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) |
408 |
.add(24, 24, 24) |
409 |
.add(schedulePanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
410 |
.addContainerGap()) |
273 |
); |
411 |
); |
274 |
|
412 |
|
275 |
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle"); // NOI18N |
413 |
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("org/netbeans/modules/j2ee/ejbcore/ejb/wizard/session/Bundle"); // NOI18N |
Lines 289-294
Link Here
|
289 |
private javax.swing.JLabel interfaceLabel; |
427 |
private javax.swing.JLabel interfaceLabel; |
290 |
private javax.swing.JCheckBox localCheckBox; |
428 |
private javax.swing.JCheckBox localCheckBox; |
291 |
private javax.swing.JCheckBox remoteCheckBox; |
429 |
private javax.swing.JCheckBox remoteCheckBox; |
|
|
430 |
private javax.swing.JLabel scheduleDayOfMonthLabel; |
431 |
private javax.swing.JTextField scheduleDayOfMonthTextField; |
432 |
private javax.swing.JLabel scheduleDayOfWeekLabel; |
433 |
private javax.swing.JTextField scheduleDayOfWeekTextField; |
434 |
private javax.swing.JLabel scheduleHourLabel; |
435 |
private javax.swing.JTextField scheduleHourTextField; |
436 |
private javax.swing.JLabel scheduleLabel; |
437 |
private javax.swing.JLabel scheduleMinuteLabel; |
438 |
private javax.swing.JTextField scheduleMinuteTextField; |
439 |
private javax.swing.JLabel scheduleMonthLabel; |
440 |
private javax.swing.JTextField scheduleMonthTextField; |
441 |
private javax.swing.JPanel schedulePanel; |
442 |
private javax.swing.JLabel scheduleSecondLabel; |
443 |
private javax.swing.JTextField scheduleSecondTextField; |
444 |
private javax.swing.JLabel scheduleYearLabel; |
445 |
private javax.swing.JTextField scheduleYearTextField; |
292 |
private javax.swing.ButtonGroup sessionStateButtons; |
446 |
private javax.swing.ButtonGroup sessionStateButtons; |
293 |
private javax.swing.JLabel sessionTypeLabel; |
447 |
private javax.swing.JLabel sessionTypeLabel; |
294 |
private javax.swing.JRadioButton singletonButton; |
448 |
private javax.swing.JRadioButton singletonButton; |
Lines 316-321
Link Here
|
316 |
return localCheckBox.isSelected(); |
470 |
return localCheckBox.isSelected(); |
317 |
} |
471 |
} |
318 |
|
472 |
|
|
|
473 |
public TimerOptions getTimerOptions() { |
474 |
if (timerOptions == null) { |
475 |
return null; |
476 |
} else { |
477 |
timerOptions.setTimerOptions( |
478 |
scheduleSecondTextField.getText(), |
479 |
scheduleMinuteTextField.getText(), |
480 |
scheduleHourTextField.getText(), |
481 |
scheduleMonthTextField.getText(), |
482 |
scheduleYearTextField.getText(), |
483 |
scheduleDayOfWeekTextField.getText(), |
484 |
scheduleDayOfMonthTextField.getText()); |
485 |
return timerOptions; |
486 |
} |
487 |
} |
488 |
|
319 |
public Project getRemoteInterfaceProject() { |
489 |
public Project getRemoteInterfaceProject() { |
320 |
if (projectsList == null) { |
490 |
if (projectsList == null) { |
321 |
return null; |
491 |
return null; |