1452: Implement a GUI for StatMan Algorithms Importer

Task-Url: https://support.d4science.org/issues/1452

Updated algorithm info description field

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@122383 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2016-01-20 16:35:33 +00:00
parent f7b80e548a
commit e4840279ab
1 changed files with 3 additions and 6 deletions

View File

@ -5,8 +5,8 @@ import java.util.List;
import org.gcube.portlets.user.statisticalalgorithmsimporter.client.properties.RequestedVREProperties;
import org.gcube.portlets.user.statisticalalgorithmsimporter.client.resource.StatAlgoImporterResources;
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.input.RequestedVRE;
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.input.ProjectInfo;
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.input.RequestedVRE;
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.project.Project;
import com.allen_sauer.gwt.log.client.Log;
@ -36,7 +36,6 @@ import com.sencha.gxt.widget.core.client.event.CompleteEditEvent.CompleteEditHan
import com.sencha.gxt.widget.core.client.event.SelectEvent;
import com.sencha.gxt.widget.core.client.event.SelectEvent.SelectHandler;
import com.sencha.gxt.widget.core.client.form.FieldLabel;
import com.sencha.gxt.widget.core.client.form.TextArea;
import com.sencha.gxt.widget.core.client.form.TextField;
import com.sencha.gxt.widget.core.client.form.validator.RegExValidator;
import com.sencha.gxt.widget.core.client.grid.ColumnConfig;
@ -56,11 +55,10 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
public class ProjectInfoPanel extends ContentPanel {
private static final int LABAEL_WIDTH = 120;
private static final String DESCRIPTION_FIELD_HEIGHT = "40px";
@SuppressWarnings("unused")
private EventBus eventBus;
private TextField algorithmName;
private TextArea algorithmDescription;
private TextField algorithmDescription;
private ListStore<RequestedVRE> storeRequestedVRE;
private Grid<RequestedVRE> gridRequestedVRE;
private GridRowEditing<RequestedVRE> gridRequestedVREEditing;
@ -109,8 +107,7 @@ public class ProjectInfoPanel extends ContentPanel {
FieldLabel nameLabel = new FieldLabel(algorithmName, "Name");
nameLabel.setLabelWidth(LABAEL_WIDTH);
algorithmDescription = new TextArea();
algorithmDescription.setHeight(DESCRIPTION_FIELD_HEIGHT);
algorithmDescription = new TextField();
algorithmDescription.setAllowBlank(false);
algorithmDescription.setEmptyText("Enter description...");
FieldLabel descriptionLabel = new FieldLabel(