← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~cdd-dev/cdd/trunk] Rev 175: Created dummy classes for all the ones needed for the editor. The tree can be built. Next need ...

 

------------------------------------------------------------
revno: 175
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: cdd
timestamp: Sun 2012-07-15 17:23:27 -0300
message:
  Created dummy classes for all the ones needed for the editor.  The tree can be built.  Next need to build datatypes forms.
modified:
  src/cdd.py
  src/mlhim2.py


--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk

Your team MLHIM Specifications Developers is subscribed to branch lp:cdd.
To unsubscribe from this branch go to https://code.launchpad.net/~cdd-dev/cdd/trunk/+edit-subscription
=== modified file 'src/cdd.py'
--- src/cdd.py	2012-07-14 12:53:02 +0000
+++ src/cdd.py	2012-07-15 20:23:27 +0000
@@ -14,9 +14,6 @@
 gettext.textdomain('CDD')
 _ = gettext.gettext
 
-#in memory storage of the cdd. this will be persisted using XML ????
-cddStore = {"cdd_file":"temp.cdd","Metadata":None,"definition":None}
-
 class MainFrame(wx.Frame):
     def __init__(self, parent, id):
         super(MainFrame, self).__init__(parent,
@@ -94,7 +91,7 @@
 
 
         # begin MainFrame set properties
-        self.SetTitle("Concept Constraint Definition (CCD) Editor")
+        self.SetTitle(_("Concept Constraint Definition (CCD) Editor"))
         _icon = wx.EmptyIcon()
         _icon.CopyFromBitmap(wx.Bitmap("icons/logo.png", wx.BITMAP_TYPE_ANY))
         self.SetIcon(_icon)
@@ -115,13 +112,15 @@
         # begin MainFrame set properties
         self.hbox1 = wx.BoxSizer(wx.HORIZONTAL)
         self.vbox1 = wx.BoxSizer(wx.VERTICAL)
+        self.vbox2 = wx.BoxSizer(wx.VERTICAL)
         self.panel1 = wx.Panel(self, -1)
         self.panel2 = wx.Panel(self, -1)
 
+        # setup the tree
         self.tree = wx.TreeCtrl(self.panel1, 1)
-        root = self.tree.AddRoot('CCD')
-        md = self.tree.AppendItem(root, "Metadata")
-        defin = self.tree.AppendItem(root, "definition")
+        self.root = self.tree.AddRoot('CCD')
+        self.md = self.tree.AppendItem(self.root, "Metadata")
+        self.defin = self.tree.AppendItem(self.root, "definition")
         self.tree.SetBackgroundColour(wx.Colour(207, 239, 244))
 
         self.tree.Bind(wx.EVT_TREE_SEL_CHANGED, self.OnSelChanged, id=1)
@@ -133,6 +132,7 @@
         self.hbox1.Add(self.panel1, 1, wx.EXPAND)
         self.hbox1.Add(self.panel2, 1, wx.EXPAND)
         self.panel1.SetSizer(self.vbox1)
+        self.panel2.SetSizer(self.vbox2)
         self.SetSizer(self.hbox1)
 
         self.tree.SetFocus()
@@ -141,21 +141,105 @@
 
     def OnSelChanged(self, event):
         item =  event.GetItem()
+        _data = None
+
         #self.display.SetLabel(self.tree.GetItemText(item))
         selText = self.tree.GetItemText(item)
         #print self.tree.GetItemData(item).GetId()
 
         if selText == "CCD":
-            self.display.SetLabel(_("You are at the root, nothing to do here."))
+            mlhim2.CCDRoot(self)
+            #self.display.SetLabel(_("You are at the root, nothing to do here."))
 
         elif selText == "Metadata":
-            self.tree.SetItemPyData(item, mlhim2.Metadata(self.panel2))  # set the item to the Metadata form object
+            _data = mlhim2.Metadata(self)
 
         elif selText == "definition":
-            self.display.SetLabel("definition selected.")
+            #self.display.SetLabel("definition selected.")
+            mlhim2.Definition(self, item)
+
+        elif selText == "Cluster":
+            _data = mlhim2.Cluster(self, item)
+
+        elif selText == "CareEntry":
+            _data = mlhim2.CareEntry(self, item)
+        elif selText == "AdminEntry":
+            _data = mlhim2.AdminEntry(self, item)
+        elif selText == "DemographicEntry":
+            _data = mlhim2.DemographicEntry(self, item)
+        elif selText == "Element":
+            _data = mlhim2.Element(self, item)
+        elif selText == "Slot":
+            _data = mlhim2.Slot(self, item)
+        elif selText == "DvBoolean":
+            _data = mlhim2.DvBoolean(self, item)
+        elif selText == "DvURI":
+            _data = mlhim2.DvURI(self, item)
+        elif selText == "DvString":
+            _data = mlhim2.DvString(self, item)
+        elif selText == "DvCodedString":
+            _data = mlhim2.DvCodedString(self, item)
+        elif selText == "DvIdentifier":
+            _data = mlhim2.DvIdentifier(self, item)
+        elif selText == "DvParsable":
+            _data = mlhim2.DvParsable(self, item)
+        elif selText == "DvMedia":
+            _data = mlhim2.DvMedia(self, item)
+        elif selText == "DvOrdinal":
+            _data = mlhim2.DvOrdinal(self, item)
+        elif selText == "DvCount":
+            _data = mlhim2.DvCount(self, item)
+        elif selText == "DvRatio":
+            _data = mlhim2.DvRatio(self, item)
+        elif selText == "DvRate":
+            _data = mlhim2.DvRate(self, item)
+        elif selText == "DvProportion":
+            _data = mlhim2.DvProportion(self, item)
+        elif selText == "DvInterval":
+            _data = mlhim2.DvInterval(self, item)
+        elif selText == "ReferenceRange":
+            _data = mlhim2.ReferenceRange(self, item)
+        elif selText == "DvQuantity":
+            _data = mlhim2.DvQuantity(self, item)
+        elif selText == "DvTime":
+            _data = mlhim2.DvTime(self, item)
+        elif selText == "DvDate":
+            _data = mlhim2.DvDate(self, item)
+        elif selText == "DvDateTime":
+            _data = mlhim2.DvDateTime(self, item)
+        elif selText == "DvDuration":
+            _data = mlhim2.DvDuration(self, item)
+        elif selText == "DvDay":
+            _data = mlhim2.DvDay(self, item)
+        elif selText == "DvMonth":
+            _data = mlhim2.DvMonth(self, item)
+        elif selText == "DvYear":
+            _data = mlhim2.DvYear(self, item)
+        elif selText == "DvYearMonth":
+            _data = mlhim2.DvYearMonth(self, item)
+        elif selText == "DvMonthDay":
+            _data = mlhim2.DvMonthDay(self, item)
+        elif selText == "PartySelf":
+            _data = mlhim2.PartySelf(self, item)
+        elif selText == "PartyIdentified":
+            _data = mlhim2.PartyIdentified(self, item)
+        elif selText == "Attestation":
+            _data = mlhim2.Attestation(self, item)
+        elif selText == "Participation":
+            _data = mlhim2.Participation(self, item)
+        elif selText == "FeederAudit":
+            _data = mlhim2.FeederAudit(self, item)
+        elif selText == "FeederAuditDetails":
+            _data = mlhim2.FeederAuditDetails(self, item)
         else:
             self.display.SetLabel(_("Something bad happened; now I'm lost."))
 
+#TODO: Do something useful with _data.
+
+
+
+
+
 
     def newFile(self, evt):
         msg = "File->New Not Yet Implemented."
@@ -198,6 +282,7 @@
         dlg.Destroy()
 
     def genFile(self, evt):
+#TODO: Eduardo to add the generator portion here.
         msg = "File->Generate Not Yet Implemented."
         dlg = wx.MessageDialog(self, msg,
                                'Menu Msg.',

=== modified file 'src/mlhim2.py'
--- src/mlhim2.py	2012-07-14 12:53:02 +0000
+++ src/mlhim2.py	2012-07-15 20:23:27 +0000
@@ -14,14 +14,541 @@
 gettext.textdomain('CDD')
 _ = gettext.gettext
 
+    # form for entering metadata.
 class Metadata(wx.Panel):
-    # form for entering metadata.
-    def __init__(self,parent):
-        wx.Panel.__init__(self,parent, -1, size=(200,300), style=wx.DOUBLE_BORDER)
-        wx.StaticText(self, -1, "This is my Metadata form.", (20,10))
-        b = wx.Button(self, -1, "Finished", (20,20))
-        self.Bind(wx.EVT_BUTTON, self.OnExit, b)
-
-
-    def OnExit(self, event):
-        self.Destroy()
\ No newline at end of file
+#TODO:  Eduardo to add his CDG form here.
+    def __init__(self, mf):
+        wx.Panel.__init__(self, mf.panel2, -1, size=(300,300), style=wx.DOUBLE_BORDER)
+
+        self.st1 = wx.StaticText(self, -1, "This is my Metadata form. There is nothing here yet.", (20,10))
+
+
+class CCDRoot(wx.Panel):
+        def __init__(self,mf):
+            wx.Panel.__init__(self, mf, -1)
+
+            msg = "You are at the CCD Root.  There is nothing to do here.  Go to the Metadata and definition selections."
+            dlg = wx.MessageDialog(self, msg,
+                                   'Menu Msg.',
+                                   wx.OK | wx.ICON_INFORMATION)
+            dlg.ShowModal()
+            dlg.Destroy()
+
+
+class Definition(wx.Panel):
+
+    def __init__(self, mf, item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        self.dlg = wx.SingleChoiceDialog(self, 'Select the Type of CCD:', 'CCD.definition',
+                ['CareEntry',
+                 'AdminEntry',
+                 'DemographicEntry',
+                 'Cluster',
+                 'Element',
+                 'Slot'],
+                wx.CHOICEDLG_STYLE
+                )
+
+        if self.dlg.ShowModal() == wx.ID_OK:
+            mf.display.SetLabel('You selected: %s\n' % self.dlg.GetStringSelection())
+
+            if mf.tree.ItemHasChildren(item):
+                dbl_chk = wx.MessageDialog(self, 'Are you sure you want to delete the current CCD.definition and begin again?',
+                               'Definition Double Check',
+                               wx.YES_NO | wx.NO_DEFAULT | wx.CANCEL | wx.ICON_INFORMATION
+                               )
+                response = dbl_chk.ShowModal()
+                dbl_chk.Destroy()
+                if response == wx.ID_YES:
+                    mf.tree.DeleteChildren(item)
+                    mf.tree.AppendItem(mf.defin, self.dlg.GetStringSelection())
+
+            else:
+                mf.tree.AppendItem(mf.defin, self.dlg.GetStringSelection())
+
+        self.dlg.Destroy()
+
+class Cluster(wx.Panel):
+
+    def __init__(self, mf, item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        self.dlg = wx.SingleChoiceDialog(self, 'Select an Item Type to add to the Cluster.', 'Cluster Contents',
+                ['Cluster',
+                 'Element',
+                 'Slot'],
+                wx.CHOICEDLG_STYLE
+                )
+        self.dlg.Center(wx.BOTH)
+        if self.dlg.ShowModal() == wx.ID_OK:
+            mf.display.SetLabel('You selected: %s\n' % self.dlg.GetStringSelection())
+            mf.tree.AppendItem(item, self.dlg.GetStringSelection())
+            mf.tree.SelectItem(item, select=False)
+        self.dlg.Destroy()
+
+class CareEntry(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "CareEntry is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+class AdminEntry(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "AdminEntry is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+class DemographicEntry(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DemographicEntry is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+class Element(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        self.dlg = wx.SingleChoiceDialog(self, 'Select a datatype.', 'Element Contents',
+                ['DvBoolean',
+                 'DvURI',
+                 'DvString',
+                 'DvCodedString',
+                 'DvIdentifier',
+                 'DvParsable',
+                 'DvMedia',
+                 'DvOrdinal',
+                 'DvCount',
+                 'DvRatio',
+                 'DvRate',
+                 'DvProportion',
+                 'DvInterval',
+                 'DvQuantity',
+                 'DvTime',
+                 'DvDate',
+                 'DvDateTime',
+                 'DvDuration',
+                 'DvDay',
+                 'DvMonth',
+                 'DvYear',
+                 'DvYearMonth',
+                 'DvMonthDay'],
+                wx.CHOICEDLG_STYLE
+                )
+
+        if self.dlg.ShowModal() == wx.ID_OK:
+            mf.display.SetLabel('You selected: %s\n' % self.dlg.GetStringSelection())
+
+            if mf.tree.ItemHasChildren(item):
+                dbl_chk = wx.MessageDialog(self, 'Are you sure you want to delete the current datatype?',
+                               'Element Double Check',
+                               wx.YES_NO | wx.NO_DEFAULT | wx.CANCEL | wx.ICON_INFORMATION
+                               )
+                response = dbl_chk.ShowModal()
+                dbl_chk.Destroy()
+                if response == wx.ID_YES:
+                    mf.tree.DeleteChildren(item)
+                    mf.tree.AppendItem(item, self.dlg.GetStringSelection())
+
+            else:
+                mf.tree.AppendItem(item, self.dlg.GetStringSelection())
+
+        self.dlg.Destroy()
+
+
+class Slot(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "Slot is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+#  Start datatypes
+
+#class Dv(wx.Panel):
+    #def __init__(self,mf,item):
+        #wx.Panel.__init__(self, mf, -1)
+
+        #msg = "Dv is not yet implemented."
+        #dlg = wx.MessageDialog(self, msg,
+                               #'Menu Msg.',
+                               #wx.OK | wx.ICON_INFORMATION)
+        #dlg.ShowModal()
+        #dlg.Destroy()
+
+
+class DvBoolean(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvBoolean is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvURI(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvURI is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvString(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvString is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvCodedString(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvCodedString is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvIdentifier(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvIdentifier is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvParsable(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvParsable is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvMedia(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvMedia is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvOrdinal(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvOrdinal is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvCount(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvCount is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvRatio(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvRatio is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvRate(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvRate is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvProportion(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvProportion is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvInterval(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvInterval is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class ReferenceRange(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "ReferenceRange is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvQuantity(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvQuantity is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvTime(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvTime is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvDate(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvDate is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvDateTime(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvDateTime is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvDuration(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvDuration is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+class DvDay(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvDay is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvMonth(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvMonth is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvYear(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvYear is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvYearMonth(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvYearMonth is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class DvMonthDay(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "DvMonthDay is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+# begin common package
+class PartySelf(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "PartySelf is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+
+class PartyIdentified(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "PartyIdentified is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+class Attestation(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "Attestation is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+class Participation(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "Participation is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+class FeederAudit(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "FeederAudit is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+class FeederAuditDetails(wx.Panel):
+    def __init__(self,mf,item):
+        wx.Panel.__init__(self, mf, -1,(600,400))
+
+        msg = "FeederAuditDetails is not yet implemented."
+        dlg = wx.MessageDialog(self, msg,
+                               'Menu Msg.',
+                               wx.OK | wx.ICON_INFORMATION)
+        dlg.ShowModal()
+        dlg.Destroy()
+
+