1
|
/*******************************************************************************
|
2
|
* Copyright 2005, CHISEL Group, University of Victoria, Victoria, BC, Canada.
|
3
|
* All rights reserved. This program and the accompanying materials are made
|
4
|
* available under the terms of the Eclipse Public License v1.0 which
|
5
|
* accompanies this distribution, and is available at
|
6
|
* http://www.eclipse.org/legal/epl-v10.html
|
7
|
*
|
8
|
* Contributors: The Chisel Group, University of Victoria
|
9
|
*******************************************************************************/
|
10
|
package org.eclipse.zest.layouts.progress;
|
11
|
|
12
|
/**
|
13
|
* Listens for ProgressEvents which are thrown by layout algorithms at frequent intervals.
|
14
|
*
|
15
|
* @author Ian Bull
|
16
|
* @author Casey Best
|
17
|
*/
|
18
|
public interface ProgressListener {
|
19
|
|
20
|
/**
|
21
|
*
|
22
|
* @param e
|
23
|
*/
|
24
|
public void progressStarted(ProgressEvent e);
|
25
|
|
26
|
/**
|
27
|
* Called when the progress of a layout changes
|
28
|
*/
|
29
|
public void progressUpdated(ProgressEvent e);
|
30
|
|
31
|
/**
|
32
|
*
|
33
|
* @param e
|
34
|
*/
|
35
|
public void progressEnded(ProgressEvent e);
|
36
|
}
|