Lines 228-234
Link Here
|
228 |
return source; |
228 |
return source; |
229 |
} |
229 |
} |
230 |
|
230 |
|
231 |
private CellEditorLocator getLocator() { |
231 |
protected CellEditorLocator getLocator() { |
232 |
return locator; |
232 |
return locator; |
233 |
} |
233 |
} |
234 |
|
234 |
|
Lines 238-244
Link Here
|
238 |
placeCellEditor(); |
238 |
placeCellEditor(); |
239 |
} |
239 |
} |
240 |
|
240 |
|
241 |
private void hookListeners() { |
241 |
protected void hookListeners() { |
242 |
ancestorListener = new AncestorListener.Stub() { |
242 |
ancestorListener = new AncestorListener.Stub() { |
243 |
public void ancestorMoved(IFigure ancestor) { |
243 |
public void ancestorMoved(IFigure ancestor) { |
244 |
placeCellEditor(); |
244 |
placeCellEditor(); |
Lines 389-395
Link Here
|
389 |
|
389 |
|
390 |
/** |
390 |
/** |
391 |
* Unhooks listeners. Called from {@link #bringDown()}. |
391 |
* Unhooks listeners. Called from {@link #bringDown()}. |
392 |
* TODO: hookListeners() and unhookListeners() should have the same visibility. |
|
|
393 |
*/ |
392 |
*/ |
394 |
protected void unhookListeners() { |
393 |
protected void unhookListeners() { |
395 |
getEditPart().getFigure().removeAncestorListener(ancestorListener); |
394 |
getEditPart().getFigure().removeAncestorListener(ancestorListener); |