|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.oda.ecore.ui.impl.EcoreDataSourcePageHelper
public class EcoreDataSourcePageHelper
A helper for Ecore data source property and wizard pages.
Field Summary | |
---|---|
protected static java.lang.String |
DEFAULT_MESSAGE
|
protected EcoreDataSourcePropertyPage |
propertyPage
|
protected Text |
resourceField
|
protected EcoreDataSourceWizardPage |
wizardPage
|
Constructor Summary | |
---|---|
protected |
EcoreDataSourcePageHelper(EcoreDataSourcePropertyPage page)
|
protected |
EcoreDataSourcePageHelper(EcoreDataSourceWizardPage page)
|
Method Summary | |
---|---|
protected java.util.Properties |
collectCustomProperties(java.util.Properties properties)
Collects the values of the specified properties. |
protected void |
createCustomControl(Composite parent)
Creates custom page control for user-defined data sources. |
protected void |
createResourceControl(Composite parent)
Creates control for resource property. |
protected Control |
getControl()
Returns the page for this helper. |
protected java.lang.String |
getResource()
Returns the value of the resource property. |
protected void |
initCustomControl(java.util.Properties properties)
Initializes the custom control with the specified properties. |
protected void |
setMessage(java.lang.String newMessage,
int newType)
Sets the message for this helper's page. |
protected void |
setPageComplete(boolean complete)
Sets whether the page for this helps is complete. |
protected void |
validateData()
Validates that the user has specified values for the properties in the page control and sets page message accordingly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.lang.String DEFAULT_MESSAGE
protected EcoreDataSourceWizardPage wizardPage
protected EcoreDataSourcePropertyPage propertyPage
protected Text resourceField
Constructor Detail |
---|
protected EcoreDataSourcePageHelper(EcoreDataSourceWizardPage page)
protected EcoreDataSourcePageHelper(EcoreDataSourcePropertyPage page)
Method Detail |
---|
protected java.lang.String getResource()
protected void createCustomControl(Composite parent)
protected void createResourceControl(Composite parent)
protected void initCustomControl(java.util.Properties properties)
protected java.util.Properties collectCustomProperties(java.util.Properties properties)
protected void validateData()
protected Control getControl()
protected void setPageComplete(boolean complete)
protected void setMessage(java.lang.String newMessage, int newType)
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |