Registering action using a supported API (core-main #e93682d9dcec).
authorJesse Glick <jglick@netbeans.org>
Fri, 10 Jun 2011 11:20:36 -0400
changeset 5925e8e6fc3dc98
parent 588 04c50302ec5b
child 593 d88e4597c5c6
Registering action using a supported API (core-main #e93682d9dcec).
hudson.indexerinstaller/nbproject/genfiles.properties
hudson.indexerinstaller/nbproject/project.xml
hudson.indexerinstaller/src/org/netbeans/modules/hudson/indexerinstaller/InstallHudsonExtension.java
     1.1 --- a/hudson.indexerinstaller/nbproject/genfiles.properties	Fri Jun 10 12:12:23 2011 +0200
     1.2 +++ b/hudson.indexerinstaller/nbproject/genfiles.properties	Fri Jun 10 11:20:36 2011 -0400
     1.3 @@ -1,8 +1,8 @@
     1.4 -build.xml.data.CRC32=95d9bf60
     1.5 +build.xml.data.CRC32=23fadb12
     1.6  build.xml.script.CRC32=9653f76d
     1.7 -build.xml.stylesheet.CRC32=a56c6a5b@1.45.1
     1.8 +build.xml.stylesheet.CRC32=a56c6a5b@1.47
     1.9  # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
    1.10  # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
    1.11 -nbproject/build-impl.xml.data.CRC32=95d9bf60
    1.12 +nbproject/build-impl.xml.data.CRC32=23fadb12
    1.13  nbproject/build-impl.xml.script.CRC32=4d4ae753
    1.14 -nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.45.1
    1.15 +nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.47
     2.1 --- a/hudson.indexerinstaller/nbproject/project.xml	Fri Jun 10 12:12:23 2011 +0200
     2.2 +++ b/hudson.indexerinstaller/nbproject/project.xml	Fri Jun 10 11:20:36 2011 -0400
     2.3 @@ -20,7 +20,7 @@
     2.4                      <build-prerequisite/>
     2.5                      <compile-dependency/>
     2.6                      <run-dependency>
     2.7 -                        <specification-version>1.11</specification-version>
     2.8 +                        <specification-version>1.12</specification-version>
     2.9                      </run-dependency>
    2.10                  </dependency>
    2.11                  <dependency>
     3.1 --- a/hudson.indexerinstaller/src/org/netbeans/modules/hudson/indexerinstaller/InstallHudsonExtension.java	Fri Jun 10 12:12:23 2011 +0200
     3.2 +++ b/hudson.indexerinstaller/src/org/netbeans/modules/hudson/indexerinstaller/InstallHudsonExtension.java	Fri Jun 10 11:20:36 2011 -0400
     3.3 @@ -42,32 +42,30 @@
     3.4  
     3.5  package org.netbeans.modules.hudson.indexerinstaller;
     3.6  
     3.7 -import hudson.cli.CLI;
     3.8 +import java.awt.event.ActionEvent;
     3.9  import java.awt.event.ActionListener;
    3.10 -import java.awt.event.ActionEvent;
    3.11  import java.io.IOException;
    3.12  import java.net.URL;
    3.13  import javax.swing.JOptionPane;
    3.14  import javax.swing.SwingUtilities;
    3.15  import org.netbeans.api.progress.ProgressUtils;
    3.16  import org.netbeans.modules.hudson.api.HudsonInstance;
    3.17 -
    3.18 +import org.openide.awt.ActionID;
    3.19 +import org.openide.awt.ActionReference;
    3.20  import org.openide.awt.ActionRegistration;
    3.21 -import org.openide.awt.ActionReferences;
    3.22 -import org.openide.awt.ActionID;
    3.23  import org.openide.util.Exceptions;
    3.24  import org.openide.util.NbBundle.Messages;
    3.25  import org.openide.windows.WindowManager;
    3.26 +import hudson.cli.CLI;
    3.27  
    3.28  @ActionID(
    3.29 -    category="Tools",
    3.30 +    category="Team",
    3.31      id="org.netbeans.modules.hudson.indexerinstaller.InstallHudsonExtension"
    3.32  )
    3.33  @ActionRegistration(
    3.34      displayName="#CTL_InstallHudsonExtension"
    3.35  )
    3.36 -@ActionReferences({
    3.37 -})
    3.38 +@ActionReference(path=HudsonInstance.ACTION_PATH, position=950)
    3.39  @Messages({"CTL_InstallHudsonExtension=Install Hudson Extension",
    3.40          "CTL_InstallingPlugin=Installing Plugin", 
    3.41          "CTL_RestartTitle=Plugin Installed",