use of org.applause.lang.applauseDsl.ListItemCellDeclaration in project applause by applause.
the class DefaultDetailsScreenModuleFileCompiler method compileCell.
public CharSequence compileCell(final ScreenListItemCell it) {
CharSequence _switchResult = null;
ListItemCellDeclaration _type = it.getType();
String _name = _type.getName();
final String _switchValue = _name;
boolean _matched = false;
if (!_matched) {
if (Objects.equal(_switchValue, "TextDetailsItemCell")) {
_matched = true;
CharSequence _compileTextCell = this.compileTextCell(it);
_switchResult = _compileTextCell;
}
}
if (!_matched) {
if (Objects.equal(_switchValue, "ToggleDetailsItemCell")) {
_matched = true;
CharSequence _compileBooleanCell = this.compileBooleanCell(it);
_switchResult = _compileBooleanCell;
}
}
if (!_matched) {
if (Objects.equal(_switchValue, "DateDetailsItemCell")) {
_matched = true;
CharSequence _compileDateCell = this.compileDateCell(it);
_switchResult = _compileDateCell;
}
}
return _switchResult;
}
use of org.applause.lang.applauseDsl.ListItemCellDeclaration in project applause by applause.
the class ApplauseDslScopeProvider method scope_UIComponentMemberCall_component.
public IScope scope_UIComponentMemberCall_component(final ScreenListItemCell ctx, final EReference ref) {
ListItemCellDeclaration _type = ctx.getType();
EList<UIComponentMemberDeclaration> _members = _type.getMembers();
IScope _scopeFor = Scopes.scopeFor(_members);
return _scopeFor;
}
use of org.applause.lang.applauseDsl.ListItemCellDeclaration in project applause by applause.
the class ScreenListItemCellImpl method setType.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setType(ListItemCellDeclaration newType) {
ListItemCellDeclaration oldType = type;
type = newType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.SCREEN_LIST_ITEM_CELL__TYPE, oldType, type));
}
Aggregations