umbrello
2.39.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <javacodedocumentation.h>
Public Member Functions | |
JavaCodeDocumentation (JavaClassifierCodeDocument *doc, const QString &text=QString()) | |
virtual | ~JavaCodeDocumentation () |
virtual void | saveToXMI (QXmlStreamWriter &writer) |
QString | toString () const |
virtual QString | unformatText (const QString &text, const QString &indent=QString()) |
virtual QString | getNewEditorLine (int amount) |
virtual int | firstEditableLine () |
virtual int | lastEditableLine () |
![]() | |
CodeComment (CodeDocument *doc, const QString &comment=QString()) | |
virtual | ~CodeComment () |
virtual void | loadFromXMI (QDomElement &root) |
![]() | |
TextBlock (CodeDocument *parent, const QString &text=QString()) | |
virtual | ~TextBlock () |
void | setText (const QString &text) |
QString | getText () const |
void | appendText (const QString &text) |
void | setTag (const QString &value) |
QString | getTag () const |
CodeDocument * | getParentDocument () const |
void | setWriteOutText (bool write) |
bool | getWriteOutText () const |
void | setIndentationLevel (int level) |
int | getIndentationLevel () const |
QString | getIndentationString (int level=0) const |
bool | canDelete () const |
virtual void | setAttributesFromObject (TextBlock *obj) |
Additional Inherited Members | |
![]() | |
static QString | getIndentation () |
static QString | getNewLineEndingChars () |
static QString | formatMultiLineText (const QString &work, const QString &linePrefix, const QString &breakStr, bool addBreak=true, bool lastLineHasBreak=true) |
static QString | encodeText (const QString &text, const QString &endLine) |
static QString | decodeText (const QString &text, const QString &endLine) |
![]() | |
void | setCanDelete (bool canDelete) |
virtual void | release () |
virtual void | setAttributesOnNode (QXmlStreamWriter &writer) |
virtual void | setAttributesFromNode (QDomElement &root) |
class JavaCodeDocumentation A Java code comment. There is only a single styles of comments: these are simply started with double slash sequence and no terminating characters
|
explicit |
Constructors
|
virtual |
Empty Destructor
|
virtual |
Ush. These are terrifically bad and must one day go away. Both methods indicate the range of lines in this textblock which may be edited by the codeeditor (assuming that any are actually editable). The default case is no lines are editable. The line numbering starts with '0' and a '-1' means no line qualifies.
Reimplemented from TextBlock.
|
virtual |
|
virtual |
Reimplemented from TextBlock.
|
virtual |
Save the XMI representation of this object
Reimplemented from CodeComment.
|
virtual |
Reimplemented from TextBlock.
|
virtual |
UnFormat a long text string. Typically, this means removing the indentation (linePrefix) and/or newline chars from each line.
Reimplemented from TextBlock.