Package com._1c.g5.v8.dt.ql.ui.folding
Class QlFoldingRegionProvider
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.folding.DefaultFoldingRegionProvider
-
- com._1c.g5.v8.dt.ql.ui.folding.QlFoldingRegionProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.folding.IFoldingRegionProvider
- Direct Known Subclasses:
QlDcsFoldingRegionProvider
public class QlFoldingRegionProvider extends org.eclipse.xtext.ui.editor.folding.DefaultFoldingRegionProvider
Folding for Ql
-
-
Constructor Summary
Constructors Constructor Description QlFoldingRegionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
computeObjectFolding(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Compute folding for each ofeObject
protected void
foldingForJoins(QuerySchemaSource source, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Folding for joinsAbstractQuerySchemaQuerySourceJoin
protected void
foldingForOperator(QuerySchemaOperator operator, int startLineOfQuery, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Folding forQuerySchemaOperator
protected void
foldingForQuery(QuerySchemaSelectQuery query, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Folding forQuerySchemaSelectQuery
protected void
simpleFolding(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Folding by border ofeObject
's node-
Methods inherited from class org.eclipse.xtext.ui.editor.folding.DefaultFoldingRegionProvider
computeCommentFolding, computeCommentFolding, computeObjectFolding, computeObjectFolding, createAcceptor, doGetFoldingRegions, getFoldingRegions, getLocationInFileProvider, getTextPatternInComment, isHandled, shouldProcessContent
-
-
-
-
Method Detail
-
computeObjectFolding
protected void computeObjectFolding(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Compute folding for each ofeObject
- Overrides:
computeObjectFolding
in classorg.eclipse.xtext.ui.editor.folding.DefaultFoldingRegionProvider
- Parameters:
eObject
- - object from model which maybe have foldingfoldingRegionAcceptor
- - contains information about folding for all objects
-
simpleFolding
protected void simpleFolding(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Folding by border ofeObject
's node- Parameters:
eObject
- - object from model which have foldingfoldingRegionAcceptor
- - contains information about folding for all objects
-
foldingForQuery
protected void foldingForQuery(QuerySchemaSelectQuery query, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Folding forQuerySchemaSelectQuery
- Parameters:
query
-foldingRegionAcceptor
- - contains information about folding for all objects
-
foldingForOperator
protected void foldingForOperator(QuerySchemaOperator operator, int startLineOfQuery, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Folding forQuerySchemaOperator
- Parameters:
operator
-startLineOfQuery
- - line number of query which containsoperator
foldingRegionAcceptor
- - contains information about folding for all objects
-
foldingForJoins
protected void foldingForJoins(QuerySchemaSource source, org.eclipse.xtext.ui.editor.folding.IFoldingRegionAcceptor<org.eclipse.xtext.util.ITextRegion> foldingRegionAcceptor)
Folding for joinsAbstractQuerySchemaQuerySourceJoin
- Parameters:
source
-foldingRegionAcceptor
- - contains information about folding for all objects
-
-