Community
Participate
Working Groups
Created attachment 281250 [details] in-place type creation mock up While the type palette shown on the right side of our editors has the great the advantage that it is easily explore-able by new users. Also creating instances by drag and drop is a very common concept used in many tools. However when more and more types are added the palette navigation gets harder. Also the drag and drop creation leads to lots of mouse movements and gets tedious. Therefore we want to propose a new in-place type creation as shown in the attached mock-up image: The behavior should roughly be as follows: - on double click the text field with the button to the right is shown - also initially a drop down list with the last 3 - 5 used types - this drop down list shows the type name maybe with type icon and followed by a dash the path and file name in italic and some lighter color (e.g., slightly grayish) - when the user types something in the text field the drop down list is updated with types matching the search text - selecting a type from the list with arrows + enter or with a double click will create an instance of that type - Clicking on the button right to the text field brings up the insert FB pop-up menu so that the user can easily explore the type library Potential extensions: - <Ctrl + Left Click> bring up the insert type pop-up menu - If the text entered into the text box does not much a type create an untyped subapp with the given name. Not sure if this is a good idea. - When the user starts typing and the mouse has not been moved beyond a certain threshold from the last left click position also bring up the type creation editor. Can this concept replace the type palette of the FB Network editor?
I'm not sure if i understood the initial step to create a FB. Which text field should i click, if i wanna add a new FB to an app? What if i don't know, which FB i'm looking for (don't know its name)? In a pallete one can always have an overview of all available FB's in a category -- that gives sometimes an idea, what one needs.
(In reply to Kirill Dorofeev from comment #1) > I'm not sure if i understood the initial step to create a FB. Which text > field should i click, if i wanna add a new FB to an app? Oh sorry for not being clear about it. The text field with button and search results should pop-up when you double click on the background of the FB network editor. > > What if i don't know, which FB i'm looking for (don't know its name)? In a > pallete one can always have an overview of all available FB's in a category > -- that gives sometimes an idea, what one needs. For this use case we would have: 1. the typelibrary in the system explorer 2. the button bringing up a pop-up menu with all the types (the same that is currently shown in the insert type popup menu 3. Maybe as extension the ctrl+left click again showing the pop-up menu
New Gerrit change created: https://git.eclipse.org/r/155080
New Gerrit change created: https://git.eclipse.org/r/155096
New Gerrit change created: https://git.eclipse.org/r/155127
To make the concept a bit more graspable I created a first prototype [1]. What is still missing is to capture the recently used types and show that as initial proposal in the pop-up. [1] https://git.eclipse.org/r/#/c/155127/
Gerrit change https://git.eclipse.org/r/155080 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=021cd5cc567300b0204d9b9009ca9443bae044be
Gerrit change https://git.eclipse.org/r/155096 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=43c0d99247faa6c4243921c9331b1accbd5ed675
New Gerrit change created: https://git.eclipse.org/r/155485
Gerrit change https://git.eclipse.org/r/155127 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=ec15c2a74af889e5c3ab23c25a601d29e3fa5698
(In reply to Alois Zoitl from comment #0) > - If the text entered into the text box does not much a type create an > untyped subapp with the given name. Not sure if this is a good idea. I think this is a good idea, but be sure to give a good indication of what is about to happen. The popup list could contain an entry "Create new subapplication named '...'". I think the Firefox/Chrome browser address bar does this almost correctly. Try typing in there, it will offer search suggestions, history items, open tabs and so on, and it states what happens when you click an endtry.
(In reply to Jörg Walter from comment #11) > > I think this is a good idea, but be sure to give a good indication of what > is about to happen. The popup list could contain an entry "Create new > subapplication named '...'". I think the Firefox/Chrome browser address bar > does this almost correctly. Try typing in there, it will offer search > suggestions, history items, open tabs and so on, and it states what happens > when you click an endtry. I haven't thought about this. This is a great idea. I created a dedicated sub bug for it Bug #559550.
New Gerrit change created: https://git.eclipse.org/r/157166
Gerrit change https://git.eclipse.org/r/157166 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=526d2f2ff5149ab8d218ccfd590510f4333ce03e
New Gerrit change created: https://git.eclipse.org/r/162885
Gerrit change https://git.eclipse.org/r/162885 was merged to [develop]. Commit: http://git.eclipse.org/c/4diac/org.eclipse.4diac.ide.git/commit/?id=5438c0c2601da55c7d4597e96c69a6fef6625123