mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Cleanup Core Build Preference pages.
Move Toolchains directly under C/C++ and rename to Core Build Toolchains. Add a label describing what the toolchains are for in hope of avoiding confusion with managed build. Also move Qt into C/C++. Change-Id: Ia1d76087c65b26562d1001243ea355c7ac32365e
This commit is contained in:
parent
4eb76a4ede
commit
d6a1c13e5c
8 changed files with 19 additions and 8 deletions
|
@ -7,4 +7,3 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
cmake.preferences.name = CMake
|
cmake.preferences.name = CMake
|
||||||
toolchains.preferences.name = Toolchains
|
|
||||||
|
|
|
@ -28,12 +28,6 @@
|
||||||
id="org.eclipse.cdt.cmake.ui.page1"
|
id="org.eclipse.cdt.cmake.ui.page1"
|
||||||
name="%cmake.preferences.name">
|
name="%cmake.preferences.name">
|
||||||
</page>
|
</page>
|
||||||
<page
|
|
||||||
category="org.eclipse.cdt.cmake.ui.page1"
|
|
||||||
class="org.eclipse.cdt.ui.build.ToolChainPreferencePage"
|
|
||||||
id="org.eclipse.cdt.cmake.ui.page.toolchains"
|
|
||||||
name="%toolchains.preferences.name">
|
|
||||||
</page>
|
|
||||||
</extension>
|
</extension>
|
||||||
<extension
|
<extension
|
||||||
point="org.eclipse.tools.templates.ui.templates">
|
point="org.eclipse.tools.templates.ui.templates">
|
||||||
|
|
|
@ -674,3 +674,5 @@ RefreshExclusionContributorExtensionPoint = Refresh Exclusion Contributor
|
||||||
semanticHighlightingExtensionPoint = Semantic Highlighting Extension Point
|
semanticHighlightingExtensionPoint = Semantic Highlighting Extension Point
|
||||||
|
|
||||||
UserSettingEntries.name = CDT User Setting Entries
|
UserSettingEntries.name = CDT User Setting Entries
|
||||||
|
|
||||||
|
toolchains.preferences.name = Core Build Toolchains
|
|
@ -5030,5 +5030,14 @@
|
||||||
</adapter>
|
</adapter>
|
||||||
</factory>
|
</factory>
|
||||||
</extension>
|
</extension>
|
||||||
|
<extension
|
||||||
|
point="org.eclipse.ui.preferencePages">
|
||||||
|
<page
|
||||||
|
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
|
||||||
|
class="org.eclipse.cdt.ui.build.ToolChainPreferencePage"
|
||||||
|
id="org.eclipse.cdt.cmake.ui.page.toolchains"
|
||||||
|
name="%toolchains.preferences.name">
|
||||||
|
</page>
|
||||||
|
</extension>
|
||||||
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
|
@ -69,6 +69,7 @@ public final class CUIMessages extends NLS {
|
||||||
public static String ToolChainPreferencePage_Arch;
|
public static String ToolChainPreferencePage_Arch;
|
||||||
public static String ToolChainPreferencePage_AreYouSure;
|
public static String ToolChainPreferencePage_AreYouSure;
|
||||||
public static String ToolChainPreferencePage_AvailableToolchains;
|
public static String ToolChainPreferencePage_AvailableToolchains;
|
||||||
|
public static String ToolChainPreferencePage_Desc;
|
||||||
public static String ToolChainPreferencePage_Down;
|
public static String ToolChainPreferencePage_Down;
|
||||||
public static String ToolChainPreferencePage_Edit;
|
public static String ToolChainPreferencePage_Edit;
|
||||||
public static String ToolChainPreferencePage_EditDot;
|
public static String ToolChainPreferencePage_EditDot;
|
||||||
|
|
|
@ -69,6 +69,7 @@ ToolChainPreferencePage_Add=Add...
|
||||||
ToolChainPreferencePage_Arch=Arch
|
ToolChainPreferencePage_Arch=Arch
|
||||||
ToolChainPreferencePage_AreYouSure=Are you sure you'd like to remove the selected toolchain?
|
ToolChainPreferencePage_AreYouSure=Are you sure you'd like to remove the selected toolchain?
|
||||||
ToolChainPreferencePage_AvailableToolchains=Available Toolchains
|
ToolChainPreferencePage_AvailableToolchains=Available Toolchains
|
||||||
|
ToolChainPreferencePage_Desc=Toolchains for use with CMake, Qt, and Core Build Makefile projects.
|
||||||
ToolChainPreferencePage_Down=Down
|
ToolChainPreferencePage_Down=Down
|
||||||
ToolChainPreferencePage_Edit=Edit
|
ToolChainPreferencePage_Edit=Edit
|
||||||
ToolChainPreferencePage_EditDot=Edit...
|
ToolChainPreferencePage_EditDot=Edit...
|
||||||
|
@ -78,7 +79,7 @@ ToolChainPreferencePage_OS=OS
|
||||||
ToolChainPreferencePage_Remove=Remove
|
ToolChainPreferencePage_Remove=Remove
|
||||||
ToolChainPreferencePage_Remove1=Remove
|
ToolChainPreferencePage_Remove1=Remove
|
||||||
ToolChainPreferencePage_RemoveToolchain=Remove Toolchain
|
ToolChainPreferencePage_RemoveToolchain=Remove Toolchain
|
||||||
ToolChainPreferencePage_Toolchains=Toolchains
|
ToolChainPreferencePage_Toolchains=Core Build Toolchains
|
||||||
ToolChainPreferencePage_Type=Type
|
ToolChainPreferencePage_Type=Type
|
||||||
ToolChainPreferencePage_Up=Up
|
ToolChainPreferencePage_Up=Up
|
||||||
ToolChainPreferencePage_UserDefinedToolchains=User Defined Toolchains
|
ToolChainPreferencePage_UserDefinedToolchains=User Defined Toolchains
|
||||||
|
|
|
@ -41,6 +41,7 @@ import org.eclipse.swt.widgets.Composite;
|
||||||
import org.eclipse.swt.widgets.Control;
|
import org.eclipse.swt.widgets.Control;
|
||||||
import org.eclipse.swt.widgets.Display;
|
import org.eclipse.swt.widgets.Display;
|
||||||
import org.eclipse.swt.widgets.Group;
|
import org.eclipse.swt.widgets.Group;
|
||||||
|
import org.eclipse.swt.widgets.Label;
|
||||||
import org.eclipse.swt.widgets.Table;
|
import org.eclipse.swt.widgets.Table;
|
||||||
import org.eclipse.swt.widgets.TableColumn;
|
import org.eclipse.swt.widgets.TableColumn;
|
||||||
import org.eclipse.ui.IWorkbench;
|
import org.eclipse.ui.IWorkbench;
|
||||||
|
@ -116,6 +117,9 @@ public class ToolChainPreferencePage extends PreferencePage implements IWorkbenc
|
||||||
Composite control = new Composite(parent, SWT.NONE);
|
Composite control = new Composite(parent, SWT.NONE);
|
||||||
control.setLayout(new GridLayout());
|
control.setLayout(new GridLayout());
|
||||||
|
|
||||||
|
Label label = new Label(control, SWT.NONE);
|
||||||
|
label.setText(CUIMessages.ToolChainPreferencePage_Desc);
|
||||||
|
|
||||||
Group availGroup = new Group(control, SWT.NONE);
|
Group availGroup = new Group(control, SWT.NONE);
|
||||||
availGroup.setText(CUIMessages.ToolChainPreferencePage_AvailableToolchains);
|
availGroup.setText(CUIMessages.ToolChainPreferencePage_AvailableToolchains);
|
||||||
availGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
|
availGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
<extension
|
<extension
|
||||||
point="org.eclipse.ui.preferencePages">
|
point="org.eclipse.ui.preferencePages">
|
||||||
<page
|
<page
|
||||||
|
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
|
||||||
class="org.eclipse.cdt.internal.qt.ui.preferences.QtPreferencePage"
|
class="org.eclipse.cdt.internal.qt.ui.preferences.QtPreferencePage"
|
||||||
id="org.eclipse.cdt.qt.ui.preferencePage.qt"
|
id="org.eclipse.cdt.qt.ui.preferencePage.qt"
|
||||||
name="%preferences.qt.name">
|
name="%preferences.qt.name">
|
||||||
|
|
Loading…
Add table
Reference in a new issue