Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [albireo-dev] size and border

> I checked all uses of 'this' in SwingControl.java, and the only remaining
> issues appear to be:
> ...
>   - the listeners added in initKeystrokeManagement().

This fixes it.

Index: src/org/eclipse/albireo/core/SwingControl.java
===================================================================
RCS file: /cvsroot/technology/org.eclipse.albireo/org.eclipse.albireo.core/src/org/eclipse/albireo/core/SwingControl.java,v
retrieving revision 1.74
diff -c -3 -r1.74 SwingControl.java
*** src/org/eclipse/albireo/core/SwingControl.java	29 Apr 2008 18:54:11 -0000	1.74
--- src/org/eclipse/albireo/core/SwingControl.java	29 Apr 2008 20:09:53 -0000
***************
*** 1358,1364 ****
              addConsumedKeystroke(new SwtKeystroke(SWT.KeyUp, SWT.F10, SWT.SHIFT));
          }
          
!         addKeyListener(new KeyListener() {
              public void keyPressed(KeyEvent e) {
                  handleKeyEvent(SWT.KeyDown, e);
              }
--- 1358,1364 ----
              addConsumedKeystroke(new SwtKeystroke(SWT.KeyUp, SWT.F10, SWT.SHIFT));
          }
          
!         borderlessChild.addKeyListener(new KeyListener() {
              public void keyPressed(KeyEvent e) {
                  handleKeyEvent(SWT.KeyDown, e);
              }


Back to the top