KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > parts > IFormEntryListener


1 /*******************************************************************************
2  * Copyright (c) 2003, 2005 IBM Corporation and others.
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  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.ui.parts;
12
13 import org.eclipse.ui.forms.events.IHyperlinkListener;
14
15 public interface IFormEntryListener extends IHyperlinkListener {
16 /**
17  * The user clicked on the text control and focus was
18  * transfered to it.
19  * @param entry
20  */

21     void focusGained(FormEntry entry);
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  * The value of the entry has been changed to be the text
29  * in the text control (as a result of 'commit' action).
30  * @param entry
31  */

32     void textValueChanged(FormEntry entry);
33 /**
34  * The user pressed the 'Browse' button for the entry.
35  * @param entry
36  */

37     void browseButtonSelected(FormEntry entry);
38     
39     void selectionChanged(FormEntry entry);
40 }
41
Popular Tags