summaryrefslogtreecommitdiff
path: root/propertysheet/src/org/eclipse/wb/core/controls/flyout/IFlyoutListener.java
blob: ed87bb8a8c9d0801ae734938dc483f0d148bc9d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*******************************************************************************
 * Copyright (c) 2012 Google, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Google, Inc. - initial API and implementation
 *******************************************************************************/
package org.eclipse.wb.core.controls.flyout;

// BEGIN ADT MODIFICATIONS
/** Interface for listeners interested in window state transitions in flyout windows */
public interface IFlyoutListener {
  /**
   * The flyout has changed state from the old state to the new state (see the
   * state constants in {@link IFlyoutPreferences})
   *
   * @param oldState the old state
   * @param newState the new state
   */
  void stateChanged(int oldState, int newState);
}
// END ADT MODIFICATIONS