diff options
author | Tom Schindl | 2015-06-09 07:09:28 +0000 |
---|---|---|
committer | Tom Schindl | 2015-06-09 08:54:46 +0000 |
commit | 2d3f38942e8167b1b22a0a7a0e1dcab0c40c95e7 (patch) | |
tree | 73e5dcb8e5719e6a5a3bd83e7ec0f0bc464aa614 /bundles/tooling/org.eclipse.fx.ide.l10n.ui | |
parent | 7c878265f14bb1ec3135a738314b2b8e8c9b7463 (diff) | |
download | org.eclipse.efxclipse-2d3f38942e8167b1b22a0a7a0e1dcab0c40c95e7.tar.gz org.eclipse.efxclipse-2d3f38942e8167b1b22a0a7a0e1dcab0c40c95e7.tar.xz org.eclipse.efxclipse-2d3f38942e8167b1b22a0a7a0e1dcab0c40c95e7.zip |
Bug 447936 - [xtext] Unable to create the selected preference page.
Diffstat (limited to 'bundles/tooling/org.eclipse.fx.ide.l10n.ui')
15 files changed, 42 insertions, 61 deletions
diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/plugin.xml_gen b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/plugin.xml_gen index e814adef2..83ee3438e 100644 --- a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/plugin.xml_gen +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/plugin.xml_gen @@ -279,6 +279,27 @@ <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> </page> </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration"> + <command + commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand" + id="org.eclipse.fx.ide.l10n.NLSDsl.OpenGeneratedCode" + style="push"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.fx.ide.l10n.NLSDsl.Editor.opened" /> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.fx.ide.l10n.ui.NLSDslExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler" + commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"> + <activeWhen> + <reference definitionId="org.eclipse.fx.ide.l10n.NLSDsl.Editor.opened" /> + </activeWhen> + </handler> + </extension> <!-- Quick Outline --> <extension @@ -394,5 +415,11 @@ extensions="l10n"> </provider> </extension> + <extension point="org.eclipse.team.core.fileTypes"> + <fileTypes + extension="l10n" + type="text"> + </fileTypes> + </extension> </plugin> diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/AbstractNLSDslUiModule.java b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/AbstractNLSDslUiModule.java index e843c0f40..891a342d8 100644 --- a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/AbstractNLSDslUiModule.java +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/AbstractNLSDslUiModule.java @@ -4,14 +4,13 @@ */ package org.eclipse.fx.ide.l10n.ui; -import org.eclipse.xtext.ui.DefaultUiModule; import org.eclipse.ui.plugin.AbstractUIPlugin; /** * Manual modifications go to {org.eclipse.fx.ide.l10n.ui.NLSDslUiModule} */ @SuppressWarnings("all") -public abstract class AbstractNLSDslUiModule extends DefaultUiModule { +public abstract class AbstractNLSDslUiModule extends org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule { public AbstractNLSDslUiModule(AbstractUIPlugin plugin) { super(plugin); @@ -54,6 +53,11 @@ public abstract class AbstractNLSDslUiModule extends DefaultUiModule { } // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class<? extends org.eclipse.xtext.generator.IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() { + return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); } @@ -154,60 +158,10 @@ public abstract class AbstractNLSDslUiModule extends DefaultUiModule { } // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { - return getClass().getClassLoader(); - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory> bindIJvmTypeProvider$Factory() { - return org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider> bindAbstractTypeScopeProvider() { - return org.eclipse.xtext.common.types.xtext.ui.JdtBasedSimpleTypeScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.common.types.xtext.ui.ITypesProposalProvider> bindITypesProposalProvider() { - return org.eclipse.xtext.common.types.xtext.ui.JdtTypesProposalProvider.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.common.types.access.jdt.IJavaProjectProvider> bindIJavaProjectProvider() { - return org.eclipse.xtext.common.types.xtext.ui.XtextResourceSetBasedProjectProvider.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkHelper> bindIHyperlinkHelper() { - return org.eclipse.xtext.common.types.xtext.ui.TypeAwareHyperlinkHelper.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() { return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class; } - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator> bindAbstractJavaBasedContentProposalProvider$ReferenceProposalCreator() { - return org.eclipse.xtext.common.types.xtext.ui.TypeAwareReferenceProposalCreator.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.IValidationJobScheduler> bindIValidationJobScheduler() { - return org.eclipse.xtext.common.types.xtext.ui.JdtValidationJobScheduler.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.refactoring.impl.RefactoringResourceSetProvider> bindRefactoringResourceSetProvider() { - return org.eclipse.xtext.common.types.ui.refactoring.JvmRefactoringResourceSetProvider.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class<? extends org.eclipse.xtext.common.types.ui.query.IJavaSearchParticipation> bindIJavaSearchParticipation() { - return org.eclipse.xtext.common.types.ui.query.IJavaSearchParticipation.Yes.class; - } - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() { return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/AbstractNLSDslProposalProvider.java b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/AbstractNLSDslProposalProvider.java index 504bfc6d1..e190a2bb9 100644 --- a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/AbstractNLSDslProposalProvider.java +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/AbstractNLSDslProposalProvider.java @@ -1,6 +1,6 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ package org.eclipse.fx.ide.l10n.ui.contentassist; import org.eclipse.emf.ecore.EObject; diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/NLSDslParser.java b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/NLSDslParser.java index bf2c7c636..811dcae5c 100644 --- a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/NLSDslParser.java +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/NLSDslParser.java @@ -1,6 +1,6 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ package org.eclipse.fx.ide.l10n.ui.contentassist.antlr; import java.util.Collection; diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/PartialNLSDslContentAssistParser.java b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/PartialNLSDslContentAssistParser.java index bcebf2067..d28fc3bb2 100644 --- a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/PartialNLSDslContentAssistParser.java +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/PartialNLSDslContentAssistParser.java @@ -12,14 +12,14 @@ import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; import org.eclipse.xtext.util.PolymorphicDispatcher; -/** - * @author Sebastian Zarnekow - Initial contribution and API +/* + * Template CodetemplatesGeneratorFragment.xpt */ -@SuppressWarnings("restriction") public class PartialNLSDslContentAssistParser extends NLSDslParser implements IPartialContentAssistParser { private AbstractRule rule; + @Override public void initializeFor(AbstractRule rule) { this.rule = rule; } diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/internal/InternalNLSDsl.g b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/internal/InternalNLSDsl.g index 4cf679d15..e1d848a19 100644 --- a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/internal/InternalNLSDsl.g +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/src-gen/org/eclipse/fx/ide/l10n/ui/contentassist/antlr/internal/InternalNLSDsl.g @@ -1,6 +1,6 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ grammar InternalNLSDsl; options { diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/contentassist/.NLSDslProposalProvider.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/contentassist/.NLSDslProposalProvider.xtendbin Binary files differnew file mode 100644 index 000000000..fed092d22 --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/contentassist/.NLSDslProposalProvider.xtendbin diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/edit/.StringReplacementHandler.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/edit/.StringReplacementHandler.xtendbin Binary files differnew file mode 100644 index 000000000..dd5d8d42b --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/edit/.StringReplacementHandler.xtendbin diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.NLSHighlightingCalculator.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.NLSHighlightingCalculator.xtendbin Binary files differnew file mode 100644 index 000000000..3a14a42b3 --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.NLSHighlightingCalculator.xtendbin diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.NLSHighlightingConfiguration.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.NLSHighlightingConfiguration.xtendbin Binary files differnew file mode 100644 index 000000000..700187df5 --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.NLSHighlightingConfiguration.xtendbin diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.TokenToAttributeIdMapper.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.TokenToAttributeIdMapper.xtendbin Binary files differnew file mode 100644 index 000000000..7ea7dcef9 --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/highlighting/.TokenToAttributeIdMapper.xtendbin diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/labeling/.NLSDslDescriptionLabelProvider.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/labeling/.NLSDslDescriptionLabelProvider.xtendbin Binary files differnew file mode 100644 index 000000000..625af0136 --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/labeling/.NLSDslDescriptionLabelProvider.xtendbin diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/labeling/.NLSDslLabelProvider.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/labeling/.NLSDslLabelProvider.xtendbin Binary files differnew file mode 100644 index 000000000..65439b3c1 --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/labeling/.NLSDslLabelProvider.xtendbin diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/outline/.NLSDslOutlineTreeProvider.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/outline/.NLSDslOutlineTreeProvider.xtendbin Binary files differnew file mode 100644 index 000000000..786fad2d0 --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/outline/.NLSDslOutlineTreeProvider.xtendbin diff --git a/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/quickfix/.NLSDslQuickfixProvider.xtendbin b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/quickfix/.NLSDslQuickfixProvider.xtendbin Binary files differnew file mode 100644 index 000000000..fa56a7bcc --- /dev/null +++ b/bundles/tooling/org.eclipse.fx.ide.l10n.ui/xtend-gen/org/eclipse/fx/ide/l10n/ui/quickfix/.NLSDslQuickfixProvider.xtendbin |