equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
407 else |
407 else |
408 xtext.processMouseEventImpl(mouseEvent); |
408 xtext.processMouseEventImpl(mouseEvent); |
409 } |
409 } |
410 } |
410 } |
411 |
411 |
412 /** |
|
413 * DEPRECATED |
|
414 */ |
|
415 @Override |
|
416 public Dimension minimumSize() { |
|
417 return getMinimumSize(); |
|
418 } |
|
419 |
|
420 @Override |
412 @Override |
421 public void setVisible(boolean b) { |
413 public void setVisible(boolean b) { |
422 super.setVisible(b); |
414 super.setVisible(b); |
423 if (xtext != null) xtext.setVisible(b); |
415 if (xtext != null) xtext.setVisible(b); |
424 } |
416 } |