usr/src/java/vpanels/panels/firewall/org/opensolaris/os/vp/panels/firewall/client/swing/MainControl.java
changeset 360 8943c58ad2f5
parent 349 cb1b71664c9a
child 390 62c7eb34e283
equal deleted inserted replaced
359:2bd667ea3c04 360:8943c58ad2f5
    57     //
    57     //
    58     // Control methods
    58     // Control methods
    59     //
    59     //
    60 
    60 
    61     @Override
    61     @Override
    62     public Navigable[] getForwardingPath() {
       
    63 	return new Navigable[] {
       
    64 	    new SimpleNavigable(GlobalControl.ID, null)
       
    65 	};
       
    66     }
       
    67 
       
    68     //
       
    69     // DefaultControl methods
       
    70     //
       
    71 
       
    72     @Override
       
    73     public void childStarted(Control child) {
    62     public void childStarted(Control child) {
    74 	super.childStarted(child);
    63 	super.childStarted(child);
    75 
    64 
    76 	if (child instanceof ServiceEditControl) {
    65 	if (child instanceof ServiceEditControl) {
    77 	    getComponent().getChangeableAggregator().addChangeables(
    66 	    getComponent().getChangeableAggregator().addChangeables(
    96 	    ((GlobalControl)child).getChangeableAggregator());
    85 	    ((GlobalControl)child).getChangeableAggregator());
    97 	}
    86 	}
    98     }
    87     }
    99 
    88 
   100     @Override
    89     @Override
       
    90     public Navigable[] getForwardingPath() {
       
    91 	return new Navigable[] {
       
    92 	    new SimpleNavigable(GlobalControl.ID, null)
       
    93 	};
       
    94     }
       
    95 
       
    96     //
       
    97     // DefaultControl methods
       
    98     //
       
    99 
       
   100     @Override
   101     protected void ensureChildrenCreated() {
   101     protected void ensureChildrenCreated() {
   102 	if (children.size() == 0) {
   102 	if (children.size() == 0) {
   103 	    FirewallPanelDescriptor descriptor = getPanelDescriptor();
   103 	    FirewallPanelDescriptor descriptor = getPanelDescriptor();
   104 	    SwingControl[] controls = {
   104 	    SwingControl[] controls = {
   105 		new GlobalControl(descriptor),
   105 		new GlobalControl(descriptor),