com.aptana.ide.editor.css.formatting
Class CSSCodeFormatter

java.lang.Object
  extended by com.aptana.ide.editors.unified.BaseFormatter
      extended by com.aptana.ide.editor.css.formatting.CSSCodeFormatter
All Implemented Interfaces:
ICodeFormatter

public class CSSCodeFormatter
extends BaseFormatter

Author:
Ingo Muschenetz

Constructor Summary
CSSCodeFormatter()
           
 
Method Summary
 java.lang.String createNestedMark()
           
 java.lang.String format(java.lang.String notFormatted, boolean isSelection, java.util.Map options, org.eclipse.core.resources.IProject project, java.lang.String separator)
           
 boolean handlesNested()
           
 
Methods inherited from class com.aptana.ide.editors.unified.BaseFormatter
getEndLineBreaks, getStartLineBreaks, isFormattingCorrect, isLexemeOfType, logError, normalizeCarriageReturns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSCodeFormatter

public CSSCodeFormatter()
Method Detail

format

public java.lang.String format(java.lang.String notFormatted,
                               boolean isSelection,
                               java.util.Map options,
                               org.eclipse.core.resources.IProject project,
                               java.lang.String separator)
Parameters:
notFormatted -
isSelection - TODO
options - TODO
project - TODO
separator - TODO
Returns:
formatted code

createNestedMark

public java.lang.String createNestedMark()
Returns:
mark for a nested language content
See Also:
ICodeFormatter.createNestedMark()

handlesNested

public boolean handlesNested()
Returns:
true if nested languages are handled by formatter itself
See Also:
ICodeFormatter.handlesNested()