    001package org.vishia.gral.base;
    002
    003import java.util.List;
    004import java.util.Queue;
    005
    006
    007
    008/**This interface should be implemented by any user class to call user actions when a panel is activated.
    009 * The activation of several panels is done initially, when the Panel becomes visible, or if a tab
    010 * is activated in a tab-view.
    011 *
    012 * @author Hartmut Schorrig
    013 *
    014 */
    015public interface GralPanelActivated_ifc
    016{
    017
    018  /**Version, history and licence
    019   *
    020   * <b>Copyright/Copyleft</b>:
    021   * For this source the LGPL Lesser General Public License,
    022   * published by the Free Software Foundation is valid.
    023   * It means:
    024   * <ol>
    025   * <li> You can use this source without any restriction for any desired purpose.
    026   * <li> You can redistribute copies of this source to everybody.
    027   * <li> Every user of this source, also the user of redistribute copies
    028   *    with or without payment, must accept this license for further using.
    029   * <li> But the LPGL ist not appropriate for a whole software product,
    030   *    if this source is only a part of them. It means, the user
    031   *    must publish this part of source,
    032   *    but don't need to publish the whole source of the own product.
    033   * <li> You can study and modify (improve) this source
    034   *    for own using or for redistribution, but you have to license the
    035   *    modified sources likewise under this LGPL Lesser General Public License.
    036   *    You mustn't delete this Copyright/Copyleft inscription in this source file.
    037   * </ol>
    038   * If you are indent to use this sources without publishing its usage, you can get
    039   * a second license subscribing a special contract with the author.
    040   *
    041   * @author Hartmut Schorrig = hartmut.schorrig@vishia.de
    042   *
    043   *
    044   */
    045  public final static int version = 0x20120303;
    046
    047
    048  /**If a panel is actived, the user will be notified.
    049         * @param widgets Information about all widgets in this panel, which should be updated
    050         *        with correct values for example with data of a running process.
    051         * */
    052        void panelActivatedGui(List<GralWidget> widgets);
    053
    054}