markAsSelectionDependentAction("Format", true);
	protected void createActions() {				super.createActions();		Action action= new TextOperationAction(JavaEditorMessages.getResourceBundle(), "CorrectionAssistProposal.", this, JavaCorrectionSourceViewer.CORRECTIONASSIST_PROPOSALS); //$NON-NLS-1$		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.CORRECTION_ASSIST_PROPOSALS);				setAction("CorrectionAssistProposal", action); //$NON-NLS-1$		action= new ContentAssistAction(JavaEditorMessages.getResourceBundle(), "ContentAssistProposal.", this); //$NON-NLS-1$		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS);				setAction("ContentAssistProposal", action); //$NON-NLS-1$		action= new TextOperationAction(JavaEditorMessages.getResourceBundle(), "ContentAssistContextInformation.", this, ISourceViewer.CONTENTASSIST_CONTEXT_INFORMATION);	//$NON-NLS-1$		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.CONTENT_ASSIST_CONTEXT_INFORMATION);				setAction("ContentAssistContextInformation", action); //$NON-NLS-1$		action= new TextOperationAction(JavaEditorMessages.getResourceBundle(), "Comment.", this, ITextOperationTarget.PREFIX); //$NON-NLS-1$		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.COMMENT);				setAction("Comment", action); //$NON-NLS-1$		action= new TextOperationAction(JavaEditorMessages.getResourceBundle(), "Uncomment.", this, ITextOperationTarget.STRIP_PREFIX); //$NON-NLS-1$		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.UNCOMMENT);				setAction("Uncomment", action); //$NON-NLS-1$		action= new TextOperationAction(JavaEditorMessages.getResourceBundle(), "Format.", this, ISourceViewer.FORMAT); //$NON-NLS-1$		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.FORMAT);				setAction("Format", action); //$NON-NLS-1$		action= new TextOperationAction(JavaEditorMessages.getResourceBundle(),"ShowOutline.", this, JavaCorrectionSourceViewer.SHOW_OUTLINE, true); //$NON-NLS-1$		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.SHOW_OUTLINE);		setAction(IJavaEditorActionDefinitionIds.SHOW_OUTLINE, action);		action= new TextOperationAction(JavaEditorMessages.getResourceBundle(),"OpenStructure.", this, JavaCorrectionSourceViewer.OPEN_STRUCTURE, true); //$NON-NLS-1$		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.OPEN_STRUCTURE);		setAction(IJavaEditorActionDefinitionIds.OPEN_STRUCTURE, action);		markAsStateDependentAction("CorrectionAssistProposal", true); //$NON-NLS-1$		markAsStateDependentAction("ContentAssistProposal", true); //$NON-NLS-1$		markAsStateDependentAction("ContentAssistContextInformation", true); //$NON-NLS-1$		markAsStateDependentAction("Comment", true); //$NON-NLS-1$		markAsStateDependentAction("Uncomment", true); //$NON-NLS-1$		markAsStateDependentAction("Format", true); //$NON-NLS-1$		action= new GotoMatchingBracketAction(this);		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.GOTO_MATCHING_BRACKET);						setAction(GotoMatchingBracketAction.GOTO_MATCHING_BRACKET, action);		action= GoToNextPreviousMemberAction.newGoToNextMemberAction(this);		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.GOTO_NEXT_MEMBER);						setAction(GoToNextPreviousMemberAction.NEXT_MEMBER, action);		action= GoToNextPreviousMemberAction.newGoToPreviousMemberAction(this);		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.GOTO_PREVIOUS_MEMBER);						setAction(GoToNextPreviousMemberAction.PREVIOUS_MEMBER, action);				fSelectionHistory= new SelectionHistory(this);		action= new StructureSelectEnclosingAction(this, fSelectionHistory);		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.SELECT_ENCLOSING);						setAction(StructureSelectionAction.ENCLOSING, action);		action= new StructureSelectNextAction(this, fSelectionHistory);		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.SELECT_NEXT);		setAction(StructureSelectionAction.NEXT, action);		action= new StructureSelectPreviousAction(this, fSelectionHistory);		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.SELECT_PREVIOUS);		setAction(StructureSelectionAction.PREVIOUS, action);		action= new SearchUsagesInFileAction(this);		action.setActionDefinitionId(IJavaEditorActionDefinitionIds.SHOW_REFERENCES);		setAction(SearchUsagesInFileAction.SHOWREFERENCES, action);		StructureSelectHistoryAction historyAction= new StructureSelectHistoryAction(this, fSelectionHistory);		historyAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SELECT_LAST);				setAction(StructureSelectionAction.HISTORY, historyAction);		fSelectionHistory.setHistoryAction(historyAction);				fGenerateActionGroup= new GenerateActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);		ActionGroup rg= new RefactorActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);				fActionGroups.addGroup(rg);		fActionGroups.addGroup(fGenerateActionGroup);				// We have to keep the context menu group separate to have better control over positioning		fContextMenuGroup= new CompositeActionGroup(new ActionGroup[] {			fGenerateActionGroup, 			rg, 			new LocalHistoryActionGroup(this, ITextEditorActionConstants.GROUP_EDIT)});	}