com.aptana.ide.ui.editors.preferences.formatter
Class WhiteSpaceOptions

java.lang.Object
  extended by com.aptana.ide.ui.editors.preferences.formatter.WhiteSpaceOptions

public final class WhiteSpaceOptions
extends java.lang.Object

Manage code formatter white space options on a higher level.


Nested Class Summary
static class WhiteSpaceOptions.InnerNode
          A node representing a group of options in the tree.
static class WhiteSpaceOptions.Node
          Represents a node in the options tree.
static class WhiteSpaceOptions.OptionNode
          A node representing a concrete white space option in the tree.
 
Constructor Summary
WhiteSpaceOptions()
           
 
Method Summary
 java.util.List createAltTree(java.util.Map workingValues)
          Create the tree, in this order: position - syntax element - abstract element
 java.util.ArrayList createTreeByJavaElement(java.util.Map workingValues)
           
 java.util.List createTreeBySyntaxElem(java.util.Map workingValues)
          Create the tree, in this order: syntax element - position - abstract element
static void makeIndexForNodes(java.util.List tree, java.util.List flatList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhiteSpaceOptions

public WhiteSpaceOptions()
Method Detail

createTreeBySyntaxElem

public java.util.List createTreeBySyntaxElem(java.util.Map workingValues)
Create the tree, in this order: syntax element - position - abstract element

Parameters:
workingValues -
Returns:
returns roots (type Node)

createAltTree

public java.util.List createAltTree(java.util.Map workingValues)
Create the tree, in this order: position - syntax element - abstract element

Parameters:
workingValues -
Returns:
returns roots (type Node)

createTreeByJavaElement

public java.util.ArrayList createTreeByJavaElement(java.util.Map workingValues)
Parameters:
workingValues -
Returns:
ArrayList

makeIndexForNodes

public static void makeIndexForNodes(java.util.List tree,
                                     java.util.List flatList)
Parameters:
tree -
flatList -