Class BslHiddenRegionFormatting

java.lang.Object
org.eclipse.xtext.formatting2.internal.HiddenRegionFormatting
com.e1c.g5.v8.dt.formatter.bsl.BslHiddenRegionFormatting
All Implemented Interfaces:
org.eclipse.xtext.formatting2.IHiddenRegionFormatting

public class BslHiddenRegionFormatting extends org.eclipse.xtext.formatting2.internal.HiddenRegionFormatting
Formatting that also contains information about wrap group(wrap group is group of regions that are wrapped entirely or not wrapped at all)
  • Constructor Summary

    Constructors
    Constructor
    Description
    BslHiddenRegionFormatting(org.eclipse.xtext.formatting2.AbstractFormatter2 formatter)
    Creates new instance of this by calling super's constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the groupID value
    void
    mergeValuesFrom(org.eclipse.xtext.formatting2.IHiddenRegionFormatting other)
     
    void
    Set's the groupID field
     

    Methods inherited from class org.eclipse.xtext.formatting2.internal.HiddenRegionFormatting

    getAutowrap, getFormatter, getIndentationDecrease, getIndentationIncrease, getNewLineDefault, getNewLineMax, getNewLineMin, getNoIndentation, getOnAutowrap, getPriority, getRequest, getSpace, merge, setAutowrap, setIndentationDecrease, setIndentationIncrease, setNewLinesDefault, setNewLinesMax, setNewLinesMin, setNoIndentation, setOnAutowrap, setPriority, setSpace

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BslHiddenRegionFormatting

      public BslHiddenRegionFormatting(org.eclipse.xtext.formatting2.AbstractFormatter2 formatter)
      Creates new instance of this by calling super's constructor
      Parameters:
      formatter - The formatter that is performing formatting with this
  • Method Details

    • setGroupID

      public void setGroupID(Integer groupID)
      Set's the groupID field
      Parameters:
      groupID - The value to set, can be null
    • getGroupID

      public Integer getGroupID()
      Gets the groupID value
      Returns:
      The value of the groupID field, can be null when this formatting does not perform any group wraps
    • mergeValuesFrom

      public void mergeValuesFrom(org.eclipse.xtext.formatting2.IHiddenRegionFormatting other) throws org.eclipse.xtext.formatting2.ConflictingFormattingException
      Specified by:
      mergeValuesFrom in interface org.eclipse.xtext.formatting2.IHiddenRegionFormatting
      Overrides:
      mergeValuesFrom in class org.eclipse.xtext.formatting2.internal.HiddenRegionFormatting
      Throws:
      org.eclipse.xtext.formatting2.ConflictingFormattingException
    • toString

      public String toString()
      Overrides:
      toString in class org.eclipse.xtext.formatting2.internal.HiddenRegionFormatting