org.eclipse.mtl.ide.ui.wizards.newproject
Class MTLNewUIConfigurationPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.mtl.ide.ui.wizards.newproject.MTLNewUIConfigurationPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class MTLNewUIConfigurationPage
extends org.eclipse.jface.wizard.WizardPage

A wizard page used to configure the UI of the new module launcher.


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
MTLNewUIConfigurationPage(java.lang.String pageName)
          Constructor.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          
 java.lang.String getModelNameFilter()
          Gets the model name filter.
 java.lang.String getTargetFolderAccess()
          Gets the 'Java' code that defines the way to access the target folder from the model file.
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

MTLNewUIConfigurationPage

public MTLNewUIConfigurationPage(java.lang.String pageName)
Constructor.

Parameters:
pageName - is the page name
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)

See Also:
IDialogPage.createControl(org.eclipse.swt.widgets.Composite)

getModelNameFilter

public java.lang.String getModelNameFilter()
Gets the model name filter. The code generation (popup action...) is only available for the file which name validates the filter.

Returns:
the model name filter

getTargetFolderAccess

public java.lang.String getTargetFolderAccess()
Gets the 'Java' code that defines the way to access the target folder from the model file.

IContainer target = model.getProject();

Returns:
the 'Java' code to access the target folder

Copyright 2008 Obeo
All Rights Reserved.