[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8726 - trunk/gnue-forms/src/GFObjects
From: |
reinhard |
Subject: |
[gnue] r8726 - trunk/gnue-forms/src/GFObjects |
Date: |
Tue, 10 Oct 2006 10:51:41 -0500 (CDT) |
Author: reinhard
Date: 2006-10-10 10:51:40 -0500 (Tue, 10 Oct 2006)
New Revision: 8726
Removed:
trunk/gnue-forms/src/GFObjects/GFValue.py
Modified:
trunk/gnue-forms/src/GFObjects/__init__.py
Log:
Remoed obsolete GFValue class.
Deleted: trunk/gnue-forms/src/GFObjects/GFValue.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFValue.py 2006-10-10 15:50:11 UTC (rev
8725)
+++ trunk/gnue-forms/src/GFObjects/GFValue.py 2006-10-10 15:51:40 UTC (rev
8726)
@@ -1,67 +0,0 @@
-# GNU Enterprise Forms - GF Object Hierarchy - Objects with values
-#
-# Copyright 2001-2006 Free Software Foundation
-#
-# This file is part of GNU Enterprise
-#
-# GNU Enterprise is free software; you can redistribute it
-# and/or modify it under the terms of the GNU General Public
-# License as published by the Free Software Foundation; either
-# version 2, or (at your option) any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place
-# - Suite 330, Boston, MA 02111-1307, USA.
-#
-# $Id$
-"""
-Base class for objects containing a value
-"""
-
-from gnue.forms.GFObjects.GFObj import GFObj
-
-# =============================================================================
-# Base class for objects containing a value
-# =============================================================================
-
-class GFValue(GFObj):
-
- # -------------------------------------------------------------------------
- # Constructor
- # -------------------------------------------------------------------------
-
- def __init__(self, parent=None, value=None, type='GFValue'):
-
- GFObj.__init__(self, parent, type)
- self._value = value
-
-
- # -------------------------------------------------------------------------
- # Set the value
- # -------------------------------------------------------------------------
-
- def setValue(self, value):
- """
- Set the objects' value
- """
-
- self._value = value
-
-
- # -------------------------------------------------------------------------
- # Retrieve the value
- # -------------------------------------------------------------------------
-
- def getValue(self):
- """
- Return the objects' value
- """
-
- assert gDebug(6, "Value = %s" % self._value)
- return self._value
Modified: trunk/gnue-forms/src/GFObjects/__init__.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/__init__.py 2006-10-10 15:50:11 UTC (rev
8725)
+++ trunk/gnue-forms/src/GFObjects/__init__.py 2006-10-10 15:51:40 UTC (rev
8726)
@@ -31,7 +31,6 @@
"GFVBox",
"GFHBox",
"GFOptions",
- "GFValue",
"GFButton",
"GFEntry",
"GFField",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8726 - trunk/gnue-forms/src/GFObjects,
reinhard <=