umbrello API Documentation

graphvizautolayouter.h

00001 /***************************************************************************
00002  *  copyright (C) 2005
00003  *  Umbrello UML Modeller Authors <uml-devel @uml.sf.net>
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #ifndef AUTOLAYOUTGRAPHVIZAUTOLAYOUTER_H
00013 #define AUTOLAYOUTGRAPHVIZAUTOLAYOUTER_H
00014 #include "baseinclude.h"
00015 #include "autolayouteradapter.h"
00016 #include "graphvizgraph.h"
00017 
00018 namespace Autolayout
00019 {
00020 
00024 class GraphvizAutolayouter : virtual public Autolayout::AutolayouterAdapter
00025 {
00026 public:
00027     GraphvizAutolayouter();
00028 
00029 
00030     virtual void setCompressShapes(bool b);
00031 
00032     virtual void setCenterDiagram(bool b);
00033 
00034     virtual void setShapeSeparation(int i);
00035 
00036     virtual Canvas* setCanvas(UMLView* view);
00037 
00038     virtual ~GraphvizAutolayouter();
00039 
00040 protected:
00041     virtual Graph* getGraph(){if (!gg) gg=new GraphvizGraph(); return gg;}
00042 
00043     virtual void run()=0;
00044     GraphvizGraph* gg;
00045 
00046 };
00047 
00048 }
00049 
00050 #endif
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