mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +02:00
2005-07-06 Alain Magloire
PR 102789: Add Include dialog typo * src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java * src/org/eclipse/cdt/internal/ui/editor/CEditorMessages.properties
This commit is contained in:
parent
6889eb0c0d
commit
4a917f5a73
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-07-06 Alain Magloire
|
||||||
|
PR 102789: Add Include dialog typo
|
||||||
|
* src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java
|
||||||
|
* src/org/eclipse/cdt/internal/ui/editor/CEditorMessages.properties
|
||||||
|
|
||||||
2005-07-06 Alain Magloire
|
2005-07-06 Alain Magloire
|
||||||
PR 102622: OpenIncludeAction improvement, patch from: Robert O'Callahan
|
PR 102622: OpenIncludeAction improvement, patch from: Robert O'Callahan
|
||||||
* src/org/eclipse/cdt/internal/ui/OpenIncludeAction.java
|
* src/org/eclipse/cdt/internal/ui/OpenIncludeAction.java
|
||||||
|
|
|
@ -61,7 +61,6 @@ import org.eclipse.swt.widgets.Shell;
|
||||||
import org.eclipse.ui.IEditorInput;
|
import org.eclipse.ui.IEditorInput;
|
||||||
import org.eclipse.ui.PlatformUI;
|
import org.eclipse.ui.PlatformUI;
|
||||||
import org.eclipse.ui.dialogs.ElementListSelectionDialog;
|
import org.eclipse.ui.dialogs.ElementListSelectionDialog;
|
||||||
import org.eclipse.ui.help.WorkbenchHelp;
|
|
||||||
import org.eclipse.ui.texteditor.ITextEditor;
|
import org.eclipse.ui.texteditor.ITextEditor;
|
||||||
import org.eclipse.ui.texteditor.IUpdate;
|
import org.eclipse.ui.texteditor.IUpdate;
|
||||||
|
|
||||||
|
@ -108,7 +107,7 @@ public class AddIncludeOnSelectionAction extends Action implements IUpdate {
|
||||||
setDescription(CEditorMessages.getString("AddIncludeOnSelection.description")); //$NON-NLS-1$
|
setDescription(CEditorMessages.getString("AddIncludeOnSelection.description")); //$NON-NLS-1$
|
||||||
|
|
||||||
fEditor= editor;
|
fEditor= editor;
|
||||||
WorkbenchHelp.setHelp(this, ICHelpContextIds.ADD_INCLUDE_ON_SELECTION_ACTION);
|
CUIPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(this, ICHelpContextIds.ADD_INCLUDE_ON_SELECTION_ACTION);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addInclude(ITranslationUnit tu) {
|
private void addInclude(ITranslationUnit tu) {
|
||||||
|
|
|
@ -10,7 +10,7 @@ AddIncludeOnSelection.error.message1=Adding include statements failed
|
||||||
AddIncludeOnSelection.error.message2=Error
|
AddIncludeOnSelection.error.message2=Error
|
||||||
AddIncludeOnSelection.error.message3=Error
|
AddIncludeOnSelection.error.message3=Error
|
||||||
AddIncludeOnSelection.error.message4=BadLocationException:
|
AddIncludeOnSelection.error.message4=BadLocationException:
|
||||||
AddIncludeOnSelection.label=Add I&nclude
|
AddIncludeOnSelection.label=Add Include
|
||||||
AddIncludeOnSelection.tooltip=Add Include Statement on Selection
|
AddIncludeOnSelection.tooltip=Add Include Statement on Selection
|
||||||
|
|
||||||
ShowInCView.description=Show the current resource in the C/C++ Projects view
|
ShowInCView.description=Show the current resource in the C/C++ Projects view
|
||||||
|
|
Loading…
Add table
Reference in a new issue