public EditedComponent getEditType() {
return EditedComponent.NOTE;
}
};
final IEditBaseCreator textFieldCreator = (IEditBaseCreator) Controller.getCurrentController().getMapViewManager();
mCurrentEditDialog = textFieldCreator.createEditor(nodeModel, editControl, text, true);
final RootPaneContainer frame = (RootPaneContainer) SwingUtilities.getWindowAncestor(controller.getMapViewManager().getMapViewComponent());
mCurrentEditDialog.show(frame);
}