- change default wizard title for Custom Controls
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8615 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
47e9b74e6a
commit
12b70d9b29
@ -66,7 +66,7 @@ public final class NewCustomControlWizardAction extends AbstractNewControlWizard
|
|||||||
WizardDescriptor wizardDescriptor = new WizardDescriptor(getPanels());
|
WizardDescriptor wizardDescriptor = new WizardDescriptor(getPanels());
|
||||||
// {0} will be replaced by WizardDesriptor.Panel.getComponent().getName()
|
// {0} will be replaced by WizardDesriptor.Panel.getComponent().getName()
|
||||||
wizardDescriptor.setTitleFormat(new MessageFormat("{0}"));
|
wizardDescriptor.setTitleFormat(new MessageFormat("{0}"));
|
||||||
wizardDescriptor.setTitle("Your wizard dialog title here");
|
wizardDescriptor.setTitle("Create Custom Control");
|
||||||
wizardDescriptor.putProperty("asset_manager", node.getLookup().lookup(ProjectAssetManager.class));
|
wizardDescriptor.putProperty("asset_manager", node.getLookup().lookup(ProjectAssetManager.class));
|
||||||
Dialog dialog = DialogDisplayer.getDefault().createDialog(wizardDescriptor);
|
Dialog dialog = DialogDisplayer.getDefault().createDialog(wizardDescriptor);
|
||||||
dialog.setVisible(true);
|
dialog.setVisible(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user