Skip to content
Snippets Groups Projects
Commit b990e181 authored by buczekp's avatar buczekp
Browse files

[LMS-1949] perform update dummy implementation

SVN: 19466
parent 6174259c
No related branches found
No related tags found
No related merge requests found
...@@ -71,11 +71,9 @@ public final class ManagedPropertyGridActionDialog extends ...@@ -71,11 +71,9 @@ public final class ManagedPropertyGridActionDialog extends
protected String createMessage() protected String createMessage()
{ {
// TODO 2011-01-18 - the message should depend on action and be provided by the script // TODO 2011-01-18 - the message should depend on action and be provided by the script
return "Update managed property"; return "Action decription";
} }
private static boolean IS_UPDATE_IMPLEMENTED = false;
@Override @Override
protected void executeConfirmedAction() protected void executeConfirmedAction()
{ {
...@@ -86,17 +84,14 @@ public final class ManagedPropertyGridActionDialog extends ...@@ -86,17 +84,14 @@ public final class ManagedPropertyGridActionDialog extends
} }
Info.display("confirmed", sb.toString()); Info.display("confirmed", sb.toString());
if (IS_UPDATE_IMPLEMENTED) for (IManagedInputWidgetDescription inputDescription : managedProperty
.getUiDescription().getInputWidgetDescriptions())
{ {
for (IManagedInputWidgetDescription inputDescription : managedProperty TextField<String> field = inputFieldsByLabel.get(inputDescription.getLabel());
.getUiDescription().getInputWidgetDescriptions()) inputDescription.setValue(field.getValue());
{
TextField<String> field = inputFieldsByLabel.get(inputDescription.getLabel());
inputDescription.setValue(field.getValue());
}
viewContext.getService().updateManagedProperty(TechId.create(entity),
entity.getEntityKind(), managedProperty, callback);
} }
viewContext.getService().updateManagedProperty(TechId.create(entity),
entity.getEntityKind(), managedProperty, callback);
} }
@Override @Override
......
...@@ -2106,6 +2106,8 @@ public final class CommonClientService extends AbstractClientService implements ...@@ -2106,6 +2106,8 @@ public final class CommonClientService extends AbstractClientService implements
throws ch.systemsx.cisd.openbis.generic.client.web.client.exception.UserFailureException throws ch.systemsx.cisd.openbis.generic.client.web.client.exception.UserFailureException
{ {
// TODO Auto-generated method stub // TODO Auto-generated method stub
System.err.println("update " + entityId + " " + entityKind + " "
+ managedProperty.getUiDescription());
} }
public List<DatastoreServiceDescription> listDataStoreServices( public List<DatastoreServiceDescription> listDataStoreServices(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment