de.frag.umlplugin.psi
Class ClassPresentation

java.lang.Object
  extended by de.frag.umlplugin.psi.ClassPresentation

public class ClassPresentation
extends java.lang.Object

Handles presentation of class, fields and methods.


Field Summary
static java.lang.String MAGIC_WIDTH
           
 
Constructor Summary
ClassPresentation()
           
 
Method Summary
static java.lang.String renderHtml(com.intellij.psi.PsiClass psiClass, ClassType classType, boolean renderFields, boolean renderMethods)
          Renders HTML code that shows information about a class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAGIC_WIDTH

public static final java.lang.String MAGIC_WIDTH
See Also:
Constant Field Values
Constructor Detail

ClassPresentation

public ClassPresentation()
Method Detail

renderHtml

@NotNull
public static java.lang.String renderHtml(@NotNull
                                                  com.intellij.psi.PsiClass psiClass,
                                                  @NotNull
                                                  ClassType classType,
                                                  boolean renderFields,
                                                  boolean renderMethods)
Renders HTML code that shows information about a class.

Parameters:
psiClass - class to render
classType - class type
renderFields - true, if fields should be contained in output; false otherwise
renderMethods - true, if methods should be contained in output; false otherwise
Returns:
created HTML code