KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > xml > schema > refactoring > query > Query


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 /*
21  * Query.java
22  *
23  * Created on December 15, 2005, 11:47 AM
24  *
25  * To change this template, choose Tools | Template Manager
26  * and open the template in the editor.
27  */

28
29 package org.netbeans.modules.xml.schema.refactoring.query;
30
31 import org.netbeans.modules.xml.nbprefuse.AnalysisViewer;
32 import org.netbeans.modules.xml.schema.model.SchemaModel;
33 import org.netbeans.modules.xml.schema.refactoring.ui.QueryPanel;
34
35
36 /**
37  *
38  * @author Jeri Lockhart
39  */

40 public interface Query {
41
42
43     /**
44      * Setter for property displayName.
45      * @param displayName New value of property displayName.
46      */

47     public void setDisplayName(String JavaDoc displayName);
48
49
50     /**
51      * Getter for property queryCustomizer.
52      * @return Value of property queryCustomizer.
53      */

54 // public QueryCustomizer createQueryCustomizer() ;
55

56     /**
57      * Getter for property shortName - used on customizer column button
58      * @return Value of property shortName.
59      */

60     public String JavaDoc getShortName();
61
62     /**
63      * Setter for property shortName - used on customizer column button
64      * @param shortName New value of property shortName.
65      */

66     public void setShortName(String JavaDoc shortName);
67     
68 // public CustomizerResults showCustomizerDialog();
69

70     public void runQuery(final QueryPanel queryPanel,
71             final AnalysisViewer analysisViewer);
72     
73     /**
74      * @returns schema model on which this query is run against.
75      */

76     public SchemaModel getModel();
77     
78 // public View getView();
79

80 // public void showResults(final AnalysisViewer viewer);
81
}
82
Popular Tags