Examples of UIActionSpecification


Examples of org.applause.lang.applauseDsl.UIActionSpecification

  public boolean supportsDeleteAction(final Screen it) {
    ScreenListItemCell _defaultCell = this._defaultListScreenClassExtensions.defaultCell(it);
    EList<UIAction> _actions = _defaultCell.getActions();
    final Function1<UIAction,UIActionSpecification> _function = new Function1<UIAction,UIActionSpecification>() {
      public UIActionSpecification apply(final UIAction it) {
        UIActionSpecification _action = it.getAction();
        return _action;
      }
    };
    List<UIActionSpecification> _map = ListExtensions.<UIAction, UIActionSpecification>map(_actions, _function);
    Iterable<UIActionDeleteAction> _filter = Iterables.<UIActionDeleteAction>filter(_map, UIActionDeleteAction.class);
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIActionSpecification

  public UIActionDeleteAction deleteAction(final Screen it) {
    ScreenListItemCell _defaultCell = this._defaultListScreenClassExtensions.defaultCell(it);
    EList<UIAction> _actions = _defaultCell.getActions();
    final Function1<UIAction,UIActionSpecification> _function = new Function1<UIAction,UIActionSpecification>() {
      public UIActionSpecification apply(final UIAction it) {
        UIActionSpecification _action = it.getAction();
        return _action;
      }
    };
    List<UIActionSpecification> _map = ListExtensions.<UIAction, UIActionSpecification>map(_actions, _function);
    Iterable<UIActionDeleteAction> _filter = Iterables.<UIActionDeleteAction>filter(_map, UIActionDeleteAction.class);
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIActionSpecification

  public Screen targetNavigationScreen(final Screen it) {
    ScreenListItemCell _defaultCell = this.defaultCell(it);
    EList<UIAction> _actions = _defaultCell.getActions();
    final Function1<UIAction,UIActionSpecification> _function = new Function1<UIAction,UIActionSpecification>() {
      public UIActionSpecification apply(final UIAction it) {
        UIActionSpecification _action = it.getAction();
        return _action;
      }
    };
    List<UIActionSpecification> _map = ListExtensions.<UIAction, UIActionSpecification>map(_actions, _function);
    Iterable<UIActionNavigateAction> _filter = Iterables.<UIActionNavigateAction>filter(_map, UIActionNavigateAction.class);
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIActionSpecification

    return _builder;
  }
 
  private CharSequence compileActionButton(final UIAction it) {
    CharSequence _xifexpression = null;
    UIActionSpecification _action = it.getAction();
    if ((_action instanceof UIActionNavigateAction)) {
      CharSequence _switchResult = null;
      UIActionSpecification _action_1 = it.getAction();
      ActionVerb _actionVerb = ((UIActionNavigateAction) _action_1).getActionVerb();
      final ActionVerb _switchValue = _actionVerb;
      boolean _matched = false;
      if (!_matched) {
        if (Objects.equal(_switchValue,ActionVerb.ADD)) {
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIActionSpecification

    return _builder;
  }
 
  private CharSequence compileActionMethod(final UIAction it) {
    CharSequence _xifexpression = null;
    UIActionSpecification _action = it.getAction();
    if ((_action instanceof UIActionNavigateAction)) {
      CharSequence _switchResult = null;
      UIActionSpecification _action_1 = it.getAction();
      ActionVerb _actionVerb = ((UIActionNavigateAction) _action_1).getActionVerb();
      final ActionVerb _switchValue = _actionVerb;
      boolean _matched = false;
      if (!_matched) {
        if (Objects.equal(_switchValue,ActionVerb.ADD)) {
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIActionSpecification

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetAction(UIActionSpecification newAction, NotificationChain msgs)
  {
    UIActionSpecification oldAction = action;
    action = newAction;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.UI_ACTION__ACTION, oldAction, newAction);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.