the enabling occurs instantly when you press the right mouse button but
before the menu displays. The enabling is based on upper case flags in the
name, but that's not what you want here, I think. What files types are you
hoping to do this with?

On Mon, May 14, 2012 at 12:58 PM, Angel Herráez <angel.herr...@uah.es>wrote:

> Thanks, Bob
>
> Let's say I add in the popup > Computation
> a new entry "Calculate partial charges"
>
>
> org/jmol/popup/MainPopupResourceBundle.java
>
> { "calcPartialCharge", "calculate partialCharge" },
>
> "calcPartialCharge", GT._("Calculate partial charges"),
>
> etc.
>
>
> Then, after this is called, we need those menu items that rely on the
> existence of  partial
> charge data (originally absent in the file) to become enabled.
>
> It seems that when the interface is reloaded for a language change, this
> reenabling is being
> done, so that's my inspiration.
>
>
> On 14 May 2012 at 12:13, Robert Hanson wrote:
> > I think you had better just tell me what you need on that one. The
> enabling is done in
> > org.jmol.popup.GenericPopup -- but changes there are not trivial.
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to