1 26 package org.objectweb.openccm.explorer.Components; 27 28 29 import org.objectweb.util.explorer.api.MenuItem; 30 import org.objectweb.util.explorer.api.MenuItemTreeView; 31 import org.objectweb.util.explorer.api.TreeView; 32 import org.omg.Components.CCMObject; 33 34 42 public class ConfigurationCompleteAction 43 implements MenuItem { 44 45 51 57 63 69 72 public int getStatus(TreeView arg0){ 73 return MenuItem.ENABLED_STATUS; 74 } 75 76 79 public void actionPerformed(MenuItemTreeView e) throws Exception { 80 CCMObject object = (CCMObject) e.getSelectedObject(); 81 object.configuration_complete(); 82 } 83 84 } 85 | Popular Tags |