[gaea-help] [ gaeaodb-Bugs-1902292 ] Support enums
Brought to you by:
jsgoupil
|
From: SourceForge.net <no...@so...> - 2008-02-26 16:16:29
|
Bugs item #1902292, was opened at 2008-02-26 11:16 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1023467&aid=1902292&group_id=212875 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Common Group: v0.8 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jean-Sstien Goupil (jsgoupil) Assigned to: Jean-Sstien Goupil (jsgoupil) Summary: Support enums Initial Comment: We can't create an instance not null of an enum. The following error (SEE BELOW) 1. Create a class with enum field (SEE BELOW) 2. Create an instance of this class #### ORIGINAL #### Support des enums Il est impossible de créer une instance non null d'un enum. L'erreur est: [WARN] 2007-12-06 15:00:08 org.gaea.ui.graphic.data.AddInstancePanel Unable to find the constructor with no param class org.gaea.demo.marieTests.Adresse$eTypeRue -1- Créer et ajouter une classe comportant un field de type Enum, par exemple: public enum eTypeRue { Rue, Avenue, Boulevard }; private eTypeRue typeRue; -2- Créer une instance de cette classe est sélectionnée nouvelle instance pour le champ typeRue. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1023467&aid=1902292&group_id=212875 |