1 /*
2 WSMO Studio - a Semantic Web Service Editor
3 Copyright (c) 2004-2006, OntoText Lab. / SIRMA Group
4
5 This library is free software; you can redistribute it and/or modify it under
6 the terms of the GNU Lesser General Public License as published by the Free
7 Software Foundation; either version 2.1 of the License, or (at your option)
8 any later version.
9 This library is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12 details.
13 You should have received a copy of the GNU Lesser General Public License along
14 with this library; if not, write to the Free Software Foundation, Inc.,
15 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 */
17
18 /***
19 * <p>Title: WSMO Studio</p>
20 * <p>Description: Semantic Web Service Editor</p>
21 * <p>Copyright: Copyright (c) 2004-2006</p>
22 * <p>Company: OntoText Lab. / SIRMA </p>
23 */
24
25 package org.wsmostudio.ui.editors.common;
26
27 /***
28 * A helper component used in the WSMOChooser dialog. The purpose of its implementing
29 * classes is to supply a custom runtime selection validator which prevents the user from
30 * incompatible selection. Each time an object is selected, the isValid() method is
31 * called and a null-result indicates an acceptable selection.
32 *
33 * @author not attributable
34 * @version $Revision: 1.3 $ $Date: 2006/01/09 12:51:13 $
35 */
36
37 public interface IWSMOSelectionValidator {
38 String isValid(Object selection);
39 }
40
41 /*
42 * $Log: IWSMOSelectionValidator.java,v $
43 * Revision 1.3 2006/01/09 12:51:13 alex_simov
44 * Copyright message in header updated
45 *
46 * Revision 1.2 2005/07/29 15:08:02 alex_simov
47 * added javadoc: class description, footer
48 *
49 *
50 */