Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12793

Wizard for registering Service implementations (ServiceLoader / Service file)

    • Hide
      A new wizard has been created that allows for the registering of Service implementations. The wizard adds an existing class that implements an interface, to an appropriate META-INF/services file, or creates the Service file if it does not exist. A user can access this wizard either through the wizard selection screen or by using the keyboard shortcut Ctrl+Shift+F10.
      Show
      A new wizard has been created that allows for the registering of Service implementations. The wizard adds an existing class that implements an interface, to an appropriate META-INF/services file, or creates the Service file if it does not exist. A user can access this wizard either through the wizard selection screen or by using the keyboard shortcut Ctrl+Shift+F10.
    • Documented as Feature Request

      It would be very nice if we had a wizard for adding an existing class implemeting an interface to an the appropriate META-INF/services file, or creating said service file if it does not exist.

      The user should probably be able to pick the interfaces to be used as service interfaces. (Either one or a time, or multiple at a time for convenience, not sure which would be easier to do.)

      Cheers

        1. RegisterAsServiceDialog.png
          RegisterAsServiceDialog.png
          214 kB
        2. RegisterAsServiceShortcut.png
          RegisterAsServiceShortcut.png
          122 kB
        3. src.png
          src.png
          152 kB

            [JBIDE-12793] Wizard for registering Service implementations (ServiceLoader / Service file)

            Verified with JBT 4.0.0.Beta1-v20121013-1726-B25.

            Vlado Pakan (Inactive) added a comment - Verified with JBT 4.0.0.Beta1-v20121013-1726-B25.

            Just to be clear, there's no need to assign a hotkey to this by default - as long as it is possible for a user to assign one him/herself.

            Lincoln Baxter III (Inactive) added a comment - Just to be clear, there's no need to assign a hotkey to this by default - as long as it is possible for a user to assign one him/herself.

            Ctrl+Shift+F10 works.
            Fixed.

            Alexey Kazakov added a comment - Ctrl+Shift+F10 works. Fixed.

            Beaauuuutiful!

            Lincoln Baxter III (Inactive) added a comment - Beaauuuutiful!

            Perhaps not by default, but if a user wants to do so.

            Lincoln Baxter III (Inactive) added a comment - Perhaps not by default, but if a user wants to do so.

            Nice! Looks great! Is it possible to assign a keyboard shortcut to this?

            Lincoln Baxter III (Inactive) added a comment - Nice! Looks great! Is it possible to assign a keyboard shortcut to this?

            Alexey, please verify.

            Viacheslav Kabanovich (Inactive) added a comment - Alexey, please verify.

            It works fine but we need a JUnit test for this wizard.

            Alexey Kazakov added a comment - It works fine but we need a JUnit test for this wizard.

            Done. Alexey, please verify.

            Viacheslav Kabanovich (Inactive) added a comment - Done. Alexey, please verify.

              scabanovich Viacheslav Kabanovich (Inactive)
              lincolnthree Lincoln Baxter III (Inactive)
              Isaac Rooskov Isaac Rooskov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: