[GREENFOOT-637] Convert import class dialog to JavaFX
Greenfoot has an import-class feature, which uses greenfoot.gui.ImportClassWindow (move to .guifx. as you convert). The main improvement that we will get from converting is that we can use JavaFX's WebView for the right-hand side docs, which will improve things. Only niggle to note is that this currently shares use of the ClassButton, which is what is used in the class diagram. You'll have to see based on the outcome of the class diagram conversion (GREENFOOT-635) whether this makes sense, or whether we just want to share some CSS between the two to make sure they look the same.
Update: there is now a ClassDisplay class which you can use for displaying the left-hand list of classes. You will probably want to use ClassDisplaySelectionManager to manage the selection (and maybe turn the selected item into an observable property, so you can listen to the change and update the WebView). You may even want to use ClassGroup which will handle the case that one of the classes inherits from another, and just generally provides a way to show a list of ClassDisplay. Do NOT use ClassDiagram though, as that has all sorts of context menus etc that we don't want when just displaying classes to import.
Issue metadata
- Issue type: Task
- Priority: Medium