refs 2521: Explore the possibility to port the StatMan interface onto Dataminer
https://support.d4science.org/issues/2521 Fixed Parameters format git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/data-miner-manager@128999 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
db29a07238
commit
2df5f625e2
|
@ -3,7 +3,6 @@
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.dataminermanager.client.parametersfield;
|
package org.gcube.portlets.user.dataminermanager.client.parametersfield;
|
||||||
|
|
||||||
import org.gcube.portlets.user.dataminermanager.shared.StringUtil;
|
|
||||||
import org.gcube.portlets.user.dataminermanager.shared.parameters.ListParameter;
|
import org.gcube.portlets.user.dataminermanager.shared.parameters.ListParameter;
|
||||||
import org.gcube.portlets.user.dataminermanager.shared.parameters.ObjectParameter;
|
import org.gcube.portlets.user.dataminermanager.shared.parameters.ObjectParameter;
|
||||||
import org.gcube.portlets.user.dataminermanager.shared.parameters.Parameter;
|
import org.gcube.portlets.user.dataminermanager.shared.parameters.Parameter;
|
||||||
|
@ -48,12 +47,12 @@ public class OperatorFieldWidget {
|
||||||
field = new FileFld(p);
|
field = new FileFld(p);
|
||||||
|
|
||||||
if (field == null) {
|
if (field == null) {
|
||||||
parameterLabel = new FieldLabel(null, StringUtil.getCapitalWords(p.getName()));
|
parameterLabel = new FieldLabel(null, p.getName());
|
||||||
parameterLabel.setLabelWidth(200);
|
parameterLabel.setLabelWidth(200);
|
||||||
parameterLabel.setLabelWordWrap(true);
|
parameterLabel.setLabelWordWrap(true);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
parameterLabel = new FieldLabel(field.getWidget(), StringUtil.getCapitalWords(p.getName()));
|
parameterLabel = new FieldLabel(field.getWidget(), p.getName());
|
||||||
parameterLabel.setLabelWidth(200);
|
parameterLabel.setLabelWidth(200);
|
||||||
parameterLabel.setLabelWordWrap(true);
|
parameterLabel.setLabelWordWrap(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue