1 package org.enhydra.kelp.jbuilder; 2 3 10 11 import com.borland.primetime.*; 12 import com.borland.jbuilder.*; 13 import com.borland.primetime.ide.*; 14 15 import javax.swing.*; 16 import javax.swing.Icon ; 17 import java.net.URL ; 18 import com.borland.primetime.util.Icons; 19 import org.enhydra.kelp.jbuilder.actions.*; 21 import com.borland.primetime.util.Images; 22 23 public class EnhydraTools { 24 25 public static final EnhydraGroup GROUP_Enhydra; 26 public static final Action ACTION_XMLC; 27 public static final Action ACTION_DEPLOYER; 28 public static final Action ACTION_DODS; 29 private final static String MENU_ICON = "/media/menu_16x16.gif"; 30 private static Icon icon; 31 32 public EnhydraTools() { 33 } 34 35 static 36 { 37 GROUP_Enhydra = new EnhydraGroup("Enhydra Tools", 'E', "", 38 Icons.getIcon(org.enhydra.kelp.jbuilder.EnhydraTools.class, MENU_ICON), 39 true ); 40 ACTION_XMLC = new XMLCAction("XML Compiler", 'X'); 41 ACTION_DEPLOYER = new DeployerAction("Deployer", 'D'); 42 ACTION_DODS = new DODSAction("DODS", 'O'); 43 44 } 45 46 public static void initOpenTool(byte major, 47 byte minor) { 48 49 if (major != PrimeTime.CURRENT_MAJOR_VERSION) 51 return; 52 53 JBuilderMenu.GROUP_ToolsStandard.add(GROUP_Enhydra); 55 GROUP_Enhydra.add(ACTION_XMLC); 56 GROUP_Enhydra.add(ACTION_DEPLOYER); 57 GROUP_Enhydra.add(ACTION_DODS); 58 } 60 61 } | Popular Tags |