return false;
}
private void startEditComponent(Component hovered, Point loc) {
WidgetAdapter adapter = WidgetAdapter.getWidgetAdapter(hovered);
IEditorAdapter editorAdapter = (IEditorAdapter) adapter.getAdapter(IEditorAdapter.class);
IEditor iEditor = null;
if (editorAdapter != null) {
editorAdapter.setHotspot(loc);
iEditor = editorAdapter.getEditorAt();
}
if (iEditor != null) {
iEditor.setFont(adapter.getWidget().getFont());
iEditor.setValue(editorAdapter.getWidgetValue());
iEditor.addChangeListener(this);
Rectangle bounds = editorAdapter.getEditorBounds();
bounds = SwingUtilities.convertRectangle(hovered, bounds, designer);
Component comp = iEditor.getComponent();
Font f = adapter.getWidget().getFont();
if (f != null) {
comp.setFont(f);