[kepler-dev] [Bug 4282] - Duplicate of ptolemy.gui.Top
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Thu Sep 10 13:05:20 PDT 2009
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4282
berkley at nceas.ucsb.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Comment #12 from berkley at nceas.ucsb.edu 2009-09-10 13:05 -------
I added a configuration parameter called _alternateTopHandler into the
configuration. This defines a class to override the open(), saveAs() and
pack() methods in ptolemy.gui.Top. The class is currently set to
ptolemy.gui.KeplerTopHandler which is located in the gui module.
KeplerTopHandler needs to be in the ptolemy.gui because much of what it changes
in Top is protected.
This bug is now closed, unless Christopher objects to something I did in Top.
I did have to add two imports to Top:
import ptolemy.actor.gui.Configuration;
import ptolemy.kernel.util.StringAttribute;
I'm not sure if this will be ok with Christopher or not. If not, we'll have to
figure out a new way to do this override.
Christopher, please re-open this bug if you want me to do it differently or
don't agree with my solution.
More information about the Kepler-dev
mailing list