Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-357

@EditorActionRegistration does not work for toolbars

    XMLWordPrintableJSON

Details

    Description

      I use code like

       

      @EditorActionRegistration( name = "execute-script",
        mimeType = "text/javascript", 
        iconResource = "org/graalvm/visualizer/shell/resources/execute.png",
        toolBarPosition = 100 
      )
      

      The action generates registration in 

      Editors/Toolbar/text/javascript

       

      But the correct place, where action instance files are loaded from is

      Editors/<mime-path>/Toolbars/Default

       

       

       

      Attachments

        Issue Links

          Activity

            People

              sdedic Svatopluk Dedic
              sdedic Svatopluk Dedic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m