本文整理汇总了Java中org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence类的典型用法代码示例。如果您正苦于以下问题:Java BindingCompositionSequence类的具体用法?Java BindingCompositionSequence怎么用?Java BindingCompositionSequence使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BindingCompositionSequence类属于org.eclipse.emf.eef.runtime.ui.parts.sequence包,在下文中一共展示了BindingCompositionSequence类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence poissonStep = new BindingCompositionSequence(propertiesEditionComponent);
poissonStep
.addStep(MetamodelViewsRepository.Poisson.Properties.class)
.addStep(MetamodelViewsRepository.Poisson.Properties.interval);
composer = new PartComposer(poissonStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.Poisson.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Poisson.Properties.interval) {
return createIntervalText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例2: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence cauchyStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = cauchyStep.addStep(MetamodelViewsRepository.Cauchy.Properties.class);
propertiesStep.addStep(MetamodelViewsRepository.Cauchy.Properties.location);
propertiesStep.addStep(MetamodelViewsRepository.Cauchy.Properties.scale);
composer = new PartComposer(cauchyStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.Cauchy.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Cauchy.Properties.location) {
return createLocationText(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Cauchy.Properties.scale) {
return createScaleText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例3: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence studentsTStep = new BindingCompositionSequence(propertiesEditionComponent);
studentsTStep
.addStep(MetamodelViewsRepository.StudentsT.Properties.class)
.addStep(MetamodelViewsRepository.StudentsT.Properties.degreeOfFreedom);
composer = new PartComposer(studentsTStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.StudentsT.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.StudentsT.Properties.degreeOfFreedom) {
return createDegreeOfFreedomText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例4: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence logNormalStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = logNormalStep.addStep(MetamodelViewsRepository.LogNormal.Properties.class);
propertiesStep.addStep(MetamodelViewsRepository.LogNormal.Properties.location);
propertiesStep.addStep(MetamodelViewsRepository.LogNormal.Properties.scale);
composer = new PartComposer(logNormalStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.LogNormal.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.LogNormal.Properties.location) {
return createLocationText(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.LogNormal.Properties.scale) {
return createScaleText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例5: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence weibullStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = weibullStep.addStep(MetamodelViewsRepository.Weibull.Properties.class);
propertiesStep.addStep(MetamodelViewsRepository.Weibull.Properties.shape);
propertiesStep.addStep(MetamodelViewsRepository.Weibull.Properties.scale);
composer = new PartComposer(weibullStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.Weibull.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Weibull.Properties.shape) {
return createShapeText(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Weibull.Properties.scale) {
return createScaleText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例6: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence uniformStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = uniformStep.addStep(MetamodelViewsRepository.Uniform.Properties.class);
propertiesStep.addStep(MetamodelViewsRepository.Uniform.Properties.minimum);
propertiesStep.addStep(MetamodelViewsRepository.Uniform.Properties.maximum);
composer = new PartComposer(uniformStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.Uniform.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Uniform.Properties.minimum) {
return createMinimumText(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Uniform.Properties.maximum) {
return createMaximumText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例7: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence diracDeltaStep = new BindingCompositionSequence(propertiesEditionComponent);
diracDeltaStep
.addStep(MetamodelViewsRepository.DiracDelta.Properties.class)
.addStep(MetamodelViewsRepository.DiracDelta.Properties.mean);
composer = new PartComposer(diracDeltaStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.DiracDelta.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.DiracDelta.Properties.mean) {
return createMeanText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例8: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence chiSquareStep = new BindingCompositionSequence(propertiesEditionComponent);
chiSquareStep
.addStep(MetamodelViewsRepository.ChiSquare.Properties.class)
.addStep(MetamodelViewsRepository.ChiSquare.Properties.degreeOfFreedom);
composer = new PartComposer(chiSquareStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.ChiSquare.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.ChiSquare.Properties.degreeOfFreedom) {
return createDegreeOfFreedomText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例9: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
* createControls(org.eclipse.swt.widgets.Composite)
* @generated
*/
public void createControls(Composite view) {
CompositionSequence resultContainerStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = resultContainerStep.addStep(AnalysisViewsRepository.ResultContainer.Properties.class);
propertiesStep.addStep(AnalysisViewsRepository.ResultContainer.Properties.name);
propertiesStep.addStep(AnalysisViewsRepository.ResultContainer.Properties.analyzedSystem);
composer = new PartComposer(resultContainerStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == AnalysisViewsRepository.ResultContainer.Properties.class) {
return createPropertiesGroup(parent);
}
if (key == AnalysisViewsRepository.ResultContainer.Properties.name) {
return createNameText(parent);
}
if (key == AnalysisViewsRepository.ResultContainer.Properties.analyzedSystem) {
return createAnalyzedSystemFlatComboViewer(parent);
}
return parent;
}
};
composer.compose(view);
}
示例10: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence binomialStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = binomialStep.addStep(MetamodelViewsRepository.Binomial.Properties.class);
propertiesStep.addStep(MetamodelViewsRepository.Binomial.Properties.nbrOfTrial);
propertiesStep.addStep(MetamodelViewsRepository.Binomial.Properties.probaOfSuccess);
composer = new PartComposer(binomialStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.Binomial.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Binomial.Properties.nbrOfTrial) {
return createNbrOfTrialText(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Binomial.Properties.probaOfSuccess) {
return createProbaOfSuccessText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例11: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence exponentialStep = new BindingCompositionSequence(propertiesEditionComponent);
exponentialStep
.addStep(MetamodelViewsRepository.Exponential.Properties.class)
.addStep(MetamodelViewsRepository.Exponential.Properties.scale);
composer = new PartComposer(exponentialStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.Exponential.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Exponential.Properties.scale) {
return createScaleText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例12: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence fDistributionStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = fDistributionStep.addStep(MetamodelViewsRepository.FDistribution.Properties.class);
propertiesStep.addStep(MetamodelViewsRepository.FDistribution.Properties.freedomDegreeA);
propertiesStep.addStep(MetamodelViewsRepository.FDistribution.Properties.freedomDegreeB);
composer = new PartComposer(fDistributionStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.FDistribution.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.FDistribution.Properties.freedomDegreeA) {
return createFreedomDegreeAText(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.FDistribution.Properties.freedomDegreeB) {
return createFreedomDegreeBText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例13: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
* @generated
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence designModelStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = designModelStep.addStep(DesignViewsRepository.DesignModel.Properties.class);
propertiesStep.addStep(DesignViewsRepository.DesignModel.Properties.endToEndFlows);
propertiesStep.addStep(DesignViewsRepository.DesignModel.Properties.name);
composer = new PartComposer(designModelStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == DesignViewsRepository.DesignModel.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == DesignViewsRepository.DesignModel.Properties.endToEndFlows) {
return createEndToEndFlowsTableComposition(widgetFactory, parent);
}
if (key == DesignViewsRepository.DesignModel.Properties.name) {
return createNameText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例14: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence queryStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = queryStep.addStep(MetamodelViewsRepository.Query.Properties.class);
propertiesStep.addStep(MetamodelViewsRepository.Query.Properties.name);
propertiesStep.addStep(MetamodelViewsRepository.Query.Properties.value);
composer = new PartComposer(queryStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.Query.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Query.Properties.name) {
return createNameText(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Query.Properties.value) {
return createValueTextarea(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}
示例15: createControls
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
* createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(final FormToolkit widgetFactory, Composite view) {
CompositionSequence geometricStep = new BindingCompositionSequence(propertiesEditionComponent);
geometricStep
.addStep(MetamodelViewsRepository.Geometric.Properties.class)
.addStep(MetamodelViewsRepository.Geometric.Properties.probaOfSuccess);
composer = new PartComposer(geometricStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == MetamodelViewsRepository.Geometric.Properties.class) {
return createPropertiesGroup(widgetFactory, parent);
}
if (key == MetamodelViewsRepository.Geometric.Properties.probaOfSuccess) {
return createProbaOfSuccessText(widgetFactory, parent);
}
return parent;
}
};
composer.compose(view);
}