Search in sources :

Example 1 with UIDynamicMenuItem

use of com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenuItem in project convertigo by convertigo.

the class MobileUIComponentTreeObject method getNamedSourceSelector.

@Override
public NamedSourceSelector getNamedSourceSelector() {
    return new NamedSourceSelector() {

        @Override
        Object thisTreeObject() {
            return MobileUIComponentTreeObject.this;
        }

        @Override
        protected List<String> getPropertyNamesForSource(Class<?> c) {
            List<String> list = new ArrayList<String>();
            UIComponent object = getObject();
            if (object instanceof UIDynamicTab) {
                if (ProjectTreeObject.class.isAssignableFrom(c) || MobileApplicationTreeObject.class.isAssignableFrom(c) || MobileApplicationComponentTreeObject.class.isAssignableFrom(c) || MobilePageComponentTreeObject.class.isAssignableFrom(c)) {
                    list.add("tabpage");
                }
            } else if (object instanceof UIDynamicMenuItem) {
                if (ProjectTreeObject.class.isAssignableFrom(c) || MobileApplicationTreeObject.class.isAssignableFrom(c) || MobileApplicationComponentTreeObject.class.isAssignableFrom(c) || MobilePageComponentTreeObject.class.isAssignableFrom(c)) {
                    list.add("itempage");
                }
            } else if (object instanceof UIDynamicAnimate) {
                if (ProjectTreeObject.class.isAssignableFrom(c) || MobileApplicationTreeObject.class.isAssignableFrom(c) || MobileApplicationComponentTreeObject.class.isAssignableFrom(c) || MobilePageComponentTreeObject.class.isAssignableFrom(c) || MobileUIComponentTreeObject.class.isAssignableFrom(c)) {
                    list.add("identifiable");
                }
            } else if (object instanceof UIDynamicInvoke) {
                if (ProjectTreeObject.class.isAssignableFrom(c) || MobileApplicationTreeObject.class.isAssignableFrom(c) || MobileApplicationComponentTreeObject.class.isAssignableFrom(c) || MobileUIComponentTreeObject.class.isAssignableFrom(c)) {
                    list.add("stack");
                }
            } else if (object instanceof UIUseShared) {
                if (ProjectTreeObject.class.isAssignableFrom(c) || MobileApplicationTreeObject.class.isAssignableFrom(c) || MobileApplicationComponentTreeObject.class.isAssignableFrom(c) || MobileUIComponentTreeObject.class.isAssignableFrom(c)) {
                    list.add("sharedcomponent");
                }
            } else if (object instanceof UIDynamicInfiniteScroll) {
                if (ProjectTreeObject.class.isAssignableFrom(c) || MobileApplicationTreeObject.class.isAssignableFrom(c) || MobileApplicationComponentTreeObject.class.isAssignableFrom(c) || MobilePageComponentTreeObject.class.isAssignableFrom(c) || MobileUIComponentTreeObject.class.isAssignableFrom(c)) {
                    list.add("scrollaction");
                }
            } else if (object instanceof UIDynamicElement) {
                if (ProjectTreeObject.class.isAssignableFrom(c) || SequenceTreeObject.class.isAssignableFrom(c) || ConnectorTreeObject.class.isAssignableFrom(c)) {
                    list.add("requestable");
                }
                if (ProjectTreeObject.class.isAssignableFrom(c) || MobileApplicationTreeObject.class.isAssignableFrom(c) || MobileApplicationComponentTreeObject.class.isAssignableFrom(c) || MobilePageComponentTreeObject.class.isAssignableFrom(c)) {
                    list.add("page");
                }
                if (ProjectTreeObject.class.isAssignableFrom(c) || ConnectorTreeObject.class.isAssignableFrom(c) || DesignDocumentTreeObject.class.isAssignableFrom(c) || DesignDocumentViewTreeObject.class.isAssignableFrom(c)) {
                    list.add("fsview");
                }
            }
            return list;
        }

        @Override
        protected boolean isNamedSource(String propertyName) {
            UIComponent object = getObject();
            if (object instanceof UIDynamicTab) {
                return "tabpage".equals(propertyName);
            } else if (object instanceof UIDynamicMenuItem) {
                return "itempage".equals(propertyName);
            } else if (object instanceof UIDynamicAnimate) {
                return "identifiable".equals(propertyName);
            } else if (object instanceof UIDynamicInvoke) {
                return "stack".equals(propertyName);
            } else if (object instanceof UIUseShared) {
                return "sharedcomponent".equals(propertyName);
            } else if (object instanceof UIDynamicInfiniteScroll) {
                return "scrollaction".equals(propertyName);
            } else if (object instanceof UIDynamicElement) {
                return "requestable".equals(propertyName) || "fsview".equals(propertyName) || "page".equals(propertyName);
            }
            return false;
        }

        @Override
        public boolean isSelectable(String propertyName, Object nsObject) {
            UIComponent object = getObject();
            if (object instanceof UIDynamicTab) {
                if ("tabpage".equals(propertyName)) {
                    if (nsObject instanceof PageComponent) {
                        return (((PageComponent) nsObject).getProject().equals(object.getProject()));
                    }
                }
            } else if (object instanceof UIDynamicMenuItem) {
                if ("itempage".equals(propertyName)) {
                    if (nsObject instanceof PageComponent) {
                        return (((PageComponent) nsObject).getProject().equals(object.getProject()));
                    }
                }
            } else if (object instanceof UIDynamicAnimate) {
                if ("identifiable".equals(propertyName)) {
                    UIDynamicAnimate uda = (UIDynamicAnimate) object;
                    if (nsObject instanceof UIElement) {
                        UIElement ue = (UIElement) nsObject;
                        if (hasSameScriptComponent(uda, ue)) {
                            return !ue.getIdentifier().isEmpty();
                        }
                    }
                }
            } else if (object instanceof UIDynamicInvoke) {
                if ("stack".equals(propertyName)) {
                    return nsObject instanceof UIActionStack;
                }
            } else if (object instanceof UIUseShared) {
                if ("sharedcomponent".equals(propertyName)) {
                    return nsObject instanceof UISharedComponent;
                }
            } else if (object instanceof UIDynamicInfiniteScroll) {
                if ("scrollaction".equals(propertyName)) {
                    if (nsObject instanceof UIDynamicAction) {
                        UIDynamicAction uida = (UIDynamicAction) nsObject;
                        if (uida.getProject().equals(object.getProject())) {
                            if (uida.getIonBean().getName().equals("CallSequenceAction")) {
                                return true;
                            }
                            if (uida.getIonBean().getName().equals("FullSyncViewAction")) {
                                return true;
                            }
                        }
                    }
                }
            } else if (object instanceof UIDynamicElement) {
                if ("requestable".equals(propertyName)) {
                    UIDynamicElement cc = (UIDynamicElement) object;
                    if (cc.getIonBean().getName().equals("CallSequenceAction")) {
                        return nsObject instanceof Sequence;
                    }
                    if (cc.getIonBean().getName().equals("CallFullSyncAction")) {
                        return nsObject instanceof FullSyncConnector;
                    }
                    if (cc.getIonBean().getName().equals("FullSyncSyncAction")) {
                        return nsObject instanceof FullSyncConnector;
                    }
                    if (cc.getIonBean().getName().equals("FullSyncViewAction")) {
                        return nsObject instanceof DesignDocument;
                    }
                    if (cc.getIonBean().getName().equals("FullSyncPostAction")) {
                        return nsObject instanceof FullSyncConnector;
                    }
                    if (cc.getIonBean().getName().equals("FullSyncGetAction")) {
                        return nsObject instanceof FullSyncConnector;
                    }
                    if (cc.getIonBean().getName().equals("FullSyncDeleteAction")) {
                        return nsObject instanceof FullSyncConnector;
                    }
                    if (cc.getIonBean().getName().equals("FullSyncPutAttachmentAction")) {
                        return nsObject instanceof FullSyncConnector;
                    }
                    if (cc.getIonBean().getName().equals("FullSyncDeleteAttachmentAction")) {
                        return nsObject instanceof FullSyncConnector;
                    }
                    if (cc.getIonBean().getName().equals("FSImage")) {
                        return nsObject instanceof FullSyncConnector;
                    }
                    if (cc.getIonBean().getName().equals("AutoScrollComponent")) {
                        return nsObject instanceof Sequence;
                    }
                }
                if ("fsview".equals(propertyName)) {
                    UIDynamicElement cc = (UIDynamicElement) object;
                    if (cc.getIonBean().getName().equals("FullSyncViewAction")) {
                        return nsObject instanceof String;
                    }
                    if (cc.getIonBean().getName().equals("AutoScrollComponent")) {
                        return nsObject instanceof DesignDocument || nsObject instanceof String;
                    }
                }
                if ("page".equals(propertyName)) {
                    if (nsObject instanceof PageComponent) {
                        return (((PageComponent) nsObject).getProject().equals(object.getProject()));
                    }
                }
            }
            return false;
        }

        @Override
        protected void handleSourceCleared(String propertyName) {
        // nothing to do
        }

        @Override
        protected void handleSourceRenamed(String propertyName, String oldName, String newName) {
            if (isNamedSource(propertyName)) {
                boolean hasBeenRenamed = false;
                Object oValue = getPropertyValue(propertyName);
                String pValue;
                if (oValue instanceof MobileSmartSourceType) {
                    MobileSmartSourceType sst = (MobileSmartSourceType) oValue;
                    pValue = sst.getSmartValue();
                } else {
                    pValue = (String) oValue;
                }
                String _pValue = pValue;
                if (pValue != null && (pValue.startsWith(oldName + ".") || pValue.equals(oldName))) {
                    _pValue = newName + pValue.substring(oldName.length());
                    if (!pValue.equals(_pValue)) {
                        UIComponent object = getObject();
                        if (object instanceof UIDynamicTab) {
                            if ("tabpage".equals(propertyName)) {
                                ((UIDynamicTab) object).setTabPage(_pValue);
                                hasBeenRenamed = true;
                            }
                        } else if (object instanceof UIDynamicMenuItem) {
                            if ("itempage".equals(propertyName)) {
                                ((UIDynamicMenuItem) object).setItemPage(_pValue);
                                hasBeenRenamed = true;
                            }
                        } else if (object instanceof UIDynamicAnimate) {
                            if ("identifiable".equals(propertyName)) {
                                ((UIDynamicAnimate) object).setIdentifiable(_pValue);
                                hasBeenRenamed = true;
                            }
                        } else if (object instanceof UIDynamicInvoke) {
                            if ("stack".equals(propertyName)) {
                                ((UIDynamicInvoke) object).setSharedActionQName(_pValue);
                                hasBeenRenamed = true;
                            }
                        } else if (object instanceof UIUseShared) {
                            if ("sharedcomponent".equals(propertyName)) {
                                ((UIUseShared) object).setSharedComponentQName(_pValue);
                                hasBeenRenamed = true;
                            }
                        } else if (object instanceof UIDynamicInfiniteScroll) {
                            if ("scrollaction".equals(propertyName)) {
                                ((UIDynamicInfiniteScroll) object).setScrollAction(_pValue);
                                hasBeenRenamed = true;
                            }
                        } else if (object instanceof UIDynamicElement) {
                            if ("requestable".equals(propertyName)) {
                                ((UIDynamicElement) object).getIonBean().setPropertyValue("requestable", new MobileSmartSourceType(_pValue));
                                hasBeenRenamed = true;
                            }
                            if ("fsview".equals(propertyName)) {
                                ((UIDynamicElement) object).getIonBean().setPropertyValue("fsview", new MobileSmartSourceType(_pValue));
                                hasBeenRenamed = true;
                            }
                            if ("page".equals(propertyName)) {
                                ((UIDynamicElement) object).getIonBean().setPropertyValue("page", new MobileSmartSourceType(_pValue));
                                hasBeenRenamed = true;
                            }
                        } else if (object instanceof UIText) {
                            if ("textValue".equals(propertyName)) {
                                ((UIText) object).setTextSmartType(new MobileSmartSourceType(_pValue));
                                hasBeenRenamed = true;
                            }
                        }
                    }
                }
                if (hasBeenRenamed) {
                    hasBeenModified(true);
                    viewer.refresh();
                    ConvertigoPlugin.projectManager.getProjectExplorerView().updateTreeObject(MobileUIComponentTreeObject.this);
                    // refresh editors (e.g labels in combobox)
                    getDescriptors();
                    TreeObjectEvent treeObjectEvent = new TreeObjectEvent(MobileUIComponentTreeObject.this, propertyName, pValue, _pValue);
                    ConvertigoPlugin.projectManager.getProjectExplorerView().fireTreeObjectPropertyChanged(treeObjectEvent);
                }
            }
        }

        @Override
        protected void refactorSmartSources(Class<?> c, String oldName, String newName) {
            try {
                // A project has been renamed
                if (ProjectTreeObject.class.isAssignableFrom(c)) {
                    UIComponent object = getObject();
                    for (java.beans.PropertyDescriptor pd : CachedIntrospector.getBeanInfo(object).getPropertyDescriptors()) {
                        if (pd.getPropertyType().equals(MobileSmartSourceType.class)) {
                            String propertyName = pd.getName();
                            Object oValue = getPropertyValue(propertyName);
                            MobileSmartSourceType msst = (MobileSmartSourceType) oValue;
                            MobileSmartSource mss = msst.getSmartSource();
                            boolean hasBeenChanged = false;
                            if (mss != null) {
                                if (oldName.equals(mss.getProjectName())) {
                                    mss.setProjectName(newName);
                                    msst.setSmartValue(mss.toJsonString());
                                    hasBeenChanged = true;
                                }
                            }
                            if (hasBeenChanged) {
                                Object nValue = getPropertyValue(propertyName);
                                hasBeenModified(true);
                                viewer.refresh();
                                ConvertigoPlugin.projectManager.getProjectExplorerView().updateTreeObject(MobileUIComponentTreeObject.this);
                                // refresh editors (e.g labels in combobox)
                                getDescriptors();
                                TreeObjectEvent treeObjectEvent = new TreeObjectEvent(MobileUIComponentTreeObject.this, propertyName, oValue, nValue);
                                ConvertigoPlugin.projectManager.getProjectExplorerView().fireTreeObjectPropertyChanged(treeObjectEvent);
                            }
                        }
                    }
                }
            } catch (Exception e) {
            // TODO: handle exception
            }
        }
    };
}
Also used : UIElement(com.twinsoft.convertigo.beans.mobile.components.UIElement) MobileSmartSourceType(com.twinsoft.convertigo.beans.mobile.components.MobileSmartSourceType) UIUseShared(com.twinsoft.convertigo.beans.mobile.components.UIUseShared) ArrayList(java.util.ArrayList) UIDynamicTab(com.twinsoft.convertigo.beans.mobile.components.UIDynamicTab) FullSyncConnector(com.twinsoft.convertigo.beans.connectors.FullSyncConnector) UIDynamicInfiniteScroll(com.twinsoft.convertigo.beans.mobile.components.UIDynamicInfiniteScroll) UISharedComponent(com.twinsoft.convertigo.beans.mobile.components.UISharedComponent) PageComponent(com.twinsoft.convertigo.beans.mobile.components.PageComponent) UIText(com.twinsoft.convertigo.beans.mobile.components.UIText) TreeObjectEvent(com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent) UIComponent(com.twinsoft.convertigo.beans.mobile.components.UIComponent) UIDynamicElement(com.twinsoft.convertigo.beans.mobile.components.UIDynamicElement) Sequence(com.twinsoft.convertigo.beans.core.Sequence) CoreException(org.eclipse.core.runtime.CoreException) EngineException(com.twinsoft.convertigo.engine.EngineException) UnsupportedEncodingException(java.io.UnsupportedEncodingException) UIActionStack(com.twinsoft.convertigo.beans.mobile.components.UIActionStack) UIDynamicAnimate(com.twinsoft.convertigo.beans.mobile.components.UIDynamicAnimate) UIDynamicAction(com.twinsoft.convertigo.beans.mobile.components.UIDynamicAction) MobileSmartSource(com.twinsoft.convertigo.beans.mobile.components.MobileSmartSource) UIDynamicInvoke(com.twinsoft.convertigo.beans.mobile.components.UIDynamicInvoke) DesignDocument(com.twinsoft.convertigo.beans.couchdb.DesignDocument) UIDynamicMenuItem(com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenuItem) DatabaseObject(com.twinsoft.convertigo.beans.core.DatabaseObject)

