Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347056

Summary: [api] Provide factory to get an instance of NewRepositoryWizardSelectionPage
Product: z_Archived Reporter: Sam Davis <sam.davis>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: steffen.pingel
Version: unspecified   
Target Milestone: 3.6   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Sam Davis CLA 2011-05-24 14:55:44 EDT
It would be useful if the framework provided some kind of factory or command to get an instance of or open a NewRepositoryWizardSelectionPage, so that clients can provide their own UI for opening the wizard.
Comment 1 Steffen Pingel CLA 2011-05-26 16:52:42 EDT
Are you looking for a way to embed the page or simply an API for creating the wizard?
Comment 2 Sam Davis CLA 2011-05-26 20:06:38 EDT
I just want to be able to open the new repository wizard and have it show only build repository kinds.
Comment 3 Steffen Pingel CLA 2011-05-30 16:50:44 EDT
Basically make this NewRepositoryHandler.openDialog() API? NewBuildServerAction invokes it like this: NewRepositoryHandler.openDialog(window, "org.eclipse.mylyn.builds.ui.category.Builds");
Comment 4 Sam Davis CLA 2011-05-30 17:32:29 EDT
Yes, that would be perfect. Thanks!
Comment 5 Steffen Pingel CLA 2011-05-30 18:33:23 EDT
You can now invoke the dialog using the following API: RepositoryUi.openNewRepositoryDialog(window, BuildsUiConstants.ID_REPOSITORY_CATEGORY_BUILDS).

Please note that all packages are exported as x-internal since the bundles are still provisional but we'll do our best to maintain backwards compatibility.
Comment 6 Steffen Pingel CLA 2011-05-30 18:33:25 EDT
Created attachment 196934 [details]
mylyn/context/zip
Comment 7 Steffen Pingel CLA 2011-05-30 18:33:40 EDT
Reopening to fix assignment.
Comment 8 Steffen Pingel CLA 2011-05-30 18:33:59 EDT
Closing.