com.aptana.ide.debug.core
Class DetailFormatter

java.lang.Object
  extended by com.aptana.ide.debug.core.DetailFormatter
All Implemented Interfaces:
java.lang.Comparable

public class DetailFormatter
extends java.lang.Object
implements java.lang.Comparable

Information about a detail formatter.


Constructor Summary
DetailFormatter(java.lang.String typeName, java.lang.String snippet, boolean enabled)
          DetailFormatter
 
Method Summary
 int compareTo(java.lang.Object another)
           
 java.lang.String getSnippet()
          Returns the code snippet.
 java.lang.String getTypeName()
          Returns the type name.
 boolean isEnabled()
          Indicate if this pretty should be used or not.
 void setEnabled(boolean enabled)
          Sets the enabled flag.
 void setSnippet(java.lang.String snippet)
          Sets the code snippet.
 void setTypeName(java.lang.String typeName)
          Sets the type name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailFormatter

public DetailFormatter(java.lang.String typeName,
                       java.lang.String snippet,
                       boolean enabled)
DetailFormatter

Parameters:
typeName -
snippet -
enabled -
Method Detail

isEnabled

public boolean isEnabled()
Indicate if this pretty should be used or not.

Returns:
boolean

getSnippet

public java.lang.String getSnippet()
Returns the code snippet.

Returns:
String

getTypeName

public java.lang.String getTypeName()
Returns the type name.

Returns:
String

setEnabled

public void setEnabled(boolean enabled)
Sets the enabled flag.

Parameters:
enabled - the new value of the flag

setSnippet

public void setSnippet(java.lang.String snippet)
Sets the code snippet.

Parameters:
snippet - the snippet to set

setTypeName

public void setTypeName(java.lang.String typeName)
Sets the type name.

Parameters:
typeName - the type name to set

compareTo

public int compareTo(java.lang.Object another)
Specified by:
compareTo in interface java.lang.Comparable
See Also:
Comparable.compareTo(java.lang.Object)