Search in sources :

Example 11 with TreeObjectEvent

use of com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent in project convertigo by convertigo.

the class EnableMobileRouteEventComponentAction method run.

public void run() {
    Display display = Display.getDefault();
    Cursor waitCursor = new Cursor(display, SWT.CURSOR_WAIT);
    Shell shell = getParentShell();
    shell.setCursor(waitCursor);
    try {
        ProjectExplorerView explorerView = getProjectExplorerView();
        if (explorerView != null) {
            DatabaseObjectTreeObject treeObject = null;
            RouteEventComponent component = null;
            TreeObject[] treeObjects = explorerView.getSelectedTreeObjects();
            for (int i = treeObjects.length - 1; i >= 0; i--) {
                treeObject = (DatabaseObjectTreeObject) treeObjects[i];
                if (treeObject instanceof MobileRouteEventComponentTreeObject) {
                    MobileRouteEventComponentTreeObject componentTreeObject = (MobileRouteEventComponentTreeObject) treeObject;
                    component = (RouteEventComponent) componentTreeObject.getObject();
                    component.setEnabled(true);
                    componentTreeObject.setEnabled(true);
                    componentTreeObject.hasBeenModified(true);
                    TreeObjectEvent treeObjectEvent = new TreeObjectEvent(componentTreeObject, "isEnabled", false, true);
                    explorerView.fireTreeObjectPropertyChanged(treeObjectEvent);
                }
            }
            explorerView.refreshSelectedTreeObjects();
        }
    } catch (Throwable e) {
        ConvertigoPlugin.logException(e, "Unable to enable event!");
    } finally {
        shell.setCursor(null);
        waitCursor.dispose();
    }
}
Also used : Shell(org.eclipse.swt.widgets.Shell) ProjectExplorerView(com.twinsoft.convertigo.eclipse.views.projectexplorer.ProjectExplorerView) DatabaseObjectTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.DatabaseObjectTreeObject) MobileRouteEventComponentTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.MobileRouteEventComponentTreeObject) TreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.TreeObject) DatabaseObjectTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.DatabaseObjectTreeObject) MobileRouteEventComponentTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.MobileRouteEventComponentTreeObject) TreeObjectEvent(com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent) Cursor(org.eclipse.swt.graphics.Cursor) RouteEventComponent(com.twinsoft.convertigo.beans.mobile.components.RouteEventComponent) Display(org.eclipse.swt.widgets.Display)

Example 12 with TreeObjectEvent

use of com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent in project convertigo by convertigo.

the class EnableNgxPageComponentAction method run.

public void run() {
    Display display = Display.getDefault();
    Cursor waitCursor = new Cursor(display, SWT.CURSOR_WAIT);
    Shell shell = getParentShell();
    shell.setCursor(waitCursor);
    try {
        ProjectExplorerView explorerView = getProjectExplorerView();
        if (explorerView != null) {
            DatabaseObjectTreeObject treeObject = null;
            PageComponent component = null;
            TreeObject[] treeObjects = explorerView.getSelectedTreeObjects();
            for (int i = treeObjects.length - 1; i >= 0; i--) {
                treeObject = (DatabaseObjectTreeObject) treeObjects[i];
                if (treeObject instanceof NgxPageComponentTreeObject) {
                    NgxPageComponentTreeObject componentTreeObject = GenericUtils.cast(treeObject);
                    component = (PageComponent) componentTreeObject.getObject();
                    component.setEnabled(true);
                    componentTreeObject.setEnabled(true);
                    componentTreeObject.hasBeenModified(true);
                    TreeObjectEvent treeObjectEvent = new TreeObjectEvent(componentTreeObject, "isEnabled", false, true);
                    explorerView.fireTreeObjectPropertyChanged(treeObjectEvent);
                }
            }
            explorerView.refreshSelectedTreeObjects();
        }
    } catch (Throwable e) {
        ConvertigoPlugin.logException(e, "Unable to enable page!");
    } finally {
        shell.setCursor(null);
        waitCursor.dispose();
    }
}
Also used : Shell(org.eclipse.swt.widgets.Shell) ProjectExplorerView(com.twinsoft.convertigo.eclipse.views.projectexplorer.ProjectExplorerView) DatabaseObjectTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.DatabaseObjectTreeObject) NgxPageComponentTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.NgxPageComponentTreeObject) NgxPageComponentTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.NgxPageComponentTreeObject) TreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.TreeObject) DatabaseObjectTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.DatabaseObjectTreeObject) TreeObjectEvent(com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent) Cursor(org.eclipse.swt.graphics.Cursor) PageComponent(com.twinsoft.convertigo.beans.ngx.components.PageComponent) Display(org.eclipse.swt.widgets.Display)

