Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347056 - [api] Provide factory to get an instance of NewRepositoryWizardSelectionPage
Summary: [api] Provide factory to get an instance of NewRepositoryWizardSelectionPage
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 3.6   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 14:55 EDT by Sam Davis CLA
Modified: 2011-05-30 18:33 EDT (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (9.72 KB, application/octet-stream)
2011-05-30 18:33 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.