Package com.e1c.g5.v8.dt.bsl.check.qfix
Class SingleVariantXtextBslModuleFixContext
- java.lang.Object
-
- com.e1c.g5.v8.dt.check.qfix.components.BasicFixContext
-
- com.e1c.g5.v8.dt.bsl.check.qfix.SingleVariantXtextBslModuleFixContext
-
- All Implemented Interfaces:
IFixContext
public class SingleVariantXtextBslModuleFixContext extends BasicFixContext
Single-variant xtext module quick fix context
-
-
Constructor Summary
Constructors Constructor Description SingleVariantXtextBslModuleFixContext(org.eclipse.emf.common.util.URI targetModuleUri, org.eclipse.xtext.validation.Issue.IssueImpl issue, org.eclipse.xtext.ui.editor.model.edit.IModificationContext modificationContext, IXtextBslModuleFixProvider provider, IDtProject dtProject)
Creates quick fix context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.xtext.validation.Issue.IssueImpl
getIssue()
Provides theIssueImpl
for quick fixIXtextBslModuleFixFacade
getModel(org.eclipse.emf.ecore.EObject element)
Provides the modelIXtextBslModuleFixFacade
for quick fixorg.eclipse.xtext.ui.editor.model.edit.IModificationContext
getModificationContext()
Provides theIModificationContext
for quick fixorg.eclipse.emf.common.util.URI
getTargetModuleUri()
Provides the target module URI-
Methods inherited from class com.e1c.g5.v8.dt.check.qfix.components.BasicFixContext
getDtProject
-
-
-
-
Constructor Detail
-
SingleVariantXtextBslModuleFixContext
public SingleVariantXtextBslModuleFixContext(org.eclipse.emf.common.util.URI targetModuleUri, org.eclipse.xtext.validation.Issue.IssueImpl issue, org.eclipse.xtext.ui.editor.model.edit.IModificationContext modificationContext, IXtextBslModuleFixProvider provider, IDtProject dtProject)
Creates quick fix context- Parameters:
targetModuleUri
- the moduleURI
, cannot benull
issue
- theIssueImpl
instance, cannot benull
modificationContext
- theIModificationContext
instance, cannot benull
provider
- theIXtextBslModuleFixProvider
instance, cannot benull
dtProject
- the DT project, cannot benull
-
-
Method Detail
-
getTargetModuleUri
public org.eclipse.emf.common.util.URI getTargetModuleUri()
Provides the target module URI- Returns:
- the targetModuleUri, never
null
-
getIssue
public org.eclipse.xtext.validation.Issue.IssueImpl getIssue()
Provides theIssueImpl
for quick fix- Returns:
- xtext issue, never
null
-
getModificationContext
public org.eclipse.xtext.ui.editor.model.edit.IModificationContext getModificationContext()
Provides theIModificationContext
for quick fix- Returns:
- xtext modification context, never
null
-
getModel
public IXtextBslModuleFixFacade getModel(org.eclipse.emf.ecore.EObject element)
Provides the modelIXtextBslModuleFixFacade
for quick fix- Parameters:
element
- the element being examined, cannot benull
- Returns:
- model
IXtextBslModuleFixFacade
, nevernull
-
-