Community
Participate
Working Groups
We use a lightweight edit popup in several cases now in the UI: - edit favorites - add a favorite by typing a URL And I want to use it in other places such as renaming files, collecting file and folder names inline, etc. We should take the existing code and make it reusable (even if it's just a utility method). The kinds of things we want to control are: - initial text (if any) - the dom element it is placed after - whether the referenced element should be hidden while box is up - function to call when the string is collected
fixed. API is eclipse.util.getUserText(textBoxId, refNode, shouldHideRefNode, initialText, onComplete, /* optional */ onEditDestroy)