Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bjgf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 127
    • Issues 127
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • BlueJ
  • bjgf
  • Issues
  • #1973
Closed
Open
Issue created Dec 06, 2017 by Neil Brown@nccbMaintainer

[GREENFOOT-638] Convert new-class dialog to JavaFX

Most classes in Greenfoot are created by right-clicking Actor/World and selecting new subclass. However, there is also a menu option Edit->New Class... which shows a simple dialog for creating other classes. This is in greenfoot.gui.NewClassDialog and should get converted to JavaFX (into .guifx.). You may want to use DialogPaneAnimateError as part of this (see e.g. BlueJ's bluej.pkgmgr.NewClassDialog, but that dialog is different enough that we don't want to re-use the whole dialog).

As part of this change, you will also need to convert the surrounding uses of the dialog. They currently use GPackage/GClass to create the class. This should be switched to using Package and co -- see use of BlueJ's NewClassDialog in PkgMgrFrame for some relevant code.


Issue metadata

  • Issue type: Task
  • Priority: Medium
Assignee
Assign to
Time tracking