Class AbstractFeatureAwareBuilder<B>
- java.lang.Object
-
- org.eclipse.emfforms.spi.swt.table.AbstractFeatureAwareBuilder<B>
-
- Type Parameters:
B
- the builder type
- Direct Known Subclasses:
ColumnConfigurationBuilder
,TableConfigurationBuilder
,TableViewerSWTBuilder
@Deprecated public abstract class AbstractFeatureAwareBuilder<B> extends java.lang.Object
Deprecated.as of 1.21,Feature
s are used only to communicate configuration data to the UI controls that interrogate the configurations. The builder API for users is a fluent API, not abstracted in terms of featuresAbstract helper class for feature support.- Since:
- 1.14
- Author:
- Mat Hansen
-
-
Constructor Summary
Constructors Constructor Description AbstractFeatureAwareBuilder()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description B
disableFeature(Feature featureToDisable)
Deprecated.Disable a feature.B
enableFeature(Feature featureToEnable)
Deprecated.Enable a feature.protected B
getBuilder()
Deprecated.Returns the builder instance.protected abstract java.util.Set<Feature>
getEnabledFeatures()
Deprecated.Return the list of enabled features.protected abstract java.util.Set<Feature>
getSupportedFeatures()
Deprecated.Returns the list of supported features.B
inheritFeatures(java.util.Collection<Feature> features)
Deprecated.Inherit the features as long as they are supported.boolean
isFeatureEnabled(Feature feature)
Deprecated.Check whether the given feature is enabled.boolean
isFeatureSupported(Feature feature)
Deprecated.Check whether the given feature is supported.
-
-
-
Method Detail
-
getSupportedFeatures
protected abstract java.util.Set<Feature> getSupportedFeatures()
Deprecated.Returns the list of supported features.- Returns:
- array of supported features
-
getEnabledFeatures
protected abstract java.util.Set<Feature> getEnabledFeatures()
Deprecated.Return the list of enabled features.- Returns:
- list of enabled features
-
enableFeature
public B enableFeature(Feature featureToEnable)
Deprecated.Enable a feature.- Parameters:
featureToEnable
- the feature to enable- Returns:
- self
-
disableFeature
public B disableFeature(Feature featureToDisable)
Deprecated.Disable a feature.- Parameters:
featureToDisable
- the feature to disable- Returns:
- self
-
isFeatureEnabled
public boolean isFeatureEnabled(Feature feature)
Deprecated.Check whether the given feature is enabled.- Parameters:
feature
- the feature to check- Returns:
- true if enabled
-
isFeatureSupported
public boolean isFeatureSupported(Feature feature)
Deprecated.Check whether the given feature is supported.- Parameters:
feature
- the feature to check- Returns:
- true if supported
-
inheritFeatures
public B inheritFeatures(java.util.Collection<Feature> features)
Deprecated.Inherit the features as long as they are supported.- Parameters:
features
- list of features to inherit.- Returns:
- self
-
getBuilder
protected B getBuilder()
Deprecated.Returns the builder instance.- Returns:
- self
-
-