Commit fa65bfe
committed
[GEF] Remove excessive
This method is only overridden by the `JTabbedPaneTabEditPart` in order
to update the local model variable. Instead of keeping two "model"
fields, we can override the `getModel()` method to cast the `Object` to
`JTabbedPaneTabInfo`, in order to get access to its methods.EditPart.updateModel() method1 parent 4beda83 commit fa65bfe
File tree
2 files changed
+5
-14
lines changed- org.eclipse.wb.core/src-gef/org/eclipse/wb/gef/core
- org.eclipse.wb.swing/src/org/eclipse/wb/internal/swing/gef/part
2 files changed
+5
-14
lines changedLines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 59 | | |
66 | 60 | | |
67 | 61 | | |
| |||
153 | 147 | | |
154 | 148 | | |
155 | 149 | | |
156 | | - | |
157 | 150 | | |
158 | 151 | | |
159 | 152 | | |
| |||
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
44 | | - | |
| 42 | + | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
54 | | - | |
| 51 | + | |
| 52 | + | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
| |||
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | | - | |
| 67 | + | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
| |||
83 | 81 | | |
84 | 82 | | |
85 | 83 | | |
86 | | - | |
| 84 | + | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
0 commit comments