KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > refactoring > java > spi > ui > JavaActionsImplementationProvider


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-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.refactoring.java.spi.ui;
21
22 import org.openide.util.Lookup;
23
24 /**
25  *
26  * @author Jan Becicka
27  */

28 public class JavaActionsImplementationProvider {
29
30     /**
31      * @return true if provider can handle rename
32      */

33     public boolean canEncapsulateFields(Lookup node) {
34         return false;
35     }
36
37     /**
38      * @return implementation of Rename Action
39      */

40     public void doEncapsulateFields(Lookup selectedNodes) {
41         new UnsupportedOperationException JavaDoc("Not implemented");
42     }
43
44     /**
45      * @return true if provider can handle find usages
46      */

47     public boolean canChangeParameters(Lookup lookup) {
48         return false;
49     }
50
51     /**
52      * @return implementation of Find Usages Action
53      */

54     public void doChangeParameters(Lookup lookup) {
55         new UnsupportedOperationException JavaDoc("Not implemented");
56     }
57
58     /**
59      * @return true if provider can handle delete
60      */

61     public boolean canPullUp(Lookup lookup) {
62         return false;
63     }
64     
65     /**
66      * @return implementation of Delete Action
67      */

68     public void doPullUp(Lookup lookup) {
69         new UnsupportedOperationException JavaDoc("Not implemented");
70     }
71
72     /**
73      * @return true if provider can handle move
74      */

75     public boolean canPushDown(Lookup lookup) {
76         return false;
77     }
78
79     /**
80      * @return implementation of Move Action
81      */

82     public void doPushDown(Lookup lookup) {
83         new UnsupportedOperationException JavaDoc("Not implemented");
84     }
85     
86     /**
87      * @return true if provider can handle copy
88      */

89     public boolean canInnerToOuter(Lookup lookup) {
90         return false;
91     }
92
93     /**
94      * @return implementation of Copy Action
95      */

96     public void doInnerToOuter(Lookup lookup) {
97         new UnsupportedOperationException JavaDoc("Not implemented");
98     }
99     /**
100      * @return true if provider can handle copy
101      */

102     public boolean canUseSuperType(Lookup lookup) {
103         return false;
104     }
105
106     /**
107      * @return implementation of Copy Action
108      */

109     public void doUseSuperType(Lookup lookup) {
110         new UnsupportedOperationException JavaDoc("Not implemented");
111     }
112     /**
113      * @return true if provider can handle copy
114      */

115     public boolean canExtractSuperClass(Lookup lookup) {
116         return false;
117     }
118
119     /**
120      * @return implementation of Copy Action
121      */

122     public void doExtractSuperClass(Lookup lookup) {
123         new UnsupportedOperationException JavaDoc("Not implemented");
124     }
125     /**
126      * @return true if provider can handle copy
127      */

128     public boolean canExtractInterface(Lookup lookup) {
129         return false;
130     }
131
132     /**
133      * @return implementation of Copy Action
134      */

135     public void doExtractInterface(Lookup lookup) {
136         new UnsupportedOperationException JavaDoc("Not implemented");
137     }
138     
139 }
140
Popular Tags