Example 2 with UIDynamicMenuItem

use of com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenuItem in project convertigo by convertigo.

the class ComponentManager method makeComponents.

private synchronized List<Component> makeComponents() {
    if (components != null) {
        return components;
    }
    components = new ArrayList<Component>(10);
    try {
        String group;
        // Add Customs
        group = GROUP_CUSTOMS;
        components.add(getDboComponent(UIElement.class, group));
        components.add(getDboComponent(UIAttribute.class, group));
        components.add(getDboComponent(UIAnimation.class, group));
        components.add(getDboComponent(UICustom.class, group));
        components.add(getDboComponent(UIText.class, group));
        components.add(getDboComponent(UIStyle.class, group));
        components.add(getDboComponent(UITheme.class, group));
        // Add shared components
        group = GROUP_SHARED_COMPONENTS;
        components.add(getDboComponent(UISharedComponent.class, group));
        components.add(getDboComponent(UIUseShared.class, group));
        components.add(getDboComponent(UICompVariable.class, group));
        // Add shared actions
        group = GROUP_SHARED_ACTIONS;
        components.add(getDboComponent(UIActionStack.class, group));
        components.add(getDboComponent(UIStackVariable.class, group));
        // Add Controls
        group = GROUP_CONTROLS;
        components.add(getDboComponent(UIControlEvent.class, group));
        components.add(getDboComponent(UIAppEvent.class, group));
        components.add(getDboComponent(UIPageEvent.class, group));
        components.add(getDboComponent(UIEventSubscriber.class, group));
        components.add(getDboComponent(UIActionErrorEvent.class, group));
        components.add(getDboComponent(UIActionFailureEvent.class, group));
        components.add(getDboComponent(UIActionFinallyEvent.class, group));
        components.add(getDboComponent(UIActionLoopEvent.class, group));
        components.add(getDboComponent(UIActionElseEvent.class, group));
        components.add(getDboComponent(UIControlDirective.class, group));
        // Add Actions
        group = GROUP_ACTIONS;
        components.add(getDboComponent(UIControlVariable.class, group));
        components.add(getDboComponent(UICustomAction.class, group));
        components.add(getDboComponent(UIForm.class, "Forms"));
        components.add(getDboComponent(UIFormControlValidator.class, "Forms"));
        components.add(getDboComponent(UIFormCustomValidator.class, "Forms"));
    } catch (ClassNotFoundException e) {
        e.printStackTrace();
    } catch (InstantiationException e) {
        e.printStackTrace();
    } catch (IllegalAccessException e) {
        e.printStackTrace();
    } catch (NoSuchMethodException e) {
        e.printStackTrace();
    } catch (InvocationTargetException e) {
        e.printStackTrace();
    }
    for (final IonBean bean : instance.bCache.values()) {
        components.add(new Component() {

            @Override
            public boolean isAllowedIn(DatabaseObject parent) {
                if (bean.getTag().equals("ion-menu")) {
                    return parent instanceof ApplicationComponent;
                }
                if (bean.getClassName().startsWith("com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenuItem")) {
                    if (parent instanceof UIComponent) {
                        if (parent instanceof UIDynamicMenuItem)
                            return false;
                        UIDynamicMenu menu = ((UIComponent) parent).getMenu();
                        return menu != null;
                    }
                }
                Class<?> dboClass;
                try {
                    dboClass = Class.forName(bean.getClassName());
                    if (acceptDatabaseObjects(parent, dboClass)) {
                        return isTplCompatible(parent, createBean());
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
                return false;
            }

            @Override
            public String getLabel() {
                return bean.getLabel();
            }

            @Override
            public String getImagePath() {
                return bean.getIconColor32Path();
            }

            @Override
            public String getGroup() {
                return bean.getGroup();
            }

            @Override
            public String getDescription() {
                return bean.getDescription();
            }

            @Override
            public String getName() {
                return bean.getName();
            }

            @Override
            public String getTag() {
                return bean.getTag();
            }

            @Override
            public String getPropertiesDescription() {
                String propertiesDescription = "";
                List<IonProperty> properties = new ArrayList<IonProperty>();
                properties.addAll(bean.getProperties().values());
                Collections.sort(properties, new Comparator<IonProperty>() {

                    @Override
                    public int compare(IonProperty p1, IonProperty p2) {
                        return p1.getLabel().compareTo(p2.getLabel());
                    }
                });
                for (IonProperty ionProperty : properties) {
                    if (!ionProperty.isHidden()) {
                        propertiesDescription += "<li><i>" + ionProperty.getLabel() + "</i>";
                        propertiesDescription += "</br>" + ionProperty.getDescription() + "</li>";
                    }
                }
                Class<?> dboClass;
                try {
                    dboClass = Class.forName(bean.getClassName());
                    BeanInfo beanInfo = Introspector.getBeanInfo(dboClass);
                    PropertyDescriptor[] propertyDescriptors = beanInfo.getPropertyDescriptors();
                    propertyDescriptors = propertyDescriptors.clone();
                    Arrays.sort(propertyDescriptors, (o1, o2) -> {
                        if (o1.isExpert() == o2.isExpert()) {
                            return o1.getDisplayName().compareTo(o2.getDisplayName());
                        } else if (o1.isExpert()) {
                            return 1;
                        } else {
                            return -1;
                        }
                    });
                    for (PropertyDescriptor dbopd : propertyDescriptors) {
                        if (!dbopd.isHidden() && !Boolean.TRUE.equals(dbopd.getValue("disable"))) {
                            propertiesDescription += "<li><i>" + dbopd.getDisplayName() + "</i>";
                            propertiesDescription += "</br>" + dbopd.getShortDescription().replace("|", "") + "</li>";
                        }
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
                return propertiesDescription.isEmpty() ? "" : "<ul>" + propertiesDescription + "</ul>";
            }

            @Override
            protected DatabaseObject createBean() {
                DatabaseObject dbo = bean.createBean();
                return dbo;
            }
        });
    }
    Collections.sort(components, new Comparator<Component>() {

        @Override
        public int compare(Component c1, Component c2) {
            return c1.getLabel().compareTo(c2.getLabel());
        }
    });
    return components = Collections.unmodifiableList(components);
}
Also used : Arrays(java.util.Arrays) UIAppEvent(com.twinsoft.convertigo.beans.mobile.components.UIAppEvent) UIActionFailureEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionFailureEvent) UIUseShared(com.twinsoft.convertigo.beans.mobile.components.UIUseShared) Map(java.util.Map) BeanDescriptor(java.beans.BeanDescriptor) UIActionErrorEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionErrorEvent) UIFormCustomValidator(com.twinsoft.convertigo.beans.mobile.components.UIFormCustomValidator) UIActionLoopEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionLoopEvent) GenericUtils(com.twinsoft.convertigo.engine.util.GenericUtils) UIEventSubscriber(com.twinsoft.convertigo.beans.mobile.components.UIEventSubscriber) UIDynamicIf(com.twinsoft.convertigo.beans.mobile.components.UIDynamicIf) UIComponent(com.twinsoft.convertigo.beans.mobile.components.UIComponent) UIStackVariable(com.twinsoft.convertigo.beans.mobile.components.UIStackVariable) UIControlEvent(com.twinsoft.convertigo.beans.mobile.components.UIControlEvent) IntrospectionException(java.beans.IntrospectionException) InvocationTargetException(java.lang.reflect.InvocationTargetException) IOUtils(org.apache.commons.io.IOUtils) List(java.util.List) IAction(com.twinsoft.convertigo.beans.mobile.components.IAction) UIPageEvent(com.twinsoft.convertigo.beans.mobile.components.UIPageEvent) PropertyDescriptor(java.beans.PropertyDescriptor) UIActionStack(com.twinsoft.convertigo.beans.mobile.components.UIActionStack) UICompVariable(com.twinsoft.convertigo.beans.mobile.components.UICompVariable) MobileComponent(com.twinsoft.convertigo.beans.mobile.components.MobileComponent) URLUtils(com.twinsoft.convertigo.engine.util.URLUtils) SortedMap(java.util.SortedMap) UIAttribute(com.twinsoft.convertigo.beans.mobile.components.UIAttribute) UIText(com.twinsoft.convertigo.beans.mobile.components.UIText) UIActionElseEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionElseEvent) UICustom(com.twinsoft.convertigo.beans.mobile.components.UICustom) WeakValueHashMap(com.twinsoft.convertigo.engine.util.WeakValueHashMap) UIAnimation(com.twinsoft.convertigo.beans.mobile.components.UIAnimation) ArrayList(java.util.ArrayList) UIControlVariable(com.twinsoft.convertigo.beans.mobile.components.UIControlVariable) UIFormValidator(com.twinsoft.convertigo.beans.mobile.components.UIFormValidator) Introspector(java.beans.Introspector) UIFormControlValidator(com.twinsoft.convertigo.beans.mobile.components.UIFormControlValidator) UIDynamicIterate(com.twinsoft.convertigo.beans.mobile.components.UIDynamicIterate) UIDynamicMenu(com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenu) UICustomAction(com.twinsoft.convertigo.beans.mobile.components.UICustomAction) BeanInfo(java.beans.BeanInfo) MySimpleBeanInfo(com.twinsoft.convertigo.beans.core.MySimpleBeanInfo) DatabaseObject(com.twinsoft.convertigo.beans.core.DatabaseObject) UIForm(com.twinsoft.convertigo.beans.mobile.components.UIForm) UIStyle(com.twinsoft.convertigo.beans.mobile.components.UIStyle) Iterator(java.util.Iterator) MobileSmartSourceType(com.twinsoft.convertigo.beans.mobile.components.MobileSmartSourceType) Engine(com.twinsoft.convertigo.engine.Engine) JSONObject(org.codehaus.jettison.json.JSONObject) UIElement(com.twinsoft.convertigo.beans.mobile.components.UIElement) File(java.io.File) UISharedComponent(com.twinsoft.convertigo.beans.mobile.components.UISharedComponent) UITheme(com.twinsoft.convertigo.beans.mobile.components.UITheme) UIActionFinallyEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionFinallyEvent) TreeMap(java.util.TreeMap) PageComponent(com.twinsoft.convertigo.beans.mobile.components.PageComponent) JSONException(org.codehaus.jettison.json.JSONException) UIActionEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionEvent) FileUtils(com.twinsoft.convertigo.engine.util.FileUtils) ApplicationComponent(com.twinsoft.convertigo.beans.mobile.components.ApplicationComponent) Comparator(java.util.Comparator) Collections(java.util.Collections) UIControlDirective(com.twinsoft.convertigo.beans.mobile.components.UIControlDirective) InputStream(java.io.InputStream) UIDynamicMenuItem(com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenuItem) UIPageEvent(com.twinsoft.convertigo.beans.mobile.components.UIPageEvent) UIUseShared(com.twinsoft.convertigo.beans.mobile.components.UIUseShared) BeanInfo(java.beans.BeanInfo) MySimpleBeanInfo(com.twinsoft.convertigo.beans.core.MySimpleBeanInfo) UIControlDirective(com.twinsoft.convertigo.beans.mobile.components.UIControlDirective) UIControlVariable(com.twinsoft.convertigo.beans.mobile.components.UIControlVariable) UISharedComponent(com.twinsoft.convertigo.beans.mobile.components.UISharedComponent) Comparator(java.util.Comparator) DatabaseObject(com.twinsoft.convertigo.beans.core.DatabaseObject) List(java.util.List) ArrayList(java.util.ArrayList) UIActionFailureEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionFailureEvent) UIComponent(com.twinsoft.convertigo.beans.mobile.components.UIComponent) UIAnimation(com.twinsoft.convertigo.beans.mobile.components.UIAnimation) UIFormCustomValidator(com.twinsoft.convertigo.beans.mobile.components.UIFormCustomValidator) InvocationTargetException(java.lang.reflect.InvocationTargetException) UIDynamicMenu(com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenu) UIStyle(com.twinsoft.convertigo.beans.mobile.components.UIStyle) UIDynamicMenuItem(com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenuItem) UIActionElseEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionElseEvent) UIElement(com.twinsoft.convertigo.beans.mobile.components.UIElement) UICustom(com.twinsoft.convertigo.beans.mobile.components.UICustom) UIAppEvent(com.twinsoft.convertigo.beans.mobile.components.UIAppEvent) UITheme(com.twinsoft.convertigo.beans.mobile.components.UITheme) UIActionErrorEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionErrorEvent) UIForm(com.twinsoft.convertigo.beans.mobile.components.UIForm) UIEventSubscriber(com.twinsoft.convertigo.beans.mobile.components.UIEventSubscriber) UIControlEvent(com.twinsoft.convertigo.beans.mobile.components.UIControlEvent) UIText(com.twinsoft.convertigo.beans.mobile.components.UIText) UIActionLoopEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionLoopEvent) UIComponent(com.twinsoft.convertigo.beans.mobile.components.UIComponent) MobileComponent(com.twinsoft.convertigo.beans.mobile.components.MobileComponent) UISharedComponent(com.twinsoft.convertigo.beans.mobile.components.UISharedComponent) PageComponent(com.twinsoft.convertigo.beans.mobile.components.PageComponent) ApplicationComponent(com.twinsoft.convertigo.beans.mobile.components.ApplicationComponent) UICompVariable(com.twinsoft.convertigo.beans.mobile.components.UICompVariable) PropertyDescriptor(java.beans.PropertyDescriptor) ApplicationComponent(com.twinsoft.convertigo.beans.mobile.components.ApplicationComponent) UIStackVariable(com.twinsoft.convertigo.beans.mobile.components.UIStackVariable) IntrospectionException(java.beans.IntrospectionException) InvocationTargetException(java.lang.reflect.InvocationTargetException) JSONException(org.codehaus.jettison.json.JSONException) UIActionStack(com.twinsoft.convertigo.beans.mobile.components.UIActionStack) UIAttribute(com.twinsoft.convertigo.beans.mobile.components.UIAttribute) UIFormControlValidator(com.twinsoft.convertigo.beans.mobile.components.UIFormControlValidator) UIActionFinallyEvent(com.twinsoft.convertigo.beans.mobile.components.UIActionFinallyEvent) UICustomAction(com.twinsoft.convertigo.beans.mobile.components.UICustomAction)

