Browse files

*** empty log message ***

git-svn-id: file:///Users/arjan/backup/gaphor/trunk/gaphor@271 a8418922-720d-0410-834f-a69b97ada669
  • Loading branch information...
1 parent 42646e3 commit 9ef62def55817a8c4e9c75c7d025dbe30731bef1 @amolenaar committed Apr 13, 2004
Showing with 35 additions and 17 deletions.
  1. +6 −0 ChangeLog
  2. +2 −2 MANIFEST.in
  3. +2 −9 README
  4. +1 −0 gaphor/diagram/__init__.py
  5. +11 −0 gaphor/diagram/actions.py
  6. +13 −6 gaphor/ui/mainwindow.py
View
6 ChangeLog
@@ -1,3 +1,9 @@
+2004-04-13 Arjan Molenaar <arjanmolenaar@hetnet.nl>
+
+ RELEASE 0.3.0
+
+ * Several small changes
+
2004-03-26 Arjan Molenaar <arjanmolenaar@hetnet.nl>
* gaphor/diagram/attribute.py, operation.py: Added popup menu.
View
4 MANIFEST.in
@@ -1,12 +1,12 @@
-include COPYING NEWS README TODO AUTHORS run
+include COPYING INSTALL NEWS README TODO AUTHORS run-gaphor.sh
include bin/gaphor
recursive-include doc usecases.txt ui-design.txt diagram-in-python.txt
recursive-include doc aspects-en.txt
recursive-include gaphor *.py
include gaphor/UML/uml2.gaphor
include gaphor/UML/uml2.override
recursive-include po gaphor.pot *.po
-recursive-include data *.png
+recursive-include data/pixmaps *24.png diagram16.png
recursive-include tests *.py *.sh
recursive-include utils *.py
recursive-include src gtk*wrapbox.c gtk*wrapbox.h wrapbox.defs wrapbox.override wrapboxmodule.c
View
11 README
@@ -7,15 +7,8 @@ Linux in general).
Gaphor is written in Python, which makes it very easy to use (and
very easy to extend (and to write ;-).
-To get started do the following things:
-- Get pygtk and gnome-python (the latest versions)
-- Compile and install pygtk and gnome-python.
- (If you installed a packaged version of PyGTK (such as RPM's or .deb files)
- make sure you install the development packages too.)
-- Get DiaCanvas2 and install it. If PyGTK is installed properly, it should
- be automatically detected by DiaCanvas2's configure script.
-- do 'python setup.py config' to check if every thing is okay.
-- Launch gaphor using the 'run' shell script.
+In the file 'INSTALL' you'll find information about how to get this thing
+started.
Have fun,
View
1 gaphor/diagram/__init__.py
@@ -63,6 +63,7 @@ def initialize_item(item_class, default_uml_class=None):
from dependency import DependencyItem
from generalization import GeneralizationItem
from association import AssociationItem
+#from state import StateItem
#import diagramitemactions
import itemactions
View
11 gaphor/diagram/actions.py
@@ -145,6 +145,17 @@ class PackagePlacementAction(NamespacePlacementAction):
register_action(PackagePlacementAction)
+#class StatePlacementAction(PlacementAction):
+# id = 'InsertState'
+# label = 'State'
+# tooltip = 'Create a new State node'
+# stock_id = 'gaphor-comment-line'
+# name = 'State'
+# type = diagram.StateItem
+#
+#register_action(StatePlacementAction)
+
+
class CommentPlacementAction(PlacementAction):
id = 'InsertComment'
label = 'C_omment'
View
19 gaphor/ui/mainwindow.py
@@ -19,6 +19,9 @@ class MainWindow(AbstractWindow):
'FileSave',
'FileSaveAs',
'separator',
+ '_Export', (
+ 'FileExportSVG',),
+ 'separator',
'FileCloseTab',
'separator',
'FileQuit'),
@@ -38,21 +41,25 @@ class MainWindow(AbstractWindow):
'SnapToGrid',
'ShowGrid',
'separator',
- 'CreateDiagram',
- 'separator',
- 'FileExportSVG'),
+ 'CreateDiagram'),
'_Window', (
'OpenEditorWindow',
'OpenConsoleWindow'),
#'_Help', (
# 'About',)
)
- toolbar = ('FileNew',
- 'FileOpen',
+ toolbar = ('FileOpen',
'separator',
'FileSave',
- 'FileSaveAs')
+ 'FileSaveAs',
+ 'separator',
+ 'EditUndo',
+ 'EditRedo',
+ 'separator',
+ 'ViewZoomIn',
+ 'ViewZoomOut',
+ 'ViewZoom100')
wrapbox = ('Pointer',
'separator',

0 comments on commit 9ef62de

Please sign in to comment.