mirror of https://github.com/buggins/dlangide.git
tooltips for toolbar buttons
This commit is contained in:
parent
8bcf603b27
commit
e185c2a935
|
@ -17,6 +17,7 @@ enum IDEActions : int {
|
||||||
FileClose,
|
FileClose,
|
||||||
FileExit,
|
FileExit,
|
||||||
EditPreferences,
|
EditPreferences,
|
||||||
|
BuildConfigurations,
|
||||||
BuildWorkspace,
|
BuildWorkspace,
|
||||||
RebuildWorkspace,
|
RebuildWorkspace,
|
||||||
CleanWorkspace,
|
CleanWorkspace,
|
||||||
|
@ -59,6 +60,7 @@ const Action ACTION_FILE_EXIT = new Action(IDEActions.FileExit, "MENU_FILE_EXIT"
|
||||||
const Action ACTION_WORKSPACE_BUILD = new Action(IDEActions.BuildWorkspace, "MENU_BUILD_WORKSPACE_BUILD"c);
|
const Action ACTION_WORKSPACE_BUILD = new Action(IDEActions.BuildWorkspace, "MENU_BUILD_WORKSPACE_BUILD"c);
|
||||||
const Action ACTION_WORKSPACE_REBUILD = new Action(IDEActions.RebuildWorkspace, "MENU_BUILD_WORKSPACE_REBUILD"c);
|
const Action ACTION_WORKSPACE_REBUILD = new Action(IDEActions.RebuildWorkspace, "MENU_BUILD_WORKSPACE_REBUILD"c);
|
||||||
const Action ACTION_WORKSPACE_CLEAN = new Action(IDEActions.CleanWorkspace, "MENU_BUILD_WORKSPACE_CLEAN"c);
|
const Action ACTION_WORKSPACE_CLEAN = new Action(IDEActions.CleanWorkspace, "MENU_BUILD_WORKSPACE_CLEAN"c);
|
||||||
|
const Action ACTION_BUILD_CONFIGURATIONS = new Action(IDEActions.BuildConfigurations, "MENU_BUILD_CONFIGURATIONS"c);
|
||||||
const Action ACTION_PROJECT_BUILD = new Action(IDEActions.BuildProject, "MENU_BUILD_PROJECT_BUILD"c, "run-build", KeyCode.F7, 0);
|
const Action ACTION_PROJECT_BUILD = new Action(IDEActions.BuildProject, "MENU_BUILD_PROJECT_BUILD"c, "run-build", KeyCode.F7, 0);
|
||||||
const Action ACTION_PROJECT_REBUILD = new Action(IDEActions.RebuildProject, "MENU_BUILD_PROJECT_REBUILD"c, "run-build-clean", KeyCode.F7, KeyFlag.Control);
|
const Action ACTION_PROJECT_REBUILD = new Action(IDEActions.RebuildProject, "MENU_BUILD_PROJECT_REBUILD"c, "run-build-clean", KeyCode.F7, KeyFlag.Control);
|
||||||
const Action ACTION_PROJECT_CLEAN = new Action(IDEActions.CleanProject, "MENU_BUILD_PROJECT_CLEAN"c, null);
|
const Action ACTION_PROJECT_CLEAN = new Action(IDEActions.CleanProject, "MENU_BUILD_PROJECT_CLEAN"c, null);
|
||||||
|
|
|
@ -374,7 +374,7 @@ class IDEFrame : AppFrame {
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
cbBuildConfiguration.action = ACTION_PROJECT_BUILD;
|
cbBuildConfiguration.action = ACTION_BUILD_CONFIGURATIONS;
|
||||||
tb.addControl(cbBuildConfiguration);
|
tb.addControl(cbBuildConfiguration);
|
||||||
tb.addButtons(ACTION_PROJECT_BUILD);
|
tb.addButtons(ACTION_PROJECT_BUILD);
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ MENU_EDIT_TOGGLE_LINE_COMMENT=Toggle line comment
|
||||||
MENU_EDIT_TOGGLE_BLOCK_COMMENT=Toggle block comment
|
MENU_EDIT_TOGGLE_BLOCK_COMMENT=Toggle block comment
|
||||||
MENU_EDIT_ADVANCED=Advanced...
|
MENU_EDIT_ADVANCED=Advanced...
|
||||||
MENU_EDIT_PREFERENCES=&Preferences
|
MENU_EDIT_PREFERENCES=&Preferences
|
||||||
|
MENU_BUILD_CONFIGURATIONS=Build configurations
|
||||||
MENU_BUILD=&BUILD
|
MENU_BUILD=&BUILD
|
||||||
MENU_BUILD_WORKSPACE_BUILD=Build Workspace
|
MENU_BUILD_WORKSPACE_BUILD=Build Workspace
|
||||||
MENU_BUILD_WORKSPACE_REBUILD=Rebuild Workspace
|
MENU_BUILD_WORKSPACE_REBUILD=Rebuild Workspace
|
||||||
|
|
Loading…
Reference in New Issue