File tree 3 files changed +23
-1
lines changed
src/org/netbeans/modules/php/cake3
3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ Manifest-Version: 1.0
2
2
AutoUpdate-Show-In-Client: true
3
3
OpenIDE-Module: org.netbeans.modules.php.cake3
4
4
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/php/cake3/Bundle.properties
5
- OpenIDE-Module-Specification-Version: 0.5.0
5
+ OpenIDE-Module-Specification-Version: 0.5.1
6
6
Original file line number Diff line number Diff line change 43
43
44
44
import java .util .ArrayList ;
45
45
import java .util .Arrays ;
46
+ import java .util .Collections ;
46
47
import java .util .List ;
47
48
import java .util .prefs .Preferences ;
48
49
import org .netbeans .modules .php .api .util .StringUtils ;
@@ -72,7 +73,13 @@ public class CakePHP3Options {
72
73
public static final List <String > ALL_AVAILABLE_NODES = new ArrayList <>(DEFAULT_AVAILABLE_NODES );
73
74
74
75
static {
76
+ ALL_AVAILABLE_NODES .add ("Element" ); // NOI18N
77
+ ALL_AVAILABLE_NODES .add ("Entity" ); // NOI18N
78
+ ALL_AVAILABLE_NODES .add ("Shell" ); // NOI18N
79
+ ALL_AVAILABLE_NODES .add ("Table" ); // NOI18N
80
+ ALL_AVAILABLE_NODES .add ("Template" ); // NOI18N
75
81
ALL_AVAILABLE_NODES .add ("app/plugins" ); // NOI18N
82
+ Collections .sort (ALL_AVAILABLE_NODES );
76
83
}
77
84
78
85
private CakePHP3Options () {
Original file line number Diff line number Diff line change @@ -148,6 +148,21 @@ private List<Object> getAvailableCustomNodeList() {
148
148
case "Helper" : // NOI18N
149
149
list .add (Category .HELPER );
150
150
break ;
151
+ case "Element" : // NOI18N
152
+ list .add (Category .ELEMENT );
153
+ break ;
154
+ case "Entity" : // NOI18N
155
+ list .add (Category .ENTITY );
156
+ break ;
157
+ case "Shell" : // NOI18N
158
+ list .add (Category .SHELL );
159
+ break ;
160
+ case "Table" : // NOI18N
161
+ list .add (Category .TABLE );
162
+ break ;
163
+ case "Template" : // NOI18N
164
+ list .add (Category .TEMPLATE );
165
+ break ;
151
166
case "app/plugins" : // NOI18N
152
167
// XXX this is not proper
153
168
list .add (Base .PLUGIN );
You can’t perform that action at this time.
0 commit comments