use of org.whole.lang.e4.ui.expressions.ActionsVisibleWhen in project whole by wholeplatform.
the class AbstractUIBuilder method addMigrateItem.
@Override
public void addMigrateItem() {
FeatureDescriptor menu = ActionsFeatureDescriptorEnum.migrateMenuActions;
VisibilityExpression expression = new ActionsVisibleWhen(menu);
IContributionItem ici = new ActionsCompositeContributionItem(this, menu);
addActionsItem(MIGRATE_LABEL, expression, ici);
}
use of org.whole.lang.e4.ui.expressions.ActionsVisibleWhen in project whole by wholeplatform.
the class AbstractUIBuilder method addRefactorItem.
@Override
public void addRefactorItem() {
FeatureDescriptor menu = ActionsFeatureDescriptorEnum.refactorMenuActions;
VisibilityExpression expression = new ActionsVisibleWhen(menu);
IContributionItem ici = new ActionsCompositeContributionItem(this, menu);
addActionsItem(REFACTOR_LABEL, expression, ici);
}
use of org.whole.lang.e4.ui.expressions.ActionsVisibleWhen in project whole by wholeplatform.
the class AbstractUIBuilder method addAnalyzeItem.
@Override
public void addAnalyzeItem() {
FeatureDescriptor menu = ActionsFeatureDescriptorEnum.analyzeMenuActions;
VisibilityExpression expression = new ActionsVisibleWhen(menu);
IContributionItem ici = new ActionsCompositeContributionItem(this, menu);
addActionsItem(ANALYZE_LABEL, expression, ici);
}
use of org.whole.lang.e4.ui.expressions.ActionsVisibleWhen in project whole by wholeplatform.
the class AbstractUIBuilder method addTranslateItem.
@Override
public void addTranslateItem() {
FeatureDescriptor menu = ActionsFeatureDescriptorEnum.translateMenuActions;
VisibilityExpression expression = new ActionsVisibleWhen(menu);
IContributionItem ici = new ActionsCompositeContributionItem(this, menu);
addActionsItem(TRANSLATE_LABEL, expression, ici);
}
use of org.whole.lang.e4.ui.expressions.ActionsVisibleWhen in project whole by wholeplatform.
the class AbstractUIBuilder method addSourceItem.
@Override
public void addSourceItem() {
FeatureDescriptor menu = ActionsFeatureDescriptorEnum.sourceMenuActions;
VisibilityExpression expression = new ActionsVisibleWhen(menu);
IContributionItem ici = new ActionsCompositeContributionItem(this, menu);
addActionsItem(SOURCE_LABEL, expression, ici);
}
Aggregations