1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

bug 411417: Export of preferences of Makefile Editor

This commit is contained in:
Andrew Gvozdev 2013-06-21 17:05:59 -04:00
parent 07341495e4
commit fcd477e695
4 changed files with 44 additions and 2 deletions

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.cdt.make.core" version="2">
<resource path="src/org/eclipse/cdt/make/core/MakeCorePlugin.java" type="org.eclipse.cdt.make.core.MakeCorePlugin">
<filter id="388194388">
<message_arguments>
<message_argument value="org.eclipse.cdt.make.core.MakeCorePlugin"/>
<message_argument value="MAKEFILE_DIRS"/>
<message_argument value="org.eclipse.cdt.make.coreeditor_makefile_dirs"/>
</message_arguments>
</filter>
<filter id="388194388">
<message_arguments>
<message_argument value="org.eclipse.cdt.make.core.MakeCorePlugin"/>
<message_argument value="MAKEFILE_STYLE"/>
<message_argument value="org.eclipse.cdt.make.coreeditor_makefile_style"/>
</message_arguments>
</filter>
</resource>
</component>

View file

@ -101,8 +101,8 @@ public class MakeCorePlugin extends Plugin {
public static final String GCC_SPECS_CONSOLE_PARSER_ID = MakeCorePlugin.getUniqueIdentifier() + ".GCCSpecsConsoleParser"; //$NON-NLS-1$
public static final String GCC_SCANNER_INFO_CONSOLE_PARSER_ID = MakeCorePlugin.getUniqueIdentifier() + ".GCCScannerInfoConsoleParser"; //$NON-NLS-1$
public static final String MAKEFILE_STYLE = PLUGIN_ID + "editor_makefile_style"; //$NON-NLS-1$
public static final String MAKEFILE_DIRS = PLUGIN_ID + "editor_makefile_dirs"; //$NON-NLS-1$
public static final String MAKEFILE_STYLE = PLUGIN_ID + ".editor_makefile_style"; //$NON-NLS-1$
public static final String MAKEFILE_DIRS = PLUGIN_ID + ".editor_makefile_dirs"; //$NON-NLS-1$
public static final String CFG_DATA_PROVIDER_ID = PLUGIN_ID + ".configurationDataProvider"; //$NON-NLS-1$
private MakeTargetManager fTargetManager;

View file

@ -103,3 +103,6 @@ AddTask.label=Add &Task...
AddTask.tooltip=Add Task...
AddBookmark.label=Add Boo&kmark...
AddBookmark.tooltip=Add Bookmark...
transfer.MakefileEditorAppearance.name = C/C++ Makefile Editor Preferences
transfer.MakefileEditorAppearance.description = Preferences related to how the editor presents the edited code to the user (including colors, fonts, etc...)

View file

@ -541,4 +541,24 @@
</description>
</fontDefinition>
</extension>
<extension
point="org.eclipse.ui.preferenceTransfer">
<transfer
icon="icons/etool16/makefile.gif"
id="org.eclipse.cdt.make.ui.transfer.editor.appearance"
name="%transfer.MakefileEditorAppearance.name">
<mapping scope="instance">
<entry node="org.eclipse.cdt.make.ui">
<key name="org.eclipse.cdt.make.ui." match="prefix"/>
<key name="editor_" match="prefix"/>
</entry>
<entry node="org.eclipse.cdt.make.core">
<key name="org.eclipse.cdt.make.core.editor_" match="prefix"/>
</entry>
</mapping>
<description>
%transfer.MakefileEditorAppearance.description
</description>
</transfer>
</extension>
</plugin>