Class ProjectChooseRepositoryWizardModel
java.lang.Object
docking.wizard.WizardModel<ProjectWizardData>
ghidra.framework.main.wizard.project.ProjectChooseRepositoryWizardModel
Wizard model for either converting a non-shared project to a share project OR for moving
a shared project to a different server/repository.
-
Field Summary
Fields inherited from class docking.wizard.WizardModel
data, wizardDialog
-
Constructor Summary
ConstructorsConstructorDescriptionProjectChooseRepositoryWizardModel
(PluginTool tool, String title) ProjectChooseRepositoryWizardModel
(PluginTool tool, String title, ServerInfo server) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addWizardSteps
(List<WizardStep<ProjectWizardData>> steps) This method defines the wizard step objects in the order that will be displayed.void
cancel()
Subclasses should override this method if they have special cleanup that only needs to be done if the wizard is cancelled.protected boolean
doFinish()
This method is called when the user presses the "Finish" button and all the steps have completed their apply() methods successfully.Returns the preferred size of the panels in the wizard dialog.Methods inherited from class docking.wizard.WizardModel
canCancel, canFinish, canGoBack, canGoNext, dispose, finish, getCurrentStep, getData, getIcon, getStatusMessage, getTitle, goBack, goNext, setStatusMessage, statusChanged, wasCancelled
-
Constructor Details
-
ProjectChooseRepositoryWizardModel
-
ProjectChooseRepositoryWizardModel
-
-
Method Details
-
addWizardSteps
Description copied from class:WizardModel
This method defines the wizard step objects in the order that will be displayed.- Specified by:
addWizardSteps
in classWizardModel<ProjectWizardData>
- Parameters:
steps
- the wizard steps
-
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 classWizardModel<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 classWizardModel<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 theWizardModel.dispose()
method which is called whether or not the dialog is cancelled.- Overrides:
cancel
in classWizardModel<ProjectWizardData>
-
getRepository
-