jruaux      2003/03/10 09:40:49

  Modified:    integration/eclipse/src/java/org/apache/cactus/eclipse/ui
                        CactusPlugin.java
  Log:
  Supported containers are retrieved dynamically
  
  Revision  Changes    Path
  1.7       +10 -3     
jakarta-cactus/integration/eclipse/src/java/org/apache/cactus/eclipse/ui/CactusPlugin.java
  
  Index: CactusPlugin.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/eclipse/src/java/org/apache/cactus/eclipse/ui/CactusPlugin.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- CactusPlugin.java 27 Feb 2003 10:34:35 -0000      1.6
  +++ CactusPlugin.java 10 Mar 2003 17:40:48 -0000      1.7
  @@ -245,6 +245,14 @@
       }
   
       /**
  +     * @return an array of identifiers of supported containers
  +     */
  +    public static String[] getContainers()
  +    {
  +        return GenericAntProvider.getContainers();
  +    }
  +
  +    /**
        * Displays an error dialog.
        * @param theTitle title of the dialog
        * @param theMessage message to display in the dialog
  @@ -331,8 +339,7 @@
        * Sets the current CactusLaunchShortcut
        * @param theCactusLaunchShortcut the instance to set
        */
  -    public void addCactusLaunchShortcut(
  -        CactusLaunchShortcut theCactusLaunchShortcut)
  +    public void addCactusLaunchShortcut(CactusLaunchShortcut 
theCactusLaunchShortcut)
       {
           this.launchShortcut = theCactusLaunchShortcut;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to