public class PropertyEntitiesPage extends EntitiesPage<PropertyFunction,PropertyParameter,PropertyField>
Constructor and Description |
---|
PropertyEntitiesPage(SchemaSelection initialSelection,
Cell initialCell) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptCandidate(EntityDefinition candidate)
Determines if a candidate from a selection should be accepted.
|
protected PropertyField |
createField(PropertyParameter 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.
|
configureCell, createContent, createEntityGroup, getCandidates, getFunctionFields, getInitialCell, getInitialSelection, onShowPage
createControl, dispose, getHelpContext, getWizard, performHelp
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public PropertyEntitiesPage(SchemaSelection initialSelection, Cell initialCell)
protected org.eclipse.swt.widgets.Control createHeader(org.eclipse.swt.widgets.Composite parent)
EntitiesPage
createHeader
in class EntitiesPage<PropertyFunction,PropertyParameter,PropertyField>
parent
- the parent compositenull
EntitiesPage.createHeader(Composite)
protected PropertyField createField(PropertyParameter field, SchemaSpaceID ssid, org.eclipse.swt.widgets.Composite parent, Set<EntityDefinition> candidates, Cell initialCell)
EntitiesPage
createField
in class EntitiesPage<PropertyFunction,PropertyParameter,PropertyField>
field
- the field definition, may be a PropertyParameter
or
a TypeParameter
ssid
- the schema space identifierparent
- the parent compositecandidates
- the entity candidatesinitialCell
- the initial cellnull
protected boolean acceptCandidate(EntityDefinition candidate)
EntitiesPage
true
and therefore accepts any
EntityDefinition
, override to change behavior.acceptCandidate
in class EntitiesPage<PropertyFunction,PropertyParameter,PropertyField>
candidate
- the candidateBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a