Mercurial > projects > dwt2
comparison org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet013TableViewerEditing.d @ 100:e884642ad36e
more work on examples
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 23 Apr 2009 00:02:38 +0200 |
parents | 5d5bd660917f |
children |
comparison
equal
deleted
inserted
replaced
99:5d5bd660917f | 100:e884642ad36e |
---|---|
96 newValue); | 96 newValue); |
97 } | 97 } |
98 } | 98 } |
99 | 99 |
100 // The data model class. This is normally a persistent class of some sort. | 100 // The data model class. This is normally a persistent class of some sort. |
101 static class Person extends AbstractModelObject { | 101 static class Person : AbstractModelObject { |
102 // A property... | 102 // A property... |
103 String name = "John Smith"; | 103 String name = "John Smith"; |
104 | 104 |
105 public Person(String name) { | 105 public Person(String name) { |
106 this.name = name; | 106 this.name = name; |
146 * lifecycle. The standard EditingSupport get/setValue(...) lifecycle is not | 146 * lifecycle. The standard EditingSupport get/setValue(...) lifecycle is not |
147 * used. | 147 * used. |
148 * | 148 * |
149 * @since 3.3 | 149 * @since 3.3 |
150 */ | 150 */ |
151 private static class InlineEditingSupport extends | 151 private static class InlineEditingSupport : |
152 ObservableValueEditingSupport { | 152 ObservableValueEditingSupport { |
153 private CellEditor cellEditor; | 153 private CellEditor cellEditor; |
154 | 154 |
155 /** | 155 /** |
156 * @param viewer | 156 * @param viewer |