[kepler-dev] [Bug 4941] Data search causes menus to disappear on the mac
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Tue Apr 20 16:25:07 PDT 2010
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4941
Chad Berkley <berkley at nceas.ucsb.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Chad Berkley <berkley at nceas.ucsb.edu> 2010-04-20 16:25:05 PDT ---
Ok, I got this fixed. The key was to get the graphTableau from the
ModelDirectory, from which you can then get the Frame. Here's the code for
future reference:
//find the parent tableau to use as the parent for this dialog
Iterator effigy = directory.entityList(Effigy.class).iterator();
Tableau t = null;
while (effigy.hasNext())
{
Effigy e = (Effigy)effigy.next();
t = (Tableau) e.getEntity("graphTableau");
if(t != null)
{
break;
}
}
controllingDialog = new JDialog(t.getFrame());
--
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Kepler-dev
mailing list