[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf...
From: |
Matti Katila |
Subject: |
[Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf... |
Date: |
Tue, 12 Aug 2003 05:59:00 -0400 |
CVSROOT: /cvsroot/fenfire
Module name: fenfire
Branch:
Changes by: Matti Katila <address@hidden> 03/08/12 05:58:59
Modified files:
org/fenfire/bin: fenpdf10.py
org/fenfire/demo: fenpdfcontext.py
Log message:
Cleaning the language, add delete a node function
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/bin/fenpdf10.py.diff?tr1=1.24&tr2=1.25&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/demo/fenpdfcontext.py.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
Patches:
Index: fenfire/org/fenfire/bin/fenpdf10.py
diff -u fenfire/org/fenfire/bin/fenpdf10.py:1.24
fenfire/org/fenfire/bin/fenpdf10.py:1.25
--- fenfire/org/fenfire/bin/fenpdf10.py:1.24 Tue Aug 12 05:27:31 2003
+++ fenfire/org/fenfire/bin/fenpdf10.py Tue Aug 12 05:58:58 2003
@@ -117,11 +117,11 @@
# automatic system for previous
if os.path.isfile(FILE):
- p('usin load function to have the the old graph back.')
+ print 'Loading the RDF graph from the file %s', FILE
do_load_graph = 1
else:
+ print 'Creating a new RDF graph'
do_load_graph = 0
- p('better to make a new graph for you.')
# Create fen with swamps.
Index: fenfire/org/fenfire/demo/fenpdfcontext.py
diff -u fenfire/org/fenfire/demo/fenpdfcontext.py:1.27
fenfire/org/fenfire/demo/fenpdfcontext.py:1.28
--- fenfire/org/fenfire/demo/fenpdfcontext.py:1.27 Tue Aug 12 05:27:33 2003
+++ fenfire/org/fenfire/demo/fenpdfcontext.py Tue Aug 12 05:58:59 2003
@@ -204,7 +204,11 @@
def run(self):
pass
#self.s.buoymanager.singles[1].mainNode =
ff.view.buoy.MainNode2D(planeHome, irregu, ctrl)
-
+
+ class DeleteNode(Action):
+ def run(self):
+ obj = self.states.objectOnPlane
+ self.states.ppActions.deleteNote(obj)
def __init__(self, states):
self.states = states
@@ -217,11 +221,10 @@
self.list = vob.vobs.SelectListVob(self.style)
self.list.add('Destroy this canvas', self.KillPlane(self.states))
if self.link:
+ self.list.add('Delete this node', self.DeleteNode(self.states))
self.list.add('Link node to left', self.LinkL(self.states))
self.list.add('Link node to rigth', self.LinkR(self.states))
self.list.add('Go to home', 'home')
- self.list.add('Save & Quit', 'save_quit')
- self.list.add('Quit without save', 'quit')
def makeBuoyList(self):
self.list = vob.vobs.SelectListVob(self.style)
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/07
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/08
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/08
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/11
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/12
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/12
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/12
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/12
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf...,
Matti Katila <=
- [Gzz-commits] fenfire/org/fenfire bin/fenpdf10.py demo/fenpdf..., Matti Katila, 2003/08/12