Revision 10364
trunk/libraries/libCorePlugin/src/com/iver/core/mdiManager/NewSkin.java | ||
---|---|---|
551 | 551 |
} |
552 | 552 |
|
553 | 553 |
/** |
554 |
* DOCUMENT ME! |
|
554 |
* If <code>window</code> implements IWindowListener, sent it |
|
555 |
* the windowActivated event. |
|
555 | 556 |
* |
556 | 557 |
* @param window |
557 |
* DOCUMENT ME!
|
|
558 |
* The IWindow which has to be notified.
|
|
558 | 559 |
*/ |
559 | 560 |
private void callWindowClosed(IWindow window) { |
560 | 561 |
if (window instanceof IWindowListener) { |
... | ... | |
563 | 564 |
} |
564 | 565 |
|
565 | 566 |
/** |
566 |
* DOCUMENT ME! |
|
567 |
* If <code>window</code> implements IWindowListener, sent it |
|
568 |
* the windowActivated event. |
|
567 | 569 |
* |
568 | 570 |
* @param window |
569 |
* DOCUMENT ME!
|
|
571 |
* The IWindow which has to be notified.
|
|
570 | 572 |
*/ |
571 | 573 |
private void callWindowActivated(IWindow window) { |
572 |
logger.debug("View " + window.getWindowInfo().getTitle() |
|
573 |
+ " activated (callViewActivated)"); |
|
574 |
logger.debug("View '" + window.getWindowInfo().getTitle()
|
|
575 |
+ "' activated (callViewActivated)");
|
|
574 | 576 |
if (window instanceof IWindowListener) { |
575 | 577 |
((IWindowListener) window).windowActivated(); |
576 | 578 |
} |
... | ... | |
663 | 665 |
* @param e |
664 | 666 |
* evento |
665 | 667 |
*/ |
668 |
public void windowActivated(WindowEvent e) { |
|
669 |
IWindow window = fws.getWindow((Component) e.getSource()); |
|
670 |
callWindowActivated(window); |
|
671 |
|
|
672 |
} |
|
673 |
|
|
674 |
|
|
675 |
/** |
|
676 |
* Captura el evento de cerrado de los di?logos con el fin de realizar |
|
677 |
* tareas de mantenimiento |
|
678 |
* |
|
679 |
* @param e |
|
680 |
* evento |
|
681 |
*/ |
|
666 | 682 |
public void windowClosing(WindowEvent e) { |
667 | 683 |
closeJDialog(); |
668 | 684 |
} |
Also available in: Unified diff