View | Details | Raw Unified | Return to bug 198880 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/core/databinding/ObservablesManager.java (-7 / +7 lines)
Lines 23-33 Link Here
23
/**
23
/**
24
 * An observables manager can be used for lifecycle management of
24
 * An observables manager can be used for lifecycle management of
25
 * {@link IObservable} objects.
25
 * {@link IObservable} objects.
26
 * 
26
 *
27
 * This class is not intended to be extended by clients.
27
 * This class is not intended to be extended by clients.
28
 * 
28
 *
29
 * @since 1.0
29
 * @since 1.0
30
 * 
30
 *
31
 */
31
 */
32
public class ObservablesManager {
32
public class ObservablesManager {
33
33
Lines 43-49 Link Here
43
43
44
	/**
44
	/**
45
	 * Adds the given observable to this manager.
45
	 * Adds the given observable to this manager.
46
	 * 
46
	 *
47
	 * @param observable
47
	 * @param observable
48
	 *            the observable
48
	 *            the observable
49
	 */
49
	 */
Lines 54-60 Link Here
54
	/**
54
	/**
55
	 * Adds the given observable to this manager's exclusion list. The given
55
	 * Adds the given observable to this manager's exclusion list. The given
56
	 * observable will not be disposed of by this manager.
56
	 * observable will not be disposed of by this manager.
57
	 * 
57
	 *
58
	 * @param observable
58
	 * @param observable
59
	 *            the observable
59
	 *            the observable
60
	 */
60
	 */
Lines 65-71 Link Here
65
	/**
65
	/**
66
	 * Adds the given data binding context's target and/or model observables to
66
	 * Adds the given data binding context's target and/or model observables to
67
	 * this manager.
67
	 * this manager.
68
	 * 
68
	 *
69
	 * @param context
69
	 * @param context
70
	 *            the data binding context
70
	 *            the data binding context
71
	 * @param trackTargets
71
	 * @param trackTargets
Lines 102-108 Link Here
102
					observables.add(binding.getTarget());
102
					observables.add(binding.getTarget());
103
				}
103
				}
104
				if (disposeModels) {
104
				if (disposeModels) {
105
					observables.add(binding.getTarget());
105
					observables.add(binding.getModel());
106
				}
106
				}
107
			}
107
			}
108
		}
108
		}

Return to bug 198880