Example 13 with TreeObjectEvent

use of com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent in project convertigo by convertigo.

the class DatabaseObjectTreeObject method setPropertyValue.

public void setPropertyValue(Object id, Object value) {
    MobileBuilder mb = null;
    IEditorPart editorPart = ConvertigoPlugin.getDefault().getApplicationComponentEditor();
    if (editorPart != null) {
        IEditorInput input = editorPart.getEditorInput();
        if (input instanceof com.twinsoft.convertigo.eclipse.editors.mobile.ApplicationComponentEditorInput) {
            com.twinsoft.convertigo.eclipse.editors.mobile.ApplicationComponentEditorInput editorInput = GenericUtils.cast(input);
            mb = editorInput.getApplication().getProject().getMobileBuilder();
        }
        if (input instanceof com.twinsoft.convertigo.eclipse.editors.ngx.ApplicationComponentEditorInput) {
            com.twinsoft.convertigo.eclipse.editors.ngx.ApplicationComponentEditorInput editorInput = GenericUtils.cast(input);
            mb = editorInput.getApplication().getProject().getMobileBuilder();
        }
    }
    DatabaseObject databaseObject = getObject();
    Object oldValue = getPropertyValue(id);
    String propertyName = (String) id;
    ComboBoxCellEditor editor = DynamicComboBoxPropertyDescriptor.getLast();
    if (editor != null && (!acceptSymbols() || !Integer.valueOf(editor.getItems().length - 1).equals(value))) {
        editor = null;
    }
    if (isValueInProcess || (oldValue != null && oldValue.equals(value) && editor == null)) {
        return;
    }
    try {
        isValueInProcess = true;
        java.beans.PropertyDescriptor databaseObjectPropertyDescriptor = getPropertyDescriptor(propertyName);
        TreeViewer viewer = (TreeViewer) getAdapter(TreeViewer.class);
        if (databaseObjectPropertyDescriptor == null)
            return;
        Class<?> propertyClass = databaseObjectPropertyDescriptor.getPropertyType();
        Class<?> pec = databaseObjectPropertyDescriptor.getPropertyEditorClass();
        if (editor != null) {
            Control control = editor.getControl();
            Display display = control.getDisplay();
            final Shell shell = new Shell(control.getShell(), SWT.ON_TOP | SWT.TOOL | SWT.NO_FOCUS | SWT.APPLICATION_MODAL);
            shell.setLocation(control.toDisplay(0, 0));
            shell.setSize(control.getSize());
            shell.setLayout(new FillLayout());
            final Text text = new Text(shell, SWT.NONE);
            final String[] newValue = new String[] { null };
            String[] items = editor.getItems();
            text.setText(items[items.length - 1]);
            text.addTraverseListener(new TraverseListener() {

                @Override
                public void keyTraversed(TraverseEvent e) {
                    if (e.detail == SWT.TRAVERSE_RETURN) {
                        newValue[0] = text.getText();
                        shell.close();
                    }
                }
            });
            shell.open();
            while (!shell.isDisposed()) {
                if (!display.readAndDispatch()) {
                    display.sleep();
                }
            }
            if (newValue[0] != null) {
                value = newValue[0];
            }
        }
        Object oriValue = value;
        boolean changed;
        do {
            changed = false;
            boolean wasSymbolError = databaseObject.isSymbolError();
            value = databaseObject.compileProperty(propertyClass, propertyName, oriValue);
            try {
                oldValue = Engine.theApp.databaseObjectsManager.getCompiledValue(oldValue);
            } catch (UndefinedSymbolsException e) {
                oldValue = e.incompletValue();
            }
            Set<String> symbolsErrors = databaseObject.getSymbolsErrors(propertyName);
            if (symbolsErrors != null) {
                boolean[] res = ConvertigoPlugin.warningGlobalSymbols(databaseObject.getProject().getName(), databaseObject.getName(), databaseObject.getDatabaseType(), propertyName, "" + databaseObject.getCompilablePropertySourceValue(propertyName), symbolsErrors, false);
                changed = res[0];
                if (changed) {
                    Engine.theApp.databaseObjectsManager.symbolsCreateUndefined(symbolsErrors);
                } else {
                    databaseObject.getProject().undefinedGlobalSymbols = true;
                    viewer.update(getProjectTreeObject(), null);
                }
            } else if (wasSymbolError) {
                Engine.theApp.databaseObjectsManager.symbolsProjectCheckUndefined(databaseObject.getProject().getName());
                viewer.update(getProjectTreeObject(), null);
            }
        } while (changed);
        if (editor != null && value instanceof String) {
            String[] items = editor.getItems();
            int len = items.length - 1;
            String strValue = (String) value;
            value = 0;
            for (int i = 0; i < len; i++) {
                if (items[i].equals(strValue)) {
                    value = i;
                    break;
                }
                ;
            }
        }
        if (pec != null && propertyClass != int.class && propertyClass != Integer.class && value instanceof Integer) {
            Object[] values = null;
            try {
                int index = (Integer) value;
                if (PropertyWithTagsEditorAdvance.class.isAssignableFrom(pec)) {
                    Method getTags = pec.getMethod("getTags", new Class[] { DatabaseObjectTreeObject.class, String.class });
                    values = (String[]) getTags.invoke(null, new Object[] { this, propertyName });
                    value = values[index];
                } else if (Enum.class.isAssignableFrom(pec)) {
                    values = (Enum[]) pec.getMethod("values").invoke(null);
                    value = index < values.length ? values[index] : values[0];
                    if (propertyClass == String.class) {
                        value = value.toString();
                    }
                }
            } catch (ArrayIndexOutOfBoundsException e) {
                value = values.length > 0 ? values[0] : "";
                String message = "Incorrect property \"" + propertyName + "\" value for the object \"" + databaseObject.getName() + "\".";
                ConvertigoPlugin.logWarning(message);
            }
        }
        if ((EmulatorTechnologyEditor.class.equals(pec))) {
            Method getEmulatorClassNames = pec.getDeclaredMethod("getEmulatorClassNames", new Class[] { DatabaseObjectTreeObject.class });
            String[] emulatorClassNames = (String[]) getEmulatorClassNames.invoke(null, new Object[] { this });
            value = emulatorClassNames[((Integer) value).intValue()];
        }
        // Must rename bean when normalizedScreenClassName changed
        if (databaseObject instanceof ScHandlerStatement) {
            ScHandlerStatement scHandlerStatement = (ScHandlerStatement) databaseObject;
            if (propertyName.equals("normalizedScreenClassName")) {
                if (!this.rename("on" + (String) value + scHandlerStatement.getHandlerType(), Boolean.FALSE))
                    return;
            }
        } else // Must rename bean when handlerType changed
        if ((databaseObject instanceof HandlerStatement) && !(databaseObject instanceof ScDefaultHandlerStatement)) {
            // HandlerStatement handlerStatement = (HandlerStatement)databaseObject;
            if (propertyName.equals("handlerType")) {
                if (!this.rename("on" + (String) value, Boolean.FALSE))
                    return;
            }
        }
        // Set property's nillable value
        if (Boolean.TRUE.equals(databaseObjectPropertyDescriptor.getValue("nillable"))) {
            try {
                PropertyDescriptor pd = findPropertyDescriptor(propertyName);
                if ((pd != null) && (pd instanceof DataOrNullPropertyDescriptor)) {
                    Boolean isNull = ((DataOrNullPropertyDescriptor) pd).isNullProperty();
                    ((INillableProperty) databaseObject).setNullProperty(propertyName, isNull);
                    if (isNull) {
                        // Overrides fake editor value to real bean's one
                        if (value instanceof String)
                            value = "";
                        if (value instanceof XMLVector)
                            value = new XMLVector<Object>();
                    }
                }
            } catch (Exception e) {
                String message = "Error while trying to set 'isNull' attribute of property \"" + propertyName + "\" for the object \"" + databaseObject.getName() + "\".";
                ConvertigoPlugin.logException(e, message);
            }
        }
        // Check XML name property value if needed
        if (Boolean.TRUE.equals(databaseObjectPropertyDescriptor.getValue(DatabaseObject.PROPERTY_XMLNAME))) {
            if (value instanceof String) {
                String sValue = value.toString();
                if (!XMLUtils.checkName(sValue)) {
                    String message = "The property \"" + propertyName + "\" value for the object \"" + databaseObject.getName() + "\" is not a valid XML name: " + sValue;
                    ConvertigoPlugin.logWarning(message);
                    return;
                }
            }
        }
        Method setter = databaseObjectPropertyDescriptor.getWriteMethod();
        Object[] args = { value };
        setter.invoke(databaseObject, args);
        hasBeenModified(true);
        // Set treeObject isEnabled attribute value (Fix #1129)
        if (propertyName.equals("isEnabled") || propertyName.equals("isEnable")) {
            setEnabled(value.equals(true));
        }
        viewer.update(this, null);
        // update property view and display the new value for zone editor
        if (pec != null) {
            PropertySheet propertySheet = ConvertigoPlugin.getDefault().getPropertiesView();
            if (propertySheet != null && pec.getName().contains("ZoneEditor")) {
                Tree tree = (Tree) propertySheet.getCurrentPage().getControl();
                TreeItem[] treeItems = tree.getSelection();
                for (int i = 0; i < treeItems.length; i++) {
                    TreeItem treeItem = treeItems[i];
                    if (treeItem.getText().equals(databaseObjectPropertyDescriptor.getDisplayName())) {
                        PropertySheetEntry propEntry = (PropertySheetEntry) treeItem.getData();
                        propEntry.getEditor(tree).setValue(value);
                        propEntry.setValues(args);
                    }
                }
                tree.update();
            }
        }
        Engine.logStudio.info("---------------------- SetPropertyValue started: " + propertyName + "----------------------");
        if (mb != null) {
            mb.prepareBatchBuild();
        }
        BatchOperationHelper.start();
        TreeObjectEvent treeObjectEvent = new TreeObjectEvent(this, propertyName, oldValue, value);
        ConvertigoPlugin.projectManager.getProjectExplorerView().fireTreeObjectPropertyChanged(treeObjectEvent);
        BatchOperationHelper.stop();
    } catch (Exception e) {
        String message = "Error while trying to set property \"" + propertyName + "\" value for the object \"" + databaseObject.getName() + "\".";
        ConvertigoPlugin.logException(e, message);
    } finally {
        BatchOperationHelper.cancel();
        Engine.logStudio.info("---------------------- SetPropertyValue ended:   " + propertyName + "----------------------");
        isValueInProcess = false;
    }
}
Also used : TraverseEvent(org.eclipse.swt.events.TraverseEvent) XMLVector(com.twinsoft.convertigo.beans.common.XMLVector) TreeItem(org.eclipse.swt.widgets.TreeItem) TreeViewer(org.eclipse.jface.viewers.TreeViewer) INillableProperty(com.twinsoft.convertigo.beans.core.INillableProperty) PropertySheetEntry(org.eclipse.ui.views.properties.PropertySheetEntry) DatabaseObject(com.twinsoft.convertigo.beans.core.DatabaseObject) Tree(org.eclipse.swt.widgets.Tree) TreeObjectEvent(com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent) ScDefaultHandlerStatement(com.twinsoft.convertigo.beans.statements.ScDefaultHandlerStatement) UndefinedSymbolsException(com.twinsoft.convertigo.engine.UndefinedSymbolsException) ComboBoxCellEditor(org.eclipse.jface.viewers.ComboBoxCellEditor) FillLayout(org.eclipse.swt.layout.FillLayout) Method(java.lang.reflect.Method) MobileBuilder(com.twinsoft.convertigo.engine.mobile.MobileBuilder) DatabaseObject(com.twinsoft.convertigo.beans.core.DatabaseObject) DataOrNullPropertyDescriptor(com.twinsoft.convertigo.eclipse.property_editors.DataOrNullPropertyDescriptor) PropertySheet(org.eclipse.ui.views.properties.PropertySheet) ScDefaultHandlerStatement(com.twinsoft.convertigo.beans.statements.ScDefaultHandlerStatement) ScHandlerStatement(com.twinsoft.convertigo.beans.statements.ScHandlerStatement) HandlerStatement(com.twinsoft.convertigo.beans.statements.HandlerStatement) Control(org.eclipse.swt.widgets.Control) Shell(org.eclipse.swt.widgets.Shell) InfoPropertyDescriptor(com.twinsoft.convertigo.eclipse.views.projectexplorer.InfoPropertyDescriptor) DynamicComboBoxPropertyDescriptor(com.twinsoft.convertigo.eclipse.property_editors.DynamicComboBoxPropertyDescriptor) PropertyDescriptor(org.eclipse.ui.views.properties.PropertyDescriptor) StringComboBoxPropertyDescriptor(com.twinsoft.convertigo.eclipse.property_editors.StringComboBoxPropertyDescriptor) TextPropertyDescriptor(org.eclipse.ui.views.properties.TextPropertyDescriptor) ScriptablePropertyDescriptor(com.twinsoft.convertigo.eclipse.views.projectexplorer.ScriptablePropertyDescriptor) IPropertyDescriptor(org.eclipse.ui.views.properties.IPropertyDescriptor) DynamicInfoPropertyDescriptor(com.twinsoft.convertigo.eclipse.property_editors.DynamicInfoPropertyDescriptor) DataOrNullPropertyDescriptor(com.twinsoft.convertigo.eclipse.property_editors.DataOrNullPropertyDescriptor) TraverseListener(org.eclipse.swt.events.TraverseListener) EmulatorTechnologyEditor(com.twinsoft.convertigo.eclipse.property_editors.EmulatorTechnologyEditor) Text(org.eclipse.swt.widgets.Text) IEditorPart(org.eclipse.ui.IEditorPart) CoreException(org.eclipse.core.runtime.CoreException) InvocationTargetException(java.lang.reflect.InvocationTargetException) ConvertigoException(com.twinsoft.convertigo.engine.ConvertigoException) UndefinedSymbolsException(com.twinsoft.convertigo.engine.UndefinedSymbolsException) IEditorInput(org.eclipse.ui.IEditorInput) ScHandlerStatement(com.twinsoft.convertigo.beans.statements.ScHandlerStatement) Display(org.eclipse.swt.widgets.Display)

