blob: 73b3584e7f96f9dc97bb32d20a703f9f730a2c16 [file] [log] [blame]
package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
import java.util.StringTokenizer;
import org.eclipse.core.runtime.IConfigurationElement;
public class RuntimeDescriptor
{
private IConfigurationElement elem;
private String id;
private String label;
public RuntimeDescriptor(IConfigurationElement elem)
{
this.elem = elem;
}
public String getId()
{
if (id == null)
{
id = elem.getAttribute("id");
}
return id;
}
public String getLabel()
{
if (label == null)
{
label = elem.getAttribute("label");
}
return label;
}
public String[] getJ2eeLevels()
{
return new String[]{"13", "14"};
}
}