-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0-M9 (2.0.0.v20150606-M9)
-
Fix Version/s: 2.0.0-M9 (2.0.0.v20150606-M9)
-
Component/s: studio-ldifeditor
-
Labels:None
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 ?
- duplicates
-
DIRSTUDIO-1043 First open of LDIF editor fails
-
- Closed
-