| Summary: | change visibility of member in DirectEditManager | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Andreas Muelder <Andreas.Muelder> |
| Component: | GEF-Legacy GEF (MVC) | Assignee: | Alexander Nyßen <nyssen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | nyssen |
| Version: | 3.8 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Andreas Muelder
Enhanced DirectEditManager for extensibility by performing the following changes: - Changed visibility of DirectEditBorder to protected. - Changed visibility of getCellEditorFrame() to protected. - Renamed placeBorder() into placeCellEditorFrame() for better consistency. Changes pushed to master (3.9.0M3). Resolving as fixed. The default constructor of DirectEditManagers inner class DirectEditBorder is not visible to the outside, a public constructor should be added. Can you please describe your use case in more detail?
The cell editor frame you want to manipulate is now accessible to subclasses via getCellEditorFrame(). If you need to access the DirectEditBorder you can do the following:
protected IFigure getCellEditorFrame() {
IFigure frame = super.getCellEditorFrame();
DirectEditBorder border = (DirectEditBorder) frame.getBorder();
// do something with border
return frame;
}
Why do you need to construct a DirectEditBorder yourself?
Unset target milestone as the specified one is already passed. Resolving as fixed, because of comment #3. Please re-open if there are any objections. |