public String getName() {
return "Deployment [" + _deployment.getName() + "]";
}
public String[] getDependencies() {
Version version = _deployment.getWGAVersion();
if (version != null) {
if (version.isAtLeast(5, 0)) {
return new String[] {WGADesignerPlugin.LIBRARY_SET_J2EE_1_4};
} else if (version.isAtLeast(4, 1)) {
return new String[] {WGADesignerPlugin.LIBRARY_SET_J2EE_1_4};
} else if (version.isAtLeast(4, 0)) {
return new String[] {WGADesignerPlugin.LIBRARY_SET_J2EE_1_4};
} else if (version.isAtLeast(3, 3)) {
return new String[] {WGADesignerPlugin.LIBRARY_SET_J2EE_1_3};
}
}
return null;
}