public class ModelQuickFixRegistryImpl extends Object implements ModelQuickFixRegistry
Constructor and Description |
---|
ModelQuickFixRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
List<ModelQuickFix> |
getAllModelQuickFixes() |
List<ModelQuickFix> |
getApplicableModelQuickFixes(org.eclipse.emf.common.util.Diagnostic diagnostic) |
void |
registerModelQuickFix(ModelQuickFix modelQuickFix)
Register a
ModelQuickFix implementation. |
public void registerModelQuickFix(ModelQuickFix modelQuickFix)
ModelQuickFix
implementation.registerModelQuickFix
in interface ModelQuickFixRegistry
modelQuickFix
- - the implementation to registerModelQuickFixRegistry.registerModelQuickFix(org.eclipse.emf.ecp.quickfix.ModelQuickFix)
public List<ModelQuickFix> getApplicableModelQuickFixes(org.eclipse.emf.common.util.Diagnostic diagnostic)
getApplicableModelQuickFixes
in interface ModelQuickFixRegistry
diagnostic
- - the diagnosticModelQuickFix
objects, applicable for the given diagnostic. The list is
ordered by the priority of the quick fixes, in descending order.ModelQuickFixRegistry.getApplicableModelQuickFixes(org.eclipse.emf.common.util.Diagnostic)
public List<ModelQuickFix> getAllModelQuickFixes()
getAllModelQuickFixes
in interface ModelQuickFixRegistry
ModelQuickFixRegistry.getAllModelQuickFixes()
Copyright © 2019. All rights reserved.