Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 154662 Details for
Bug 288992
Published project modules missing the "Started" status in the Servers view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
v1.0
288992patch.txt (text/plain), 1.53 KB, created by
Elson Yuen
on 2009-12-17 09:41:58 EST
(
hide
)
Description:
v1.0
Filename:
MIME Type:
Creator:
Elson Yuen
Created:
2009-12-17 09:41:58 EST
Size:
1.53 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.server.ui >Index: serverui/org/eclipse/wst/server/ui/internal/cnf/ServerDecorator.java >=================================================================== >RCS file: /cvsroot/webtools/servertools/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/cnf/ServerDecorator.java,v >retrieving revision 1.2 >diff -u -r1.2 ServerDecorator.java >--- serverui/org/eclipse/wst/server/ui/internal/cnf/ServerDecorator.java 22 Apr 2009 21:22:53 -0000 1.2 >+++ serverui/org/eclipse/wst/server/ui/internal/cnf/ServerDecorator.java 16 Dec 2009 22:51:53 -0000 >@@ -11,6 +11,7 @@ > package org.eclipse.wst.server.ui.internal.cnf; > > import org.eclipse.core.runtime.IStatus; >+import org.eclipse.debug.core.ILaunchManager; > import org.eclipse.jface.viewers.*; > import org.eclipse.swt.graphics.Image; > import org.eclipse.ui.ISharedImages; >@@ -160,7 +161,17 @@ > } > > public static String getModuleStateText(ModuleServer ms) { >- return ""; >+ if (ms == null || ms.module == null) { >+ return null; >+ } >+ >+ Server curServer = (Server) ms.getServer(); >+ if (curServer == null || curServer.getServerType() == null) { >+ return null; >+ } >+ // For module state, we always use run mode since the state of the module will only be showing >+ // Started state even for debug and profile mode. >+ return getStateLabel(curServer.getServerType(), curServer.getModuleState(ms.module), ILaunchManager.RUN_MODE); > } > > public static String getModuleStatusText(ModuleServer ms) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
arvera
:
iplog+
arvera
:
review+
Actions:
View
|
Diff
Attachments on
bug 288992
: 154662