Package de.gebit.integrity.ui
Class DSLUiModule
- java.lang.Object
-
- org.eclipse.xtext.service.AbstractGenericModule
-
- org.eclipse.xtext.ui.DefaultUiModule
-
- org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule
-
- de.gebit.integrity.ui.AbstractDSLUiModule
-
- de.gebit.integrity.ui.DSLUiModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class DSLUiModule extends AbstractDSLUiModule
Use this class to register components to be used within the IDE.- Author:
- Rene Schneider - initial API and implementation
-
-
Constructor Summary
Constructors Constructor Description DSLUiModule(org.eclipse.ui.plugin.AbstractUIPlugin aPlugin)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper>
bindAbstractAntlrTokenToAttributeIdMapper()
Binds the Antlr token to attribute ID mapper.java.lang.Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalPriorities>
bindContentProposalPriorities()
Defines theIContentProposalPriorities
implementation.java.lang.Class<? extends org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider>
bindEObjectHoverProvider()
Binds the hover provider.java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration>
bindHighlightingConfiguration()
Binds the highlighting configuration.java.lang.Class<? extends org.eclipse.xtext.documentation.IEObjectDocumentationProvider>
bindIEObjectDocumentationProvider()
Binds the provider.java.lang.Class<? extends IntegritySearch>
bindIntegritySearch()
Defines theIntegritySearch
implementation.java.lang.Class<? extends IntegrityURLResolver>
bindIntegrityURLResolver()
Defines theIntegrityURLResolver
implementation.java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator>
bindISemanticHighlightingCalculator()
Binds the semantic highlighting calculator.java.lang.Class<? extends org.eclipse.xtext.formatting.IWhitespaceInformationProvider>
bindIWhitespaceInformationProvider()
java.lang.Class<? extends org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage>
bindLanguageRootPreferencePage()
Overrides the root language preference page.java.lang.Class<? extends org.eclipse.xtext.ui.editor.doubleClicking.LexerTokenAndCharacterPairAwareStrategy>
bindLexerTokenAndCharacterPairAwareStrategy()
Defines our customDoubleClickStrategyProvider
implementation.java.lang.Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher>
bindPrefixMatcher()
Defines thePrefixMatcher
implementation.java.lang.Class<? extends org.eclipse.xtext.ui.editor.XtextEditor>
bindXtextEditor()
Overrides the editor.-
Methods inherited from class de.gebit.integrity.ui.AbstractDSLUiModule
bindContentAssistContext$Factory, bindDocumentBasedDirtyResource, bindIContentAssistParser, bindIContentProposalProvider, bindIContextualOutputConfigurationProvider, bindIDependentElementsCalculator, bindILabelProvider, bindIOutlineTreeProvider, bindIOutlineTreeStructureProvider, bindIPartialContentAssistParser, bindIProposalConflictHelper, bindIReferenceUpdater, bindIRenameRefactoringProvider, bindIRenameStrategy, bindIRenameSupport$Factory, bindIssueResolutionProvider, bindIViewerCreator, bindIWorkspaceRootToInstance, bindIXtextBuilderParticipant, bindIXtextEditorCallback, bindLanguageRegistrar, bindXtextTemplatePreferencePage, configureBuilderPreferenceStoreInitializer, configureCompareViewerTitle, configureContentAssistLexer, configureContentAssistLexerProvider, configureHighlightingLexer, configureHighlightingTokenDefProvider, configureIPreferenceStoreInitializer, configureIResourceDescriptionsBuilderScope, configureIResourceDescriptionsPersisted, configureResourceUIServiceLabelProvider, provideIAllContainersState, provideLanguageRegistry, provideTemplatesLanguageConfiguration
-
Methods inherited from class org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule
bindAbstractJavaBasedContentProposalProvider$ReferenceProposalCreator, bindAbstractTypeScopeProvider, bindClassLoaderToInstance, bindDirtyStateEditorSupport, bindIHyperlinkHelper, bindIJavaProjectProvider, bindIJavaSearchParticipation, bindIJvmTypeProvider$Factory, bindITypesProposalProvider, bindIValidationJobScheduler, bindRefactoringResourceSetProvider
-
Methods inherited from class org.eclipse.xtext.ui.DefaultUiModule
bindAbstractEditStrategyProvider, bindAdapterFactory, bindAdapterFactoryLabelProvider, bindComposedAdapterFactory$Descriptor$RegistryToInstance, bindContextTypeRegistry, bindCopyQualifiedNameService, bindIAllContainersState$Provider, bindIAnnotationHover, bindIBracePairProvider, bindIBuildPreferenceEvaluator, bindICharacterPairMatcher, bindICompletionProposalPostProcessor, bindIContentAssistantFactory, bindIContentAssistProcessor, bindIContentFormatterFactory, bindIContentOutlinePage, bindICopyQualifiedNameService, bindIDocumentPartitioner, bindIEObjectHover, bindIExternalContentSupport$IExternalContentProvider, bindIHighlightingHelper, bindIHyperlinkDetector, bindIImageDescriptorHelper, bindIImageHelper, bindIIndentationInformation, bindIPartitionTokenScanner, bindIPreferenceStore, bindIPreferenceValuesProvider, bindIPresentationDamager, bindIPresentationRepairer, bindIReconciler, bindIResourceForEditorInputFactory, bindIResourceSetProvider, bindIShouldGenerate, bindISingleLineCommentHelper, bindITemplateProposalProvider, bindITextHover, bindITokenScanner, bindMarkerContributor, bindMarkerTypeProvider, bindOutlineFilterAndSorter$IComparator, bindProjectConfigProvider, bindTemplateStore, configure, configureBracketMatchingAction, configureContentProposalLabelProvider, configureHyperlinkLabelProvider, configureIOutlineContribution$Composite, configureIQuickOutlineContribution$Composite, configureIResourceDescriptionsLiveScope, configureIssueCodesPreferenceInitializer, configureLanguageSpecificURIEditorOpener, configureMarkOccurrencesAction, configureSmartCaretPreferenceInitializer, configureSpellChecker, configureToggleLinkWithEditorOutlineContribution, configureToggleSortingOutlineContribution, configureUiEncodingProvider, configureXtextEditorErrorTickUpdater
-
-
-
-
Method Detail
-
bindIEObjectDocumentationProvider
public java.lang.Class<? extends org.eclipse.xtext.documentation.IEObjectDocumentationProvider> bindIEObjectDocumentationProvider()
Binds the provider.- Returns:
-
bindHighlightingConfiguration
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration> bindHighlightingConfiguration()
Binds the highlighting configuration.- Returns:
-
bindAbstractAntlrTokenToAttributeIdMapper
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper> bindAbstractAntlrTokenToAttributeIdMapper()
Binds the Antlr token to attribute ID mapper.- Returns:
-
bindISemanticHighlightingCalculator
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator> bindISemanticHighlightingCalculator()
Binds the semantic highlighting calculator.- Returns:
-
bindEObjectHoverProvider
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider> bindEObjectHoverProvider()
Binds the hover provider.- Returns:
-
bindXtextEditor
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.XtextEditor> bindXtextEditor()
Overrides the editor.- Returns:
-
bindLanguageRootPreferencePage
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage> bindLanguageRootPreferencePage()
Overrides the root language preference page.- Returns:
-
bindIntegritySearch
public java.lang.Class<? extends IntegritySearch> bindIntegritySearch()
Defines theIntegritySearch
implementation.- Returns:
-
bindIntegrityURLResolver
public java.lang.Class<? extends IntegrityURLResolver> bindIntegrityURLResolver()
Defines theIntegrityURLResolver
implementation.- Returns:
-
bindPrefixMatcher
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher()
Defines thePrefixMatcher
implementation.- Overrides:
bindPrefixMatcher
in classAbstractDSLUiModule
- Returns:
-
bindIWhitespaceInformationProvider
public java.lang.Class<? extends org.eclipse.xtext.formatting.IWhitespaceInformationProvider> bindIWhitespaceInformationProvider()
- Overrides:
bindIWhitespaceInformationProvider
in classorg.eclipse.xtext.ui.DefaultUiModule
-
bindContentProposalPriorities
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalPriorities> bindContentProposalPriorities()
Defines theIContentProposalPriorities
implementation.- Returns:
-
bindLexerTokenAndCharacterPairAwareStrategy
public java.lang.Class<? extends org.eclipse.xtext.ui.editor.doubleClicking.LexerTokenAndCharacterPairAwareStrategy> bindLexerTokenAndCharacterPairAwareStrategy()
Defines our customDoubleClickStrategyProvider
implementation.- Returns:
-
-