Example 14 with TreeObjectEvent

use of com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent in project convertigo by convertigo.

the class MobileUIComponentTreeObject method setPropertyValue.

@Override
public void setPropertyValue(Object id, Object value) {
    DatabaseObject dbo = getObject();
    if (dbo instanceof UIDynamicElement) {
        IonBean ionBean = ((UIDynamicElement) dbo).getIonBean();
        if (ionBean != null) {
            if (ionBean.hasProperty((String) id)) {
                if (value != null) {
                    if (value instanceof String) {
                        value = new MobileSmartSourceType((String) value);
                    }
                    Object oldValue = ionBean.getPropertyValue((String) id);
                    if (!value.equals(oldValue)) {
                        ionBean.setPropertyValue((String) id, value);
                        TreeViewer viewer = (TreeViewer) getAdapter(TreeViewer.class);
                        hasBeenModified(true);
                        viewer.update(this, null);
                        TreeObjectEvent treeObjectEvent = new TreeObjectEvent(this, (String) id, oldValue, value);
                        ConvertigoPlugin.projectManager.getProjectExplorerView().fireTreeObjectPropertyChanged(treeObjectEvent);
                        return;
                    }
                }
            }
        }
    }
    super.setPropertyValue(id, value);
}
Also used : IonBean(com.twinsoft.convertigo.beans.mobile.components.dynamic.IonBean) MobileSmartSourceType(com.twinsoft.convertigo.beans.mobile.components.MobileSmartSourceType) TreeViewer(org.eclipse.jface.viewers.TreeViewer) DatabaseObject(com.twinsoft.convertigo.beans.core.DatabaseObject) UIDynamicElement(com.twinsoft.convertigo.beans.mobile.components.UIDynamicElement) DatabaseObject(com.twinsoft.convertigo.beans.core.DatabaseObject) TreeObjectEvent(com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent)

