diva/canvas/event/MouseFilter.java looks like /** The modifier mask. */ private int _modifierMask = InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK | InputEvent.ALT_MASK | InputEvent.ALT_GRAPH_MASK | InputEvent.META_MASK;
If I change it to /** The modifier mask. */ private int _modifierMask = InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK; //| InputEvent.ALT_MASK //| InputEvent.ALT_GRAPH_MASK //| InputEvent.META_MASK; Then the model model transition context menu work. Perhaps part of the issue is that InputEvent.META_MASK == InputEvent.BUTTON3_MASK == 4 which causes no end of trouble. This fix might cause problems with the Mac right mouse action. A more complete fix might involve using getModifierEx() to handle the keyboard modifiers. _Christopher -------- This is a bug introduced with a change in JDK 1.4, which changed the bits used to indicate keyboard modifiers in core AWT classes. We have diagnosed it, but not yet implemented a fix... Edward At 04:47 PM 2/15/2005 -0500, Hiren Patel wrote: >Hackers, > >I am currently studying the FSM domain implementation and I am aware that >refinements are possible for states and transitions. However, I am having >difficulty in using the 'Look inside' for the transitions as suggested in >example State Tracker located at >.../ptII/ptolemy/domains/fsm/demo/StateTracker.xml > >In fact, when I click on the transition and right click, I don't see an >option for "Look Inside" for transitions that lead to state C. I can "Look >inside" state refinements fine. > >Similarly, I cannot "Add Refinement" on a transition either. > >I am currently using Ptolemy II version 4.0.1 > >Hiren > >-------------------------------------------------------------------------- -- >Posted to the ptolemy-hackers mailing list. Please send administrative >mail for this list to: [EMAIL PROTECTED] ------------ Edward A. Lee Professor, Chair of the EE Division, Associate Chair of EECS 231 Cory Hall, UC Berkeley, Berkeley, CA 94720 phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845 [EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal --------------------------------------------------------------------------- - Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED] -------- ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]