usr/src/java/vpanels/panels/firewall/org/opensolaris/os/vp/panels/firewall/client/swing/ServiceEditControl.java
changeset 547 e1d8b4ddb166
parent 545 7a29a25b92e2
child 591 7c5752b99fd6
equal deleted inserted replaced
546:b284ba298d57 547:e1d8b4ddb166
    30 import java.util.logging.Level;
    30 import java.util.logging.Level;
    31 import org.opensolaris.os.scf.common.ScfException;
    31 import org.opensolaris.os.scf.common.ScfException;
    32 import org.opensolaris.os.vp.panel.common.action.*;
    32 import org.opensolaris.os.vp.panel.common.action.*;
    33 import org.opensolaris.os.vp.panel.common.control.*;
    33 import org.opensolaris.os.vp.panel.common.control.*;
    34 import org.opensolaris.os.vp.panel.common.smf.*;
    34 import org.opensolaris.os.vp.panel.common.smf.*;
    35 import org.opensolaris.os.vp.panel.swing.control.SwingSettingsControl;
    35 import org.opensolaris.os.vp.panel.swing.control.SettingsControl;
    36 import org.opensolaris.os.vp.util.misc.Finder;
    36 import org.opensolaris.os.vp.util.misc.Finder;
    37 
    37 
    38 public class ServiceEditControl
    38 public class ServiceEditControl
    39     extends SwingSettingsControl<FirewallPanelDescriptor, ServiceEditPanel> {
    39     extends SettingsControl<FirewallPanelDescriptor, ServiceEditPanel> {
    40 
    40 
    41     //
    41     //
    42     // Static data
    42     // Static data
    43     //
    43     //
    44 
    44 
   121 	getComponent().setPanelDescriptor(service.getPanelDescriptor());
   121 	getComponent().setPanelDescriptor(service.getPanelDescriptor());
   122 	getComponent().init(service);
   122 	getComponent().init(service);
   123     }
   123     }
   124 
   124 
   125     //
   125     //
   126     // SwingSettingsControl methods
   126     // SettingsControl methods
   127     //
   127     //
   128 
   128 
   129     @Override
   129     @Override
   130     protected void save() throws ActionAbortedException, ActionFailedException,
   130     protected void save() throws ActionAbortedException, ActionFailedException,
   131 	ActionUnauthorizedException {
   131 	ActionUnauthorizedException {