Skip to content

Instantly share code, notes, and snippets.

@jagwire
Created May 13, 2013 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jagwire/5572088 to your computer and use it in GitHub Desktop.
Save jagwire/5572088 to your computer and use it in GitHub Desktop.
Collaborative Objects in a cell.
public FoundationCell extends Cell {
@UsesCellComponent
private SharedStateComponent ssc;
private SharedMapImpl sharedMap;
protected CollaborativeString CollaborativeString(String value) {
return new CollaborativeString(value);
}
public void usage() {
String x = CollaborativeString("Meh", new Runnable() { ... });
}
class CollaborativeString extends CollaborativeObject {
p
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment