~ubuntu-branches/ubuntu/utopic/tcm/utopic

« back to all changes in this revision

Viewing changes to src/sd/bv/scwindow.h

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//------------------------------------------------------------------------------
 
2
//
 
3
// This file is part of Toolkit for Conceptual Modeling (TCM).
 
4
// (c) copyright 2002, Universiteit Twente, Enschede.
 
5
// Author: Frank Dehne (frank@cs.vu.nl),
 
6
// David N. Jansen (dnjansen@cs.utwente.nl).
 
7
//
 
8
// TCM is free software; you can redistribute it and/or modify
 
9
// it under the terms of the GNU General Public License as published by
 
10
// the Free Software Foundation; either version 2 of the License, or
 
11
// (at your option) any later version.
 
12
//
 
13
// TCM is distributed in the hope that it will be useful,
 
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
// GNU General Public License for more details.
 
17
//
 
18
// You should have received a copy of the GNU General Public License
 
19
// along with TCM; if not, write to the Free Software
 
20
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
21
// 02111-1307, USA.
 
22
//-----------------------------------------------------------------------------
 
23
#ifndef _SCWINDOW_H
 
24
#define _SCWINDOW_H
 
25
 
 
26
#include "diagramwindow.h"
 
27
class SCViewer;
 
28
 
 
29
/// state transition window class.
 
30
class SCWindow: public DiagramWindow {
 
31
/*@Doc: {\large {\bf scope:} TSTD} */
 
32
public:
 
33
        ///
 
34
        SCWindow(const char *name);
 
35
private:
 
36
        ///
 
37
        int GetTool() {return Toolkit::SCD;}
 
38
        ///
 
39
        DiagramViewer *CreateViewer(Config *c);
 
40
        ///
 
41
        Graph *CreateGraph();
 
42
        ///
 
43
        Diagram *CreateDiagram(Config *c, DiagramViewer *v, Graph *g);
 
44
        ///
 
45
        void DetermineIcons();
 
46
        ///
 
47
        static const char *SC_NODE_NAMES[];
 
48
        ///
 
49
        static const Bitmap SC_NODE_ICONS[];
 
50
        ///
 
51
        static const char *SC_EDGE_NAMES[];
 
52
        ///
 
53
        static const Bitmap SC_EDGE_ICONS[];
 
54
};
 
55
#endif