org.eclipse.ocl.examples.xtext.oclinecore.ui
Class OCLinEcoreUiModule

java.lang.Object
  extended by org.eclipse.xtext.service.AbstractGenericModule
      extended by org.eclipse.xtext.ui.DefaultUiModule
          extended by org.eclipse.ocl.examples.xtext.oclinecore.ui.AbstractOCLinEcoreUiModule
              extended by org.eclipse.ocl.examples.xtext.oclinecore.ui.OCLinEcoreUiModule
All Implemented Interfaces:
com.google.inject.Module

public class OCLinEcoreUiModule
extends AbstractOCLinEcoreUiModule

Use this class to register components to be used within the IDE.


Nested Class Summary
static class OCLinEcoreUiModule.Bug382088Workaround
           
 
Field Summary
static java.lang.String EDITOR_ID
           
static java.lang.String PLUGIN_ID
           
 
Constructor Summary
OCLinEcoreUiModule(org.eclipse.ui.plugin.AbstractUIPlugin plugin)
           
 
Method Summary
 java.lang.Class<? extends org.eclipse.xtext.ui.editor.model.IResourceForEditorInputFactory> bindIResourceForEditorInputFactory()
           
 java.lang.Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback()
           
 java.lang.Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.StatefulFactory> bindStatefulFactory()
           
 java.lang.Class<? extends org.eclipse.xtext.ui.editor.model.XtextDocument> bindXtextDocument()
           
 java.lang.Class<? extends org.eclipse.xtext.ui.editor.model.XtextDocumentProvider> bindXtextDocumentProvider()
           
static java.lang.String getString(java.lang.String key, boolean translate)
          Return the optionally translated value of a plugin.properties key.
static java.lang.String getString(java.lang.String key, java.lang.Object[] substitutions, boolean translate)
          Return the optionally translated value of a plugin.properties key with substitutions.
 
Methods inherited from class org.eclipse.ocl.examples.xtext.oclinecore.ui.AbstractOCLinEcoreUiModule
bindAbstractAntlrTokenToAttributeIdMapper, bindAbstractEditStrategyProvider, bindContentAssistContext$Factory, bindDocumentBasedDirtyResource, bindIContentAssistParser, bindIContentProposalProvider, bindIDependentElementsCalculator, bindIEObjectDocumentationProvider, bindIEObjectHover, bindIEObjectHoverProvider, bindIHighlightingConfiguration, bindILabelProvider, bindILocationInFileProvider, bindIOutlineTreeProvider, bindIOutlineTreeStructureProvider, bindIProposalConflictHelper, bindISemanticHighlightingCalculator, bindIssueResolutionProvider, bindITokenTypeToPartitionTypeMapper, bindIURIEditorOpener, bindPrefixMatcher, bindXtextEditor, configureContentAssistLexer, configureContentAssistLexerProvider, configureHighlightingLexer, configureHighlightingTokenDefProvider, configureIResourceDescriptionsBuilderScope, configureIResourceDescriptionsPersisted, configureResourceUIServiceLabelProvider, configureString, provideIAllContainersState
 
Methods inherited from class org.eclipse.xtext.ui.DefaultUiModule
bindAdapterFactory, bindAdapterFactoryLabelProvider, bindComposedAdapterFactory$Descriptor$RegistryToInstance, bindContextTypeRegistry, bindCopyQualifiedNameService, bindIAllContainersState$Provider, bindIAnnotationHover, bindICharacterPairMatcher, bindICompletionProposalPostProcessor, bindIContentAssistantFactory, bindIContentAssistProcessor, bindIContentFormatterFactory, bindIContentOutlinePage, bindIDocumentPartitioner, bindIExternalContentSupport$IExternalContentProvider, bindIHighlightingHelper, bindIHyperlinkDetector, bindIImageDescriptorHelper, bindIImageHelper, bindIIndentationInformation, bindIPartitionTokenScanner, bindIPreferenceStore, bindIPreferenceValuesProvider, bindIPresentationDamager, bindIPresentationRepairer, bindIReconciler, bindIResourceSetProvider, bindISingleLineCommentHelper, bindITemplateProposalProvider, bindITextHover, bindITokenScanner, bindITraceURIConverter, bindIWhitespaceInformationProvider, bindMarkerContributor, bindMarkerTypeProvider, bindOutlineFilterAndSorter$IComparator, bindTemplateStore, configure, configureBracketMatchingAction, configureContentProposalLabelProvider, configureHyperlinkLabelProvider, configureIOutlineContribution$Composite, configureIResourceDescriptionsLiveScope, configureLanguageSpecificURIEditorOpener, configureMarkOccurrencesAction, configureSmartCaretPreferenceInitializer, configureToggleLinkWithEditorOutlineContribution, configureToggleSortingOutlineContribution, configureUiEncodingProvider, configureXtextEditorErrorTickUpdater
 
Methods inherited from class org.eclipse.xtext.service.AbstractGenericModule
bindProperties, getBindings, tryBindProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values

EDITOR_ID

public static final java.lang.String EDITOR_ID
See Also:
Constant Field Values
Constructor Detail

OCLinEcoreUiModule

public OCLinEcoreUiModule(org.eclipse.ui.plugin.AbstractUIPlugin plugin)
Method Detail

getString

public static java.lang.String getString(java.lang.String key,
                                         boolean translate)
Return the optionally translated value of a plugin.properties key.


getString

public static java.lang.String getString(java.lang.String key,
                                         java.lang.Object[] substitutions,
                                         boolean translate)
Return the optionally translated value of a plugin.properties key with substitutions.


bindXtextDocument

public java.lang.Class<? extends org.eclipse.xtext.ui.editor.model.XtextDocument> bindXtextDocument()
Overrides:
bindXtextDocument in class AbstractOCLinEcoreUiModule

bindXtextDocumentProvider

public java.lang.Class<? extends org.eclipse.xtext.ui.editor.model.XtextDocumentProvider> bindXtextDocumentProvider()

bindIResourceForEditorInputFactory

public java.lang.Class<? extends org.eclipse.xtext.ui.editor.model.IResourceForEditorInputFactory> bindIResourceForEditorInputFactory()
Overrides:
bindIResourceForEditorInputFactory in class org.eclipse.xtext.ui.DefaultUiModule

bindIXtextEditorCallback

public java.lang.Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback()
Overrides:
bindIXtextEditorCallback in class AbstractOCLinEcoreUiModule

bindStatefulFactory

public java.lang.Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.StatefulFactory> bindStatefulFactory()