org.eclipse.emf.ecore.sdo.presentation
Class SDOModelWizard.SDOModelWizardInitialObjectCreationPage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.wizard.WizardPage
          extended byorg.eclipse.emf.ecore.sdo.presentation.SDOModelWizard.SDOModelWizardInitialObjectCreationPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage
Enclosing class:
SDOModelWizard

public class SDOModelWizard.SDOModelWizardInitialObjectCreationPage
extends WizardPage

This is the page where the type of object to create is selected.


Field Summary
protected  EDataGraph eDataGraph
           
protected  String encoding
           
protected  CCombo encodingField
           
protected  List encodings
           
protected  Combo initialObjectField
           
protected  boolean isType
           
protected  String modelObject
          The name of the model to fetch
protected  String modelURI
          The URI of the model to fetch
protected  CCombo modelURIField
           
protected  ModifyListener validator
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
SDOModelWizard.SDOModelWizardInitialObjectCreationPage(String pageId)
          Pass in the selection.
 
Method Summary
 void createControl(Composite parent)
           
 EDataGraph createRootObject()
           
 String getEncoding()
           
protected  Collection getEncodings()
           
 String getInitialObjectName()
           
protected  String getLabel(String typeName)
          Returns the label for the specified type name
 String getModelObject()
           
 String getModelURI()
           
 boolean isPageComplete()
           
protected  void loadModelURI()
           
 boolean performFinish()
          Store the dialog field settings upon completion.
 void setVisible(boolean visible)
           
protected  boolean validatePage()
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, 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
 
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
 

Field Detail

initialObjectField

protected Combo initialObjectField


encodings

protected List encodings

modelURI

protected String modelURI
The URI of the model to fetch


modelURIField

protected CCombo modelURIField

modelObject

protected String modelObject
The name of the model to fetch


eDataGraph

protected EDataGraph eDataGraph

isType

protected boolean isType

encoding

protected String encoding

encodingField

protected CCombo encodingField

validator

protected ModifyListener validator

Constructor Detail

SDOModelWizard.SDOModelWizardInitialObjectCreationPage

public SDOModelWizard.SDOModelWizardInitialObjectCreationPage(String pageId)
Pass in the selection.

Method Detail

createRootObject

public EDataGraph createRootObject()

createControl

public void createControl(Composite parent)

validatePage

protected boolean validatePage()


setVisible

public void setVisible(boolean visible)


loadModelURI

protected void loadModelURI()

isPageComplete

public boolean isPageComplete()

performFinish

public boolean performFinish()
Store the dialog field settings upon completion.


getInitialObjectName

public String getInitialObjectName()


getModelURI

public String getModelURI()

getModelObject

public String getModelObject()

getEncoding

public String getEncoding()

getLabel

protected String getLabel(String typeName)
Returns the label for the specified type name.


getEncodings

protected Collection getEncodings()


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.