umbrello API Documentation

RubyClassifierCodeDocument Class Reference

class RubyClassifierCodeDocument A Ruby UMLClassifier Code Document. More...

#include <rubyclassifiercodedocument.h>

Inheritance diagram for RubyClassifierCodeDocument:

ClassifierCodeDocument CodeDocument CodeGenObjectWithTextBlocks List of all members.

Public Member Functions

 RubyClassifierCodeDocument (UMLClassifier *classifier)
 Constructor.
virtual ~RubyClassifierCodeDocument ()
 Empty Destructor.
QString scopeToRubyDecl (Uml::Visibility scope)
 Get the dialog widget which allows user interaction with the object parameters.
QString capitalizeFirstLetter (const QString &string)
RubyCodeGenerationPolicy * getRubyPolicy ()
QString getRubyClassName (const QString &name)
QString getPath ()
 Get the dialog widget which allows user interaction with the object parameters.
bool addCodeOperation (CodeOperation *op)
 add a code operation to this ruby classifier code document.

Protected Member Functions

void resetTextBlocks ()
virtual void loadChildTextBlocksFromNode (QDomElement &root)
 need to overwrite this for ruby since we need to pick up the ruby class declaration block.
void addOrUpdateCodeClassFieldMethodsInCodeBlock (CodeClassFieldList &list, RubyClassDeclarationBlock *codeBlock)
bool forceDoc ()
void updateContent ()

Detailed Description

class RubyClassifierCodeDocument A Ruby UMLClassifier Code Document.

Definition at line 41 of file rubyclassifiercodedocument.h.


Constructor & Destructor Documentation

RubyClassifierCodeDocument::RubyClassifierCodeDocument UMLClassifier concept  ) 
 

Constructor.

header class declaration guts of the class (e.g. accessor methods, operations, dependant classes)

Definition at line 47 of file rubyclassifiercodedocument.cpp.

RubyClassifierCodeDocument::~RubyClassifierCodeDocument  )  [virtual]
 

Empty Destructor.

Definition at line 52 of file rubyclassifiercodedocument.cpp.


Member Function Documentation

QString RubyClassifierCodeDocument::scopeToRubyDecl Uml::Visibility  scope  ) 
 

Get the dialog widget which allows user interaction with the object parameters.

Returns:
CodeDocumentDialog

Definition at line 322 of file rubyclassifiercodedocument.cpp.

QString RubyClassifierCodeDocument::getPath  )  [virtual]
 

Get the dialog widget which allows user interaction with the object parameters.

Returns:
CodeDocumentDialog

Reimplemented from CodeDocument.

Definition at line 79 of file rubyclassifiercodedocument.cpp.

References CodeDocument::getPackage().

bool RubyClassifierCodeDocument::addCodeOperation CodeOperation *  op  )  [virtual]
 

add a code operation to this ruby classifier code document.

Returns:
bool which is true IF the code operation was added successfully

Implements ClassifierCodeDocument.

Definition at line 144 of file rubyclassifiercodedocument.cpp.

void RubyClassifierCodeDocument::loadChildTextBlocksFromNode QDomElement &  root  )  [protected, virtual]
 

need to overwrite this for ruby since we need to pick up the ruby class declaration block.

Reimplemented from CodeGenObjectWithTextBlocks.

Definition at line 182 of file rubyclassifiercodedocument.cpp.

References CodeGenObjectWithTextBlocks::addTextBlock(), UMLDoc::findObjectById(), UMLApp::getDocument(), CodeDocument::getFileName(), UMLObject::loadFromXMI(), CodeBlockWithComments::loadFromXMI(), CodeBlock::loadFromXMI(), CodeComment::loadFromXMI(), CodeDocument::newCodeBlock(), CodeDocument::newCodeBlockWithComments(), and CodeDocument::newHierarchicalCodeBlock().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:05 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003