Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1018

Adding a new LDIF file directly fails with an error "can't find IDfind.ext"

    XMLWordPrintableJSON

Details

    Description

      On trunk, starting Studio, creating a new File, selecting LdifEditor, we get a "can't find IDfind.ext" error.

      This is due to the missing GroupMarker "find" in the LdifEditorContributor menuManager.

      Adding it in the init does solve the issue :

          public void init( IActionBars bars, IWorkbenchPage page )
          {
              IMenuManager menuManager = bars.getMenuManager();
              IMenuManager editMenu = menuManager.findMenuUsingPath(IWorkbenchActionConstants.M_EDIT);
              
              if ( editMenu != null )
              {
                  editMenu.add( new GroupMarker( IWorkbenchActionConstants.FIND_EXT ) );
              }
              
              super.init( bars, page );
              bars.setGlobalActionHandler( CONTENTASSIST_ACTION, contentAssist );
          }
      

      but this is quite ugly...

      Is there any reason why the find.ext groupMarker is missing ?

      Attachments

        Issue Links

          Activity

            People

              seelmann Stefan Seelmann
              elecharny Emmanuel Lécharny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: