|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
eu.esdihumboldt.hale.ui.HaleWizardPage<AbstractGenericFunctionWizard<D,T>>
eu.esdihumboldt.hale.ui.function.generic.pages.EntitiesPage<T,D,F>
T
- the function typeF
- the field typeD
- the field definitionpublic abstract class EntitiesPage<T extends AbstractFunction<D>,D extends AbstractParameter,F extends Field<D,?>>
Page that allows assigning cell entities
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
EntitiesPage(SchemaSelection initialSelection,
Cell initialCell)
Create the entities page |
Method Summary | |
---|---|
void |
configureCell(MutableCell cell)
Configure the given cell |
protected void |
createContent(org.eclipse.swt.widgets.Composite page)
Create the page content |
protected org.eclipse.swt.widgets.Control |
createEntityGroup(SchemaSpaceID ssid,
org.eclipse.swt.widgets.Composite parent)
Create an entity group |
protected abstract F |
createField(D field,
SchemaSpaceID ssid,
org.eclipse.swt.widgets.Composite parent,
Set<EntityDefinition> candidates,
Cell initialCell)
Create entity assignment fields for the given field definition |
protected org.eclipse.swt.widgets.Control |
createHeader(org.eclipse.swt.widgets.Composite parent)
Create the header control. |
protected Set<EntityDefinition> |
getCandidates(SchemaSpaceID ssid)
Get the entity candidates for the given schema space |
protected Set<F> |
getFunctionFields()
Get the function fields associated with the page |
protected Cell |
getInitialCell()
|
protected SchemaSelection |
getInitialSelection()
|
protected void |
onShowPage(boolean firstShow)
Called when this page is shown |
Methods inherited from class eu.esdihumboldt.hale.ui.HaleWizardPage |
---|
createControl, dispose, getWizard |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, 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.wizard.IWizardPage |
---|
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, isPageComplete, setPreviousPage, setWizard |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
Constructor Detail |
---|
public EntitiesPage(SchemaSelection initialSelection, Cell initialCell)
initialSelection
- the initial schema selection, may be
null
initialCell
- the initial cell, may be null
Method Detail |
---|
protected void createContent(org.eclipse.swt.widgets.Composite page)
HaleWizardPage
createContent
in class HaleWizardPage<AbstractGenericFunctionWizard<D extends AbstractParameter,T extends AbstractFunction<D>>>
page
- the page composite, implementors may assign a custom layout
to this compositeHaleWizardPage.createContent(Composite)
protected void onShowPage(boolean firstShow)
HaleWizardPage
onShowPage
in class HaleWizardPage<AbstractGenericFunctionWizard<D extends AbstractParameter,T extends AbstractFunction<D>>>
firstShow
- specifies if it is the first time the page is shown
since its creationHaleWizardPage.onShowPage(boolean)
protected Cell getInitialCell()
protected SchemaSelection getInitialSelection()
protected Set<F> getFunctionFields()
protected org.eclipse.swt.widgets.Control createHeader(org.eclipse.swt.widgets.Composite parent)
parent
- the parent composite
null
protected Set<EntityDefinition> getCandidates(SchemaSpaceID ssid)
ssid
- the schema space ID
protected org.eclipse.swt.widgets.Control createEntityGroup(SchemaSpaceID ssid, org.eclipse.swt.widgets.Composite parent)
ssid
- the schema space idparent
- the parent composite
protected abstract F createField(D field, SchemaSpaceID ssid, org.eclipse.swt.widgets.Composite parent, Set<EntityDefinition> candidates, Cell initialCell)
ssid
- the schema space identifierfield
- the field definition, may be a PropertyParameter
or
a TypeParameter
parent
- the parent compositecandidates
- the entity candidatesinitialCell
- the initial cell
null
public void configureCell(MutableCell cell)
FunctionWizardPage
configureCell
in interface FunctionWizardPage
cell
- the cellFunctionWizardPage.configureCell(MutableCell)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |