Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 84c502b7680a9b66594edb6fd43439f5e46666ab (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package org.eclipse.ui.externaltools.model;

/**********************************************************************
Copyright (c) 2002 IBM Corp. and others. All rights reserved.
This file is made available under the terms of the Common Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/cpl-v10.html
 
Contributors:
**********************************************************************/

/**
 * Defines the changes within the external tool storage that
 * a listeners can be notified of.
 * <p>
 * This interface is not to be extended by clients, but can be 
 * implemented by clients.
 * </p>
 */
public interface IStorageListener {
	/**
	 * Notifies this listener that an external tool has
	 * been removed from the registry and storage.
	 * 
	 * @param tool the external tool that was removed
	 */
	public void toolDeleted(ExternalTool tool);
	
	/**
	 * Notifies this listener that a new external tool has
	 * been added to the registry and storage.
	 * 
	 * @param tool the external tool that was created
	 */
	public void toolCreated(ExternalTool tool);

	/**
	 * Notifies this listener that an existing external tool
	 * in the registry has been modified and saved to storage.
	 * 
	 * @param tool the external tool that was modified
	 */
	public void toolModified(ExternalTool tool);
	
	/**
	 * Notifies this listener that the entire external tool
	 * registry was refreshed from storage.
	 */
	public void toolsRefreshed();
}

Back to the top