Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How can I set defaults used in MavenProjectWizard pages, or even bypass them?
How can I set defaults used in MavenProjectWizard pages, or even bypass them? [message #1719182] Tue, 05 January 2016 17:31 Go to next message
Eclipse UserFriend
I've inherited a codebase that is a plugin that creates projects that are extensions of Java/Maven projects. The project wizard extends MavenProjectWizard. The plugin provides a single wizard page that comes before the Maven-specific pages.

I'd like to modify the wizard page steps so that I can set certain field defaults that come up on the Maven wizard pages, or even bypass those pages by either setting hardcoded values or setting them from defaults set in the workspace preferences (set on a custom page for the plugin).

A simple example would be to ensure that the checkbox for "Create a simple project" is checked by default. I'd really prefer to be able to bypass the Maven wizard pages entirely, just setting the values that will eventually be used when my wizard completes.

I'd also want to allow for the user to go through all of the normal wizard pages. This "shortcut" behavior would be set in the plugin preferences.

Any ideas how I could do these things practically?
Re: How can I set defaults used in MavenProjectWizard pages, or even bypass them? [message #1719271 is a reply to message #1719182] Wed, 06 January 2016 12:30 Go to previous message
Eclipse UserFriend
Propose a patch to M2Eclipse!
Previous Topic:Navigator content extension is no more dynamic
Next Topic:How to get current project in custom "OpenDeclarationAction"?
Goto Forum:
  


Current Time: Tue Mar 18 10:44:29 EDT 2025

Powered by FUDForum. Page generated in 0.02695 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top