01: /*******************************************************************************
02: * Copyright (c) 2003, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.ui.parts;
11:
12: import org.eclipse.ui.forms.events.IHyperlinkListener;
13:
14: public interface IFormEntryListener extends IHyperlinkListener {
15: /**
16: * The user clicked on the text control and focus was
17: * transfered to it.
18: * @param entry
19: */
20: void focusGained(FormEntry entry);
21:
22: /**
23: * The user changed the text in the text control of the entry.
24: * @param entry
25: */
26: void textDirty(FormEntry entry);
27:
28: /**
29: * The value of the entry has been changed to be the text
30: * in the text control (as a result of 'commit' action).
31: * @param entry
32: */
33: void textValueChanged(FormEntry entry);
34:
35: /**
36: * The user pressed the 'Browse' button for the entry.
37: * @param entry
38: */
39: void browseButtonSelected(FormEntry entry);
40:
41: void selectionChanged(FormEntry entry);
42: }
|