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 issue, 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
getIssue()
Provides theIssue
for quick fixIXtextBslModuleFixModel
getModel(IFixSession session, boolean isInteractive)
Provides the modelIXtextBslModuleFixModel
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 issue, IXtextBslModuleFixProvider provider, IDtProject dtProject)
Creates quick fix context- Parameters:
targetModuleUri
- the moduleURI
, cannot benull
issue
- theIssue
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 getIssue()
Provides theIssue
for quick fix- Returns:
- xtext issue, never
null
-
getModel
public IXtextBslModuleFixModel getModel(IFixSession session, boolean isInteractive)
Provides the modelIXtextBslModuleFixModel
for quick fix- Parameters:
session
-IFixSession
, cannot benull
isInteractive
-true
if quick fix supports inbteractive (UI) model,false
otherwise- Returns:
- model
IXtextBslModuleFixModel
, nevernull
-
-