Aggregations

DatabaseObject (com.twinsoft.convertigo.beans.core.DatabaseObject)2 MobileSmartSourceType (com.twinsoft.convertigo.beans.mobile.components.MobileSmartSourceType)2 PageComponent (com.twinsoft.convertigo.beans.mobile.components.PageComponent)2 UIActionStack (com.twinsoft.convertigo.beans.mobile.components.UIActionStack)2 UIComponent (com.twinsoft.convertigo.beans.mobile.components.UIComponent)2 UIDynamicMenuItem (com.twinsoft.convertigo.beans.mobile.components.UIDynamicMenuItem)2 UIElement (com.twinsoft.convertigo.beans.mobile.components.UIElement)2 UISharedComponent (com.twinsoft.convertigo.beans.mobile.components.UISharedComponent)2 UIText (com.twinsoft.convertigo.beans.mobile.components.UIText)2 UIUseShared (com.twinsoft.convertigo.beans.mobile.components.UIUseShared)2 ArrayList (java.util.ArrayList)2 FullSyncConnector (com.twinsoft.convertigo.beans.connectors.FullSyncConnector)1 MySimpleBeanInfo (com.twinsoft.convertigo.beans.core.MySimpleBeanInfo)1 Sequence (com.twinsoft.convertigo.beans.core.Sequence)1 DesignDocument (com.twinsoft.convertigo.beans.couchdb.DesignDocument)1 ApplicationComponent (com.twinsoft.convertigo.beans.mobile.components.ApplicationComponent)1 IAction (com.twinsoft.convertigo.beans.mobile.components.IAction)1 MobileComponent (com.twinsoft.convertigo.beans.mobile.components.MobileComponent)1 MobileSmartSource (com.twinsoft.convertigo.beans.mobile.components.MobileSmartSource)1 UIActionElseEvent (com.twinsoft.convertigo.beans.mobile.components.UIActionElseEvent)1