Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.pde.internal.ui.wizards.extension
Class NewSchemaFileMainPage  view NewSchemaFileMainPage download NewSchemaFileMainPage.java

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.wizard.WizardPage
          extended byorg.eclipse.pde.internal.ui.wizards.extension.BaseExtensionPointMainPage
              extended byorg.eclipse.pde.internal.ui.wizards.extension.NewSchemaFileMainPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class NewSchemaFileMainPage
extends BaseExtensionPointMainPage


Field Summary
private  org.eclipse.core.resources.IContainer container
           
private  boolean isPluginIdFinal
           
static java.lang.String KEY_DESC
           
static java.lang.String KEY_TITLE
           
private  org.eclipse.pde.core.plugin.IPluginExtensionPoint point
           
 
Fields inherited from class org.eclipse.pde.internal.ui.wizards.extension.BaseExtensionPointMainPage
findLocationButton, idText, KEY_EDIT, KEY_GENERATING, KEY_ID, KEY_MISSING_ID, KEY_NAME, KEY_NO_PLUGIN_MISSING_ID, KEY_PLUGIN_ID, KEY_SCHEMA, KEY_SCHEMA_LOCATION, KEY_SECTIONS_API, KEY_SECTIONS_COPYRIGHT, KEY_SECTIONS_OVERVIEW, KEY_SECTIONS_SINCE, KEY_SECTIONS_SUPPLIED, KEY_SECTIONS_USAGE, KEY_SHARED, nameText, openSchemaButton, pluginBrowseButton, pluginIdText, SCHEMA_DIR, schemaLocationText, schemaText, SETTINGS_PLUGIN_ID, sharedSchemaButton
 
Fields inherited from class org.eclipse.jface.wizard.WizardPage
 
Fields inherited from class org.eclipse.jface.dialogs.DialogPage
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
NewSchemaFileMainPage(org.eclipse.core.resources.IContainer container)
           
NewSchemaFileMainPage(org.eclipse.core.resources.IContainer container, org.eclipse.pde.core.plugin.IPluginExtensionPoint point, boolean isPluginIdFinal)
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Creates the top level control for this dialog page under the given parent composite.
 boolean finish()
           
 void initializeValues()
           
protected  boolean isPluginIdFinal()
           
protected  boolean isPluginIdNeeded()
           
protected  boolean isSharedSchemaSwitchNeeded()
           
 
Methods inherited from class org.eclipse.pde.internal.ui.wizards.extension.BaseExtensionPointMainPage
checkFieldsFilled, getOperation, getPluginId, getSchemaLocation
 
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
 

Field Detail

KEY_TITLE

public static final java.lang.String KEY_TITLE
See Also:
Constant Field Values

KEY_DESC

public static final java.lang.String KEY_DESC
See Also:
Constant Field Values

point

private org.eclipse.pde.core.plugin.IPluginExtensionPoint point

container

private org.eclipse.core.resources.IContainer container

isPluginIdFinal

private boolean isPluginIdFinal
Constructor Detail

NewSchemaFileMainPage

public NewSchemaFileMainPage(org.eclipse.core.resources.IContainer container)

NewSchemaFileMainPage

public NewSchemaFileMainPage(org.eclipse.core.resources.IContainer container,
                             org.eclipse.pde.core.plugin.IPluginExtensionPoint point,
                             boolean isPluginIdFinal)
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Description copied from interface: org.eclipse.jface.dialogs.IDialogPage
Creates the top level control for this dialog page under the given parent composite.

Implementors are responsible for ensuring that the created control can be accessed via getControl

Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage
Overrides:
createControl in class BaseExtensionPointMainPage

finish

public boolean finish()

isPluginIdNeeded

protected boolean isPluginIdNeeded()
Overrides:
isPluginIdNeeded in class BaseExtensionPointMainPage

isPluginIdFinal

protected boolean isPluginIdFinal()
Overrides:
isPluginIdFinal in class BaseExtensionPointMainPage

isSharedSchemaSwitchNeeded

protected boolean isSharedSchemaSwitchNeeded()
Overrides:
isSharedSchemaSwitchNeeded in class BaseExtensionPointMainPage

initializeValues

public void initializeValues()