Example 15 with TreeObjectEvent

use of com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent in project convertigo by convertigo.

the class DisableMobileUIComponentAction method run.

public void run() {
    Display display = Display.getDefault();
    Cursor waitCursor = new Cursor(display, SWT.CURSOR_WAIT);
    Shell shell = getParentShell();
    shell.setCursor(waitCursor);
    try {
        ProjectExplorerView explorerView = getProjectExplorerView();
        if (explorerView != null) {
            DatabaseObjectTreeObject treeObject = null;
            UIComponent component = null;
            TreeObject[] treeObjects = explorerView.getSelectedTreeObjects();
            for (int i = treeObjects.length - 1; i >= 0; i--) {
                treeObject = (DatabaseObjectTreeObject) treeObjects[i];
                if (treeObject instanceof MobileUIComponentTreeObject) {
                    MobileUIComponentTreeObject componentTreeObject = (MobileUIComponentTreeObject) treeObject;
                    component = (UIComponent) componentTreeObject.getObject();
                    component.setEnabled(false);
                    componentTreeObject.setEnabled(false);
                    componentTreeObject.hasBeenModified(true);
                    TreeObjectEvent treeObjectEvent = new TreeObjectEvent(componentTreeObject, "isEnabled", true, false);
                    explorerView.fireTreeObjectPropertyChanged(treeObjectEvent);
                }
            }
            explorerView.refreshSelectedTreeObjects();
        }
    } catch (Throwable e) {
        ConvertigoPlugin.logException(e, "Unable to disable component!");
    } finally {
        shell.setCursor(null);
        waitCursor.dispose();
    }
}
Also used : MobileUIComponentTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.MobileUIComponentTreeObject) Shell(org.eclipse.swt.widgets.Shell) ProjectExplorerView(com.twinsoft.convertigo.eclipse.views.projectexplorer.ProjectExplorerView) DatabaseObjectTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.DatabaseObjectTreeObject) UIComponent(com.twinsoft.convertigo.beans.mobile.components.UIComponent) MobileUIComponentTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.MobileUIComponentTreeObject) TreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.TreeObject) DatabaseObjectTreeObject(com.twinsoft.convertigo.eclipse.views.projectexplorer.model.DatabaseObjectTreeObject) TreeObjectEvent(com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent) Cursor(org.eclipse.swt.graphics.Cursor) Display(org.eclipse.swt.widgets.Display)

Aggregations

TreeObjectEvent (com.twinsoft.convertigo.eclipse.views.projectexplorer.TreeObjectEvent)33 Display (org.eclipse.swt.widgets.Display)22 Shell (org.eclipse.swt.widgets.Shell)22 ProjectExplorerView (com.twinsoft.convertigo.eclipse.views.projectexplorer.ProjectExplorerView)21 TreeObject (com.twinsoft.convertigo.eclipse.views.projectexplorer.model.TreeObject)21 Cursor (org.eclipse.swt.graphics.Cursor)21 DatabaseObjectTreeObject (com.twinsoft.convertigo.eclipse.views.projectexplorer.model.DatabaseObjectTreeObject)20 DatabaseObject (com.twinsoft.convertigo.beans.core.DatabaseObject)8 ArrayList (java.util.ArrayList)6 PageComponent (com.twinsoft.convertigo.beans.mobile.components.PageComponent)5 Sequence (com.twinsoft.convertigo.beans.core.Sequence)4 PageComponent (com.twinsoft.convertigo.beans.ngx.components.PageComponent)4 EngineException (com.twinsoft.convertigo.engine.EngineException)4 CoreException (org.eclipse.core.runtime.CoreException)4 FullSyncConnector (com.twinsoft.convertigo.beans.connectors.FullSyncConnector)3 RouteActionComponent (com.twinsoft.convertigo.beans.mobile.components.RouteActionComponent)3 RouteEventComponent (com.twinsoft.convertigo.beans.mobile.components.RouteEventComponent)3 UIComponent (com.twinsoft.convertigo.beans.mobile.components.UIComponent)3 UIComponent (com.twinsoft.convertigo.beans.ngx.components.UIComponent)3 StepTreeObject (com.twinsoft.convertigo.eclipse.views.projectexplorer.model.StepTreeObject)3