File tree Expand file tree Collapse file tree
src/org/netbeans/modules/php/wordpress/ui/status Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ Manifest-Version: 1.0
22OpenIDE-Module: org.netbeans.modules.php.wordpress
33OpenIDE-Module-Layer: org/netbeans/modules/php/wordpress/resources/layer.xml
44OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/php/wordpress/Bundle.properties
5- OpenIDE-Module-Specification-Version: 0.6.1
5+ OpenIDE-Module-Specification-Version: 0.6.2
66OpenIDE-Module-Install: org/netbeans/modules/php/wordpress/WordPressModule.class
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ public class DebugStatusLineElement implements StatusLineElementProvider {
114114 private JList list ;
115115 private Popup popup ;
116116 private String level = "" ; // NOI18N
117+ private String version = "" ; // NOI18N
117118 private boolean popupFlg = false ;
118119
119120 static {
@@ -334,6 +335,14 @@ public String getLevel() {
334335 return level ;
335336 }
336337
338+ public void setVersion (String version ) {
339+ this .version = version ;
340+ }
341+
342+ public String getVersion () {
343+ return version ;
344+ }
345+
337346 public void setPhpModule (PhpModule phpModule ) {
338347 this .phpModule = phpModule ;
339348 }
@@ -383,6 +392,7 @@ public void resultChanged(LookupEvent lookupEvent) {
383392 PhpModule pm = getPhpModule ();
384393 if (pm == pmTemp ) {
385394 setDebugLevelLabel (getLevel ());
395+ setVersionLabel (getVersion ());
386396 return ;
387397 } else {
388398 if (pm != null ) {
@@ -413,6 +423,7 @@ public void resultChanged(LookupEvent lookupEvent) {
413423 if (version != null ) {
414424 versionNumber = getVersion (version ) + ":" ; // NOI18N
415425 }
426+ setVersion (versionNumber );
416427 setVersionLabel (versionNumber );
417428 }
418429
You can’t perform that action at this time.
0 commit comments