This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#~/bin/bash | |
#Installs Cassandra. Instructions from https://gist.github.com/hengxin/8e5040d7a8b354b1c82e and http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/installDeb_t.html | |
cd ~/ | |
sudo mkdir /usr/lib/jvm | |
curl -O -J -L -H "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u40-b25/jdk-8u40-linux-x64.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CrudEditor<M extends ModelDTO> extends Composite | |
implements EditsItem<M> | |
{ | |
private RendererProvider rendererFactory = new CrudFieldRenderer(); | |
//Cannot use FormField<?> here as it gives an error when trying to add values to the map. | |
// Using LinkedHashMap for preserving order of insertion and rendering. | |
private final Map<String, Renders> renderMap | |
= new LinkedHashMap<>(); |
NewerOlder