usr/src/java/vpanels/panels/firewall/org/opensolaris/os/vp/panels/firewall/client/swing/FirewallDefaultTab.java
equal
deleted
inserted
replaced
61 // |
61 // |
62 // Control methods |
62 // Control methods |
63 // |
63 // |
64 |
64 |
65 @Override |
65 @Override |
|
66 protected UnsavedChangesAction getUnsavedChangesAction() { |
|
67 // Automatically save changes to the FirewallPanelDescriptor -- |
|
68 // let MainControl prompt the user to save them to the repo |
|
69 return UnsavedChangesAction.SAVE; |
|
70 } |
|
71 |
|
72 @Override |
66 public void save() throws ActionAbortedException, ActionFailedException, |
73 public void save() throws ActionAbortedException, ActionFailedException, |
67 ActionUnauthorizedException { |
74 ActionUnauthorizedException { |
68 |
75 |
69 AccessProperty accessProperty = getComponent().getAccessProperty(); |
76 AccessProperty accessProperty = getComponent().getAccessProperty(); |
70 MutableProperty<Boolean> enabledProperty = |
77 MutableProperty<Boolean> enabledProperty = |
96 setPropertyChangeSource(getPanelDescriptor()); |
103 setPropertyChangeSource(getPanelDescriptor()); |
97 super.start(navigator, parameters); |
104 super.start(navigator, parameters); |
98 } |
105 } |
99 |
106 |
100 // |
107 // |
101 // DefaultControl |
|
102 // |
|
103 |
|
104 @Override |
|
105 protected UnsavedChangesAction getUnsavedChangesAction() { |
|
106 // Automatically save changes to the FirewallPanelDescriptor -- |
|
107 // let MainControl prompt the user to save them to the repo |
|
108 return UnsavedChangesAction.SAVE; |
|
109 } |
|
110 |
|
111 // |
|
112 // SwingControl methods |
108 // SwingControl methods |
113 // |
109 // |
114 |
110 |
115 @Override |
111 @Override |
116 protected FirewallSettingsPanel createComponent() { |
112 protected FirewallSettingsPanel createComponent() { |