Home | History | Annotate | Download | only in flyout
      1 /*******************************************************************************
      2  * Copyright (c) 2012 Google, Inc.
      3  * All rights reserved. This program and the accompanying materials
      4  * are made available under the terms of the Eclipse Public License v1.0
      5  * which accompanies this distribution, and is available at
      6  * http://www.eclipse.org/legal/epl-v10.html
      7  *
      8  * Contributors:
      9  *    Google, Inc. - initial API and implementation
     10  *******************************************************************************/
     11 package org.eclipse.wb.core.controls.flyout;
     12 
     13 // BEGIN ADT MODIFICATIONS
     14 /** Interface for listeners interested in window state transitions in flyout windows */
     15 public interface IFlyoutListener {
     16   /**
     17    * The flyout has changed state from the old state to the new state (see the
     18    * state constants in {@link IFlyoutPreferences})
     19    *
     20    * @param oldState the old state
     21    * @param newState the new state
     22    */
     23   void stateChanged(int oldState, int newState);
     24 }
     25 // END ADT MODIFICATIONS
     26