umbrello API Documentation

JavaClassifierCodeDocument Class Reference

class JavaClassifierCodeDocument A Java UMLClassifier Code Document. More...

#include <javaclassifiercodedocument.h>

Inheritance diagram for JavaClassifierCodeDocument:

ClassifierCodeDocument CodeDocument CodeGenObjectWithTextBlocks List of all members.

Public Member Functions

 JavaClassifierCodeDocument (UMLClassifier *classifier)
 Constructor.
virtual ~JavaClassifierCodeDocument ()
 Empty Destructor.
QString scopeToJavaDecl (Uml::Visibility scope)
 Get the dialog widget which allows user interaction with the object parameters.
QString capitalizeFirstLetter (const QString &string)
JavaCodeGenerationPolicy * getJavaPolicy ()
QString getJavaClassName (const QString &name)
QString getPath ()
 Get the value of the path to this codedocument.
bool addCodeOperation (CodeOperation *op)
 add a code operation to this java classifier code document.

Protected Member Functions

void resetTextBlocks ()
virtual void loadChildTextBlocksFromNode (QDomElement &root)
 need to overwrite this for java since we need to pick up the java class declaration block.
void addOrUpdateCodeClassFieldMethodsInCodeBlock (CodeClassFieldList &list, JavaClassDeclarationBlock *codeBlock)
bool forceDoc ()
 Get the dialog widget which allows user interaction with the object parameters.
void updateContent ()

Detailed Description

class JavaClassifierCodeDocument A Java UMLClassifier Code Document.

Definition at line 39 of file javaclassifiercodedocument.h.


Constructor & Destructor Documentation

JavaClassifierCodeDocument::JavaClassifierCodeDocument UMLClassifier concept  ) 
 

Constructor.

header package declaration import statements class declaration guts of the class (e.g. field decl, accessor methods, operations, dependant classes)

Definition at line 46 of file javaclassifiercodedocument.cpp.

JavaClassifierCodeDocument::~JavaClassifierCodeDocument  )  [virtual]
 

Empty Destructor.

Definition at line 51 of file javaclassifiercodedocument.cpp.


Member Function Documentation

QString JavaClassifierCodeDocument::scopeToJavaDecl Uml::Visibility  scope  ) 
 

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

Returns:
CodeDocumentDialog

Definition at line 290 of file javaclassifiercodedocument.cpp.

QString JavaClassifierCodeDocument::getPath  )  [virtual]
 

Get the value of the path to this codedocument.

Returns:
the value of m_pathName

Reimplemented from CodeDocument.

Definition at line 82 of file javaclassifiercodedocument.cpp.

References CodeDocument::getPackage().

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

add a code operation to this java classifier code document.

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

Implements ClassifierCodeDocument.

Definition at line 137 of file javaclassifiercodedocument.cpp.

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

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

Reimplemented from CodeGenObjectWithTextBlocks.

Definition at line 150 of file javaclassifiercodedocument.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().

bool JavaClassifierCodeDocument::forceDoc  )  [protected]
 

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

Returns:
CodeDocumentDialog

Definition at line 77 of file javaclassifiercodedocument.cpp.

References CodeGenerationPolicy::getCodeVerboseDocumentComments(), and UMLApp::getCommonPolicy().


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