Skip to content

Commit

Permalink
Added short option names to PersistenceSetupWizard
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Oct 17, 2013
1 parent 2512fbd commit 1e16de9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
public class PersistenceSetupConnectionStep extends AbstractJavaEECommand implements UIWizardStep
{
@Inject
@WithAttributes(label = "Database Type", required = true)
@WithAttributes(shortName = 't', label = "Database Type", required = true)
private UISelectOne<DatabaseType> dbType;

@Inject
@WithAttributes(label = "DataSource Name", required = true)
@WithAttributes(shortName = 'd', label = "DataSource Name", required = true)
private UIInput<String> dataSourceName;

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ public class PersistenceSetupWizard extends AbstractJavaEECommand implements UIW
{

@Inject
@WithAttributes(label = "Container", required = true)
@WithAttributes(shortName = 'c', label = "Container", required = true)
private UISelectOne<PersistenceContainer> container;

@Inject
@WithAttributes(label = "Provider", required = true)
@WithAttributes(shortName = 'p', label = "Provider", required = true)
private UISelectOne<PersistenceProvider> provider;

@Inject
@WithAttributes(label = "Install a JPA 2 metamodel generator?")
@WithAttributes(shortName = 'm', label = "Install a JPA 2 metamodel generator?")
private UIInput<Boolean> configureMetadata;

@Inject
Expand Down

0 comments on commit 1e16de9

Please sign in to comment.