Class AtlParameterListValidator
- java.lang.Object
-
- org.eclipse.m2m.atl.adt.ui.text.atl.AtlParameterListValidator
-
- All Implemented Interfaces:
org.eclipse.jface.text.contentassist.IContextInformationPresenter
,org.eclipse.jface.text.contentassist.IContextInformationValidator
public class AtlParameterListValidator extends java.lang.Object implements org.eclipse.jface.text.contentassist.IContextInformationValidator, org.eclipse.jface.text.contentassist.IContextInformationPresenter
A validator for the parameters.
-
-
Constructor Summary
Constructors Constructor Description AtlParameterListValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
install(org.eclipse.jface.text.contentassist.IContextInformation info, org.eclipse.jface.text.ITextViewer viewer, int documentPosition)
boolean
isContextInformationValid(int position)
boolean
updatePresentation(int position, org.eclipse.jface.text.TextPresentation presentation)
-
-
-
Method Detail
-
install
public void install(org.eclipse.jface.text.contentassist.IContextInformation info, org.eclipse.jface.text.ITextViewer viewer, int documentPosition)
- Specified by:
install
in interfaceorg.eclipse.jface.text.contentassist.IContextInformationPresenter
- Specified by:
install
in interfaceorg.eclipse.jface.text.contentassist.IContextInformationValidator
- See Also:
IContextInformationValidator.install(org.eclipse.jface.text.contentassist.IContextInformation, org.eclipse.jface.text.ITextViewer, int)
-
isContextInformationValid
public boolean isContextInformationValid(int position)
- Specified by:
isContextInformationValid
in interfaceorg.eclipse.jface.text.contentassist.IContextInformationValidator
- See Also:
IContextInformationValidator.isContextInformationValid(int)
-
updatePresentation
public boolean updatePresentation(int position, org.eclipse.jface.text.TextPresentation presentation)
- Specified by:
updatePresentation
in interfaceorg.eclipse.jface.text.contentassist.IContextInformationPresenter
- See Also:
IContextInformationPresenter.updatePresentation(int, org.eclipse.jface.text.TextPresentation)
-
-