Class ProjectChooseRepositoryWizardModel

java.lang.Object
docking.wizard.WizardModel<ProjectWizardData>
ghidra.framework.main.wizard.project.ProjectChooseRepositoryWizardModel

public class ProjectChooseRepositoryWizardModel extends WizardModel<ProjectWizardData>
Wizard model for either converting a non-shared project to a share project OR for moving a shared project to a different server/repository.
  • Constructor Details

    • ProjectChooseRepositoryWizardModel

      public ProjectChooseRepositoryWizardModel(PluginTool tool, String title)
    • ProjectChooseRepositoryWizardModel

      public ProjectChooseRepositoryWizardModel(PluginTool tool, String title, ServerInfo server)
  • Method Details

    • addWizardSteps

      protected void addWizardSteps(List<WizardStep<ProjectWizardData>> steps)
      Description copied from class: WizardModel
      This method defines the wizard step objects in the order that will be displayed.
      Specified by:
      addWizardSteps in class WizardModel<ProjectWizardData>
      Parameters:
      steps - the wizard steps
    • getPreferredSize

      public Dimension getPreferredSize()
      Description copied from class: WizardModel
      Returns the preferred size of the panels in the wizard dialog. By default the preferred size is the largest size of any panels that have been created at construction time (components are not required to be constructed until they are shown). Subclasses can override this method to just hard code a preferred size for the dialog.
      Overrides:
      getPreferredSize in class WizardModel<ProjectWizardData>
      Returns:
      the preferred size of the panels in the wizard dialog
    • doFinish

      protected boolean doFinish()
      Description copied from class: WizardModel
      This method is called when the user presses the "Finish" button and all the steps have completed their apply() methods successfully.
      Specified by:
      doFinish in class WizardModel<ProjectWizardData>
      Returns:
      true if the model successfully completes the wizard. If false is returned, the wizard will not be closed.
    • cancel

      public void cancel()
      Description copied from class: WizardModel
      Subclasses should override this method if they have special cleanup that only needs to be done if the wizard is cancelled. Otherwise, all cleanup should be done in the WizardModel.dispose() method which is called whether or not the dialog is cancelled.
      Overrides:
      cancel in class WizardModel<ProjectWizardData>
    • getRepository

      public RepositoryAdapter getRepository()