public abstract class AbstractLayoutProvider extends Object implements LayoutProvider
LayoutProvider
which contributes helper methods.Constructor and Description |
---|
AbstractLayoutProvider() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Layout |
getColumnLayout(int numColumns,
boolean equalWidth,
org.eclipse.swt.graphics.Point margins)
Delegates to
LayoutProvider.getColumnLayout(int, boolean) . |
protected static boolean |
isMultiLine(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject domainModel)
Checks whether a setting is set to multiline.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnLayout, getLayoutData, getSpanningLayoutData
protected static boolean isMultiLine(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainModel)
domainModelReference
- the VDomainModelReference
pointing to the feature to checkdomainModel
- the root EObject
of the domain model referencepublic org.eclipse.swt.widgets.Layout getColumnLayout(int numColumns, boolean equalWidth, org.eclipse.swt.graphics.Point margins)
LayoutProvider.getColumnLayout(int, boolean)
.getColumnLayout
in interface LayoutProvider
numColumns
- the number of columns to createequalWidth
- whether the columns should be equal widthmargins
- the margins of the layoutCopyright © 2019. All rights reserved.