Mercurial > projects > dwt2
comparison org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet031JFaceObservable.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 |
---|---|
56 // The data model class. This is normally a persistent class of some sort. | 56 // The data model class. This is normally a persistent class of some sort. |
57 // | 57 // |
58 // In this example, we extend the EventManager class | 58 // In this example, we extend the EventManager class |
59 // to manage our listeners and we fire a property change | 59 // to manage our listeners and we fire a property change |
60 // event when the object state changes. | 60 // event when the object state changes. |
61 public static class Person extends EventManager { | 61 public static class Person : EventManager { |
62 // A property... | 62 // A property... |
63 String name = "HelloWorld"; | 63 String name = "HelloWorld"; |
64 | 64 |
65 public String getName() { | 65 public String getName() { |
66 return name; | 66 return name; |