umbrello API Documentation

javaimport.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *  copyright (C) 2006                                                     *
00009  *  Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                   *
00010  ***************************************************************************/
00011 
00012 #ifndef JAVAIMPORT_H
00013 #define JAVAIMPORT_H
00014 
00015 #include "nativeimportbase.h"
00016 #include "../umlobject.h"
00017 
00024 class JavaImport : public NativeImportBase {
00025 public:
00026     JavaImport();
00027     virtual ~JavaImport();
00028 
00029 protected:
00033     void initVars();
00034 
00038     bool parseStmt();
00039 
00043     void fillSource(const QString& word);
00044 
00048     void parseFile(const QString& filename);
00049 
00053     UMLObject* resolveClass (QString className);
00054 
00058     void spawnImport(QString file);
00059 
00063     QString joinTypename(QString typeName);
00064 
00068     bool m_isStatic;
00069 
00073     QString m_currentFileName;
00074 
00078     QString m_currentPackage;
00079 
00083     QStringList m_imports;
00084 
00089     static QStringList s_filesAlreadyParsed;
00090 
00095     static int s_parseDepth;
00096 
00100     Uml::Visibility m_defaultCurrentAccess;
00101 
00102 
00103 };
00104 
00105 #endif
00106 
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:07:57 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003