Community
Participate
Working Groups
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;
}
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) {
// 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) {