Search in sources :

Example 6 with CompareConfiguration

use of org.eclipse.compare.CompareConfiguration in project tdq-studio-se by Talend.

the class ModelElementCompareEditorLauncher method open.

@Override
public void open(IPath file) {
    try {
        // final EObject snapshot = ModelUtils.load(file.toFile(), new ResourceSetImpl());
        // if (snapshot instanceof ComparisonResourceSnapshot) {
        CompareConfiguration comapreConfiguration = new CompareConfiguration();
        comapreConfiguration.setDefaultLabelProvider(new ICompareInputLabelProvider() {

            @Override
            public Image getAncestorImage(Object input) {
                return null;
            }

            @Override
            public String getAncestorLabel(Object input) {
                // $NON-NLS-1$
                return "";
            }

            @Override
            public Image getLeftImage(Object input) {
                return null;
            }

            @Override
            public String getLeftLabel(Object input) {
                // $NON-NLS-1$
                String showLabel = Messages.getString("ModelElementCompareEditorLauncher.LocalStructure", connectionName);
                if (compareEachOther) {
                    // $NON-NLS-1$
                    showLabel = Messages.getString("ModelElementCompareEditorLauncher.FirstElement");
                }
                return showLabel;
            }

            @Override
            public Image getRightImage(Object input) {
                return null;
            }

            @Override
            public String getRightLabel(Object input) {
                // $NON-NLS-1$
                String showLabel = Messages.getString("ModelElementCompareEditorLauncher.DistantStructure");
                if (compareEachOther) {
                    // $NON-NLS-1$
                    showLabel = Messages.getString("ModelElementCompareEditorLauncher.SecondElement");
                }
                return showLabel;
            }

            @Override
            public Image getImage(Object element) {
                return null;
            }

            @Override
            public String getText(Object element) {
                // $NON-NLS-1$
                return Messages.getString("ModelElementCompareEditorLauncher.TextLabel");
            }

            @Override
            public void addListener(ILabelProviderListener listener) {
            // needn't to do anything ???
            }

            @Override
            public void dispose() {
            // needn't to do anything ???
            }

            @Override
            public boolean isLabelProperty(Object element, String property) {
                return false;
            }

            @Override
            public void removeListener(ILabelProviderListener listener) {
            // needn't to do anything ???
            }
        });
        // ModelElementCompareEditorInput compEditorInput = new ModelElementCompareEditorInput(
        // (ComparisonResourceSnapshot) snapshot, comapreConfiguration, selectedObject);
        // MOD mzhao bug 8581 Add the specific title for comparison
        // editor.
        // $NON-NLS-1$
        String editorTitle = Messages.getString("ModelElementCompareEditorLauncher.Compare");
        if (selectedObject instanceof IFile) {
            editorTitle = PrvResourceFileHelper.getInstance().findProvider((IFile) selectedObject).getName();
        } else if (selectedObject instanceof IFolderNode) {
            editorTitle = ((ModelElement) ((IFolderNode) selectedObject).getParent()).getName();
        } else if (selectedObject instanceof Catalog) {
            editorTitle = ((Catalog) selectedObject).getName();
        } else if (selectedObject instanceof IRepositoryViewObject) {
            editorTitle = ((ConnectionItem) ((IRepositoryViewObject) selectedObject).getProperty().getItem()).getConnection().getName();
        } else if (selectedObject instanceof Connection) {
            editorTitle = ((Connection) selectedObject).getName();
        }
    // compEditorInput.setTitle(editorTitle);
    // CompareUI.openCompareEditor(compEditorInput);
    // compEditorInput.hookLeftPanelContextMenu(compareEachOther);
    // compEditorInput.hookToolBar(compareEachOther);
    // }
    // } catch (IOException e) {
    } catch (Exception e) {
        // Fichier non lisible
        System.out.println(e);
        assert false;
    }
}
Also used : IFile(org.eclipse.core.resources.IFile) CompareConfiguration(org.eclipse.compare.CompareConfiguration) ICompareInputLabelProvider(org.eclipse.compare.ICompareInputLabelProvider) Connection(org.talend.core.model.metadata.builder.connection.Connection) Image(org.eclipse.swt.graphics.Image) Catalog(orgomg.cwm.resource.relational.Catalog) ModelElement(orgomg.cwm.objectmodel.core.ModelElement) IFolderNode(org.talend.dq.nodes.foldernode.IFolderNode) ILabelProviderListener(org.eclipse.jface.viewers.ILabelProviderListener) IRepositoryViewObject(org.talend.core.model.repository.IRepositoryViewObject) IRepositoryViewObject(org.talend.core.model.repository.IRepositoryViewObject)

Example 7 with CompareConfiguration

use of org.eclipse.compare.CompareConfiguration in project InformationSystem by ObeoNetwork.

the class ExportAsSQLScriptsAction method setActiveEditor.

@Override
public void setActiveEditor(final IAction action, final IEditorPart activeEditor) {
    this.activeEditor = activeEditor;
    editorPluginAction = action;
    action.setEnabled(false);
    if (activeEditor != null && activeEditor.getEditorSite() != null && COMPARE_EDITOR_ID.equals(activeEditor.getEditorSite().getId())) {
        final IEditorInput editorInput = activeEditor.getEditorInput();
        if (editorInput instanceof CompareEditorInput) {
            final CompareConfiguration config = ((CompareEditorInput) editorInput).getCompareConfiguration();
            if (propertyChangeListener == null) {
                propertyChangeListener = new IPropertyChangeListener() {

                    @Override
                    public void propertyChange(PropertyChangeEvent event) {
                        // FIX for EMFCompare 2.2
                        if (isInitEventBus(event) && eventBusChangeRecorder == null) {
                            eventBusChangeRecorder = new EventBusChangeRecorder();
                            ((EventBus) event.getNewValue()).register(eventBusChangeRecorder);
                        }
                    }
                };
                config.addPropertyChangeListener(propertyChangeListener);
            }
            if (comparison != null) {
                editorPluginAction.setEnabled(areDatabaseDifferences(comparison));
            }
        }
    }
}
Also used : IPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener) CompareEditorInput(org.eclipse.compare.CompareEditorInput) PropertyChangeEvent(org.eclipse.jface.util.PropertyChangeEvent) CompareConfiguration(org.eclipse.compare.CompareConfiguration) IEditorInput(org.eclipse.ui.IEditorInput)

Example 8 with CompareConfiguration

use of org.eclipse.compare.CompareConfiguration in project cubrid-manager by CUBRID.

the class TableSchemaCompareInfoPart method showEntireSchemaCompareEditor.

/**
	 * Display entire schemas comparison
	 */
private void showEntireSchemaCompareEditor(String leftDatabase, String rightDatabase, final String leftContent, final String rightContent) {
    CompareConfiguration config = new CompareConfiguration();
    config.setProperty(CompareConfiguration.SHOW_PSEUDO_CONFLICTS, Boolean.FALSE);
    config.setProperty(CompareConfiguration.IGNORE_WHITESPACE, Boolean.TRUE);
    config.setLeftEditable(false);
    config.setLeftLabel(leftDatabase);
    config.setRightEditable(false);
    config.setRightLabel(rightDatabase);
    CompareEditorInput editorInput = new CompareEditorInput(config) {

        protected Object prepareInput(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
            return new DiffNode(null, Differencer.CHANGE, null, new TextCompareInput(leftContent), new TextCompareInput(rightContent));
        }

        public void saveChanges(IProgressMonitor pm) throws CoreException {
            super.saveChanges(pm);
        }
    };
    editorInput.setTitle(Messages.entireDbSchemaComparison);
    CompareUI.openCompareEditor(editorInput);
}
Also used : CompareEditorInput(org.eclipse.compare.CompareEditorInput) IProgressMonitor(org.eclipse.core.runtime.IProgressMonitor) CompareConfiguration(org.eclipse.compare.CompareConfiguration) DiffNode(org.eclipse.compare.structuremergeviewer.DiffNode)

Example 9 with CompareConfiguration

use of org.eclipse.compare.CompareConfiguration in project cubrid-manager by CUBRID.

the class TuneModeResultComposite method createQueryCompareTab.

private void createQueryCompareTab(Composite comp) {
    Composite composite = new Composite(comp, SWT.None);
    composite.setLayout(new GridLayout());
    composite.setLayoutData(CommonUITool.createGridData(GridData.FILL_BOTH, 1, 1, -1, -1));
    Composite topComposite = new Composite(composite, SWT.None);
    topComposite.setLayout(new FormLayout());
    topComposite.setLayoutData(CommonUITool.createGridData(GridData.FILL_HORIZONTAL, 1, 1, -1, 25));
    Composite leftTopComposite = new Composite(topComposite, SWT.None);
    FormData leftTopData = new FormData();
    leftTopData.top = new FormAttachment(0, 0);
    leftTopData.bottom = new FormAttachment(100, 0);
    leftTopData.left = new FormAttachment(0, 0);
    leftTopData.right = new FormAttachment(50, 0);
    leftTopComposite.setLayoutData(leftTopData);
    leftTopComposite.setLayout(new GridLayout(1, false));
    Composite rightTopComposite = new Composite(topComposite, SWT.None);
    FormData rightTopData = new FormData();
    rightTopData.top = new FormAttachment(0, 0);
    rightTopData.bottom = new FormAttachment(100, 0);
    rightTopData.left = new FormAttachment(50, 0);
    rightTopData.right = new FormAttachment(100, 0);
    rightTopComposite.setLayoutData(rightTopData);
    rightTopComposite.setLayout(new GridLayout(4, false));
    useLeft = new Button(leftTopComposite, SWT.CHECK);
    useLeft.setText(Messages.lblTuneModeOrgPlan);
    useLeft.setLayoutData(CommonUITool.createGridData(1, 1, -1, -1));
    useLeft.addSelectionListener(new SelectionAdapter() {

        public void widgetSelected(SelectionEvent e) {
            if (useLeft.getSelection()) {
                useRight.setSelection(false);
            } else {
                useRight.setSelection(true);
            }
        }
    });
    useLeft.setSelection(true);
    useRight = new Button(rightTopComposite, SWT.CHECK);
    useRight.setText(Messages.lblTuneModeNewPlan);
    useRight.setLayoutData(CommonUITool.createGridData(1, 1, -1, -1));
    useRight.addSelectionListener(new SelectionAdapter() {

        public void widgetSelected(SelectionEvent e) {
            if (useRight.getSelection()) {
                useLeft.setSelection(false);
            } else {
                useLeft.setSelection(true);
            }
        }
    });
    useRight.setSelection(false);
    ToolBar leftToolBar = new ToolBar(rightTopComposite, SWT.None);
    leftToolBar.setLayoutData(CommonUITool.createGridData(1, 1, -1, -1));
    Composite folderPlaceComposite = new Composite(rightTopComposite, SWT.None);
    folderPlaceComposite.setLayoutData(CommonUITool.createGridData(GridData.FILL_BOTH, 1, 1, -1, -1));
    ToolBar rightToolBar = new ToolBar(rightTopComposite, SWT.None);
    rightToolBar.setLayoutData(CommonUITool.createGridData(GridData.HORIZONTAL_ALIGN_END, 1, 1, -1, -1));
    sqlModeItem = new ToolItem(rightToolBar, SWT.CHECK);
    sqlModeItem.setImage(CommonUIPlugin.getImage("icons/queryplan/sql_compare.gif"));
    sqlModeItem.setToolTipText(Messages.itemTooltipQuery);
    //sqlModeItem.setText(Messages.lblTuneCompareQueryBtn);
    sqlModeItem.addSelectionListener(new SelectionListener() {

        public void widgetSelected(SelectionEvent e) {
            widgetDefaultSelected(e);
        }

        public void widgetDefaultSelected(SelectionEvent e) {
            updateCompareDisplayModel(DISPLAY_SQL);
        }
    });
    textModelItem = new ToolItem(rightToolBar, SWT.CHECK);
    textModelItem.setImage(CommonUIPlugin.getImage("icons/queryeditor/qe_explain_mode_raw.png"));
    textModelItem.setToolTipText(Messages.tooltip_qedit_explain_display_mode);
    //textModelItem.setText(Messages.lblPlanRawBtn);
    textModelItem.addSelectionListener(new SelectionListener() {

        public void widgetSelected(SelectionEvent e) {
            widgetDefaultSelected(e);
        }

        public void widgetDefaultSelected(SelectionEvent e) {
            updateCompareDisplayModel(DISPLAY_TEXT);
        }
    });
    treeModelItem = new ToolItem(rightToolBar, SWT.CHECK);
    treeModelItem.setImage(CommonUIPlugin.getImage("icons/queryeditor/qe_explain_mode_tree.png"));
    treeModelItem.setToolTipText(Messages.tooltip_qedit_explain_display_mode);
    //treeModelItem.setText(Messages.lblPlanTreeBtn);
    treeModelItem.addSelectionListener(new SelectionListener() {

        public void widgetSelected(SelectionEvent e) {
            widgetDefaultSelected(e);
        }

        public void widgetDefaultSelected(SelectionEvent e) {
            updateCompareDisplayModel(DISPLAY_TREE);
        }
    });
    graphModelItem = new ToolItem(rightToolBar, SWT.CHECK);
    graphModelItem.setImage(CommonUIPlugin.getImage("icons/queryeditor/qe_explain_mode_graph.png"));
    graphModelItem.setToolTipText(Messages.tooltip_qedit_explain_display_mode);
    //graphModelItem.setText(Messages.lblPlanGraph);
    graphModelItem.addSelectionListener(new SelectionListener() {

        public void widgetSelected(SelectionEvent e) {
            widgetDefaultSelected(e);
        }

        public void widgetDefaultSelected(SelectionEvent e) {
            updateCompareDisplayModel(DISPLAY_GRAPH);
        }
    });
    Composite tablesComposite = new Composite(composite, SWT.None);
    tablesComposite.setLayoutData(CommonUITool.createGridData(GridData.FILL_HORIZONTAL, 1, 1, -1, 60));
    tablesComposite.setLayout(new FormLayout());
    /*Left composite*/
    Composite leftTableComposite = new Composite(tablesComposite, SWT.BORDER);
    leftTableComposite.setLayout(new GridLayout());
    FormData leftTableData = new FormData();
    leftTableData.top = new FormAttachment(0, 0);
    leftTableData.bottom = new FormAttachment(100, 0);
    leftTableData.left = new FormAttachment(0, 0);
    leftTableData.right = new FormAttachment(50, -2);
    leftTableComposite.setLayoutData(leftTableData);
    /*Right composite*/
    Composite rightTableComposite = new Composite(tablesComposite, SWT.BORDER);
    rightTableComposite.setLayout(new GridLayout());
    FormData rightTabelData = new FormData();
    rightTabelData.top = new FormAttachment(0, 0);
    rightTabelData.bottom = new FormAttachment(100, 0);
    rightTabelData.left = new FormAttachment(50, 2);
    rightTabelData.right = new FormAttachment(100, 0);
    rightTableComposite.setLayoutData(rightTabelData);
    compareLeftTableViewer = new TableViewer(leftTableComposite, SWT.FULL_SELECTION);
    compareLeftTableViewer.getTable().setLayoutData(CommonUITool.createGridData(GridData.FILL_BOTH, 1, 1, -1, -1));
    compareLeftTableViewer.getTable().setHeaderVisible(true);
    compareLeftTableViewer.getTable().setLinesVisible(false);
    compareLeftTableViewer.setContentProvider(new TuneModeResultContentProvider());
    compareLeftTableViewer.setLabelProvider(new TuneModeResultLabelProvider(compareLeftTableViewer, false));
    TableColumn fetchColumnLeft = new TableColumn(compareLeftTableViewer.getTable(), SWT.None);
    fetchColumnLeft.setText(Messages.columnFetches);
    fetchColumnLeft.setWidth(60);
    TableColumn dirtyColumnLeft = new TableColumn(compareLeftTableViewer.getTable(), SWT.None);
    dirtyColumnLeft.setText(Messages.columnDirties);
    dirtyColumnLeft.setWidth(60);
    TableColumn ioReadColumnLeft = new TableColumn(compareLeftTableViewer.getTable(), SWT.None);
    ioReadColumnLeft.setText(Messages.columnIORead);
    ioReadColumnLeft.setWidth(80);
    TableColumn ioWriteColumnLeft = new TableColumn(compareLeftTableViewer.getTable(), SWT.None);
    ioWriteColumnLeft.setText(Messages.columnIOWrite);
    ioWriteColumnLeft.setWidth(80);
    TableColumn costColumnLeft = new TableColumn(compareLeftTableViewer.getTable(), SWT.None);
    costColumnLeft.setText(Messages.columnCost);
    costColumnLeft.setWidth(60);
    compareRightTableViewer = new TableViewer(rightTableComposite, SWT.FULL_SELECTION);
    compareRightTableViewer.getTable().setLayoutData(CommonUITool.createGridData(GridData.FILL_BOTH, 1, 1, -1, -1));
    compareRightTableViewer.getTable().setHeaderVisible(true);
    compareRightTableViewer.getTable().setLinesVisible(false);
    compareRightTableViewer.setContentProvider(new TuneModeResultContentProvider());
    compareRightTableViewer.setLabelProvider(new TuneModeResultLabelProvider(compareRightTableViewer, false));
    TableColumn fetchColumnRight = new TableColumn(compareRightTableViewer.getTable(), SWT.None);
    fetchColumnRight.setText(Messages.columnFetches);
    fetchColumnRight.setWidth(60);
    TableColumn dirtyColumnRight = new TableColumn(compareRightTableViewer.getTable(), SWT.None);
    dirtyColumnRight.setText(Messages.columnDirties);
    dirtyColumnRight.setWidth(60);
    TableColumn ioReadColumnRight = new TableColumn(compareRightTableViewer.getTable(), SWT.None);
    ioReadColumnRight.setText(Messages.columnIORead);
    ioReadColumnRight.setWidth(80);
    TableColumn ioWriteColumnRight = new TableColumn(compareRightTableViewer.getTable(), SWT.None);
    ioWriteColumnRight.setText(Messages.columnIOWrite);
    ioWriteColumnRight.setWidth(80);
    TableColumn costColumnRight = new TableColumn(compareRightTableViewer.getTable(), SWT.None);
    costColumnRight.setText(Messages.columnCost);
    costColumnRight.setWidth(60);
    queryPlanCompareSashForm = new SashForm(composite, SWT.VERTICAL);
    queryPlanCompareSashForm.setLayoutData(CommonUITool.createGridData(GridData.FILL_BOTH, 1, 1, -1, -1));
    queryPlanCompareSashForm.setBackground(SASH_COLOR);
    queryPlanCompareSashForm.setLayout(new GridLayout());
    queryPlanCompareSashForm.setLayoutData(CommonUITool.createGridData(GridData.FILL_BOTH, 1, 1, -1, -1));
    queryPlanCompareSashForm.setSashWidth(0);
    Composite textMergeComposite = new Composite(queryPlanCompareSashForm, SWT.None);
    textMergeComposite.setLayoutData(CommonUITool.createGridData(GridData.FILL_BOTH, 1, 1, -1, -1));
    textMergeComposite.setLayout(new FillLayout());
    textMergeConfig = new CompareConfiguration();
    textMergeConfig.setProperty(CompareConfiguration.SHOW_PSEUDO_CONFLICTS, Boolean.FALSE);
    textMergeConfig.setProperty(CompareConfiguration.IGNORE_WHITESPACE, Boolean.TRUE);
    textMergeConfig.setLeftEditable(false);
    textMergeConfig.setRightEditable(false);
    textMergeViewer = new TextMergeViewer(textMergeComposite, SWT.BORDER, textMergeConfig);
    DiffNode queryDiffNode = new DiffNode(null, Differencer.CHANGE, null, new TextCompareInput(""), new TextCompareInput(""));
    textMergeViewer.setInput(queryDiffNode);
    Composite compareQueryPlanComposite = new Composite(queryPlanCompareSashForm, SWT.None);
    compareQueryPlanComposite.setLayoutData(CommonUITool.createGridData(GridData.FILL_BOTH, 1, 1, -1, -1));
    compareQueryPlanComposite.setLayout(new FormLayout());
    leftComparePlanComposite = new QueryPlanComposite(compareQueryPlanComposite, SWT.BORDER, null, databaseInfo);
    FormData leftData = new FormData();
    leftData.top = new FormAttachment(0, 0);
    leftData.bottom = new FormAttachment(100, 0);
    leftData.left = new FormAttachment(0, 0);
    leftData.right = new FormAttachment(50, 0);
    leftComparePlanComposite.setLayoutData(leftData);
    rightComparePlanComposite = new QueryPlanComposite(compareQueryPlanComposite, SWT.BORDER, null, databaseInfo);
    FormData rightData = new FormData();
    rightData.top = new FormAttachment(0, 0);
    rightData.bottom = new FormAttachment(100, 0);
    rightData.left = new FormAttachment(50, 0);
    rightData.right = new FormAttachment(100, 0);
    rightComparePlanComposite.setLayoutData(rightData);
    queryPlanCompareSashForm.setWeights(new int[] { 100, 0 });
    updateCompareDisplayModel(DISPLAY_TREE);
}
Also used : FormLayout(org.eclipse.swt.layout.FormLayout) FormData(org.eclipse.swt.layout.FormData) Composite(org.eclipse.swt.widgets.Composite) QueryPlanComposite(com.cubrid.common.ui.query.control.queryplan.QueryPlanComposite) CompareConfiguration(org.eclipse.compare.CompareConfiguration) SelectionAdapter(org.eclipse.swt.events.SelectionAdapter) DiffNode(org.eclipse.compare.structuremergeviewer.DiffNode) QueryPlanComposite(com.cubrid.common.ui.query.control.queryplan.QueryPlanComposite) FillLayout(org.eclipse.swt.layout.FillLayout) TableColumn(org.eclipse.swt.widgets.TableColumn) SashForm(org.eclipse.swt.custom.SashForm) TextMergeViewer(org.eclipse.compare.contentmergeviewer.TextMergeViewer) GridLayout(org.eclipse.swt.layout.GridLayout) Button(org.eclipse.swt.widgets.Button) SelectionEvent(org.eclipse.swt.events.SelectionEvent) ToolBar(org.eclipse.swt.widgets.ToolBar) TextCompareInput(com.cubrid.common.ui.compare.schema.control.TextCompareInput) TableViewer(org.eclipse.jface.viewers.TableViewer) FormAttachment(org.eclipse.swt.layout.FormAttachment) ToolItem(org.eclipse.swt.widgets.ToolItem) SelectionListener(org.eclipse.swt.events.SelectionListener)

Example 10 with CompareConfiguration

use of org.eclipse.compare.CompareConfiguration in project tmdm-studio-se by Talend.

the class CompareManager method compareTwoStream.

public void compareTwoStream(String left, String right, boolean format, CompareHeadInfo compareHeadInfo, String leftLabel, String rightLabel, boolean leftEditable, boolean rightEditable) throws Exception {
    if (left == null || right == null)
        return;
    if (format) {
        // $NON-NLS-1$
        left = XmlUtil.formatCompletely(left, "UTF-8");
        // $NON-NLS-1$
        right = XmlUtil.formatCompletely(right, "UTF-8");
    }
    // prepare the two resources
    // $NON-NLS-1$
    IProject prj = createProject("comparewithsvn");
    // $NON-NLS-1$
    IFile leftF = prj.getFile("left");
    // $NON-NLS-1$
    IFile rightF = prj.getFile("right");
    if (!leftF.exists())
        leftF.create(new ByteArrayInputStream(left.getBytes()), IFile.FORCE, null);
    if (!rightF.exists())
        rightF.create(new ByteArrayInputStream(right.getBytes()), IFile.FORCE, null);
    leftF.setContents(new ByteArrayInputStream(left.getBytes()), IFile.FORCE, null);
    rightF.setContents(new ByteArrayInputStream(right.getBytes()), IFile.FORCE, null);
    CompareConfiguration cc = new CompareConfiguration();
    cc.setLeftEditable(leftEditable);
    cc.setRightEditable(rightEditable);
    if (leftLabel == null)
        // $NON-NLS-1$
        leftLabel = "";
    cc.setLeftLabel(leftLabel);
    if (rightLabel == null)
        // $NON-NLS-1$
        rightLabel = "";
    cc.setRightLabel(rightLabel);
    ResourceCompareInput input = new ResourceCompareInput(cc);
    StructuredSelection sel = new StructuredSelection(new IFile[] { leftF, rightF });
    input.setSelection(sel, null);
    input.setCompareHeadInfo(compareHeadInfo);
    CompareUI.openCompareEditor(input);
}
Also used : IFile(org.eclipse.core.resources.IFile) ByteArrayInputStream(java.io.ByteArrayInputStream) CompareConfiguration(org.eclipse.compare.CompareConfiguration) StructuredSelection(org.eclipse.jface.viewers.StructuredSelection) IProject(org.eclipse.core.resources.IProject)

Aggregations

CompareConfiguration (org.eclipse.compare.CompareConfiguration)19 DiffNode (org.eclipse.compare.structuremergeviewer.DiffNode)10 CompareEditorInput (org.eclipse.compare.CompareEditorInput)6 TextMergeViewer (org.eclipse.compare.contentmergeviewer.TextMergeViewer)5 InvocationTargetException (java.lang.reflect.InvocationTargetException)4 IProgressMonitor (org.eclipse.core.runtime.IProgressMonitor)4 IFile (org.eclipse.core.resources.IFile)3 CoreException (org.eclipse.core.runtime.CoreException)3 TextCompareInput (com.cubrid.common.ui.compare.schema.control.TextCompareInput)2 QueryPlanComposite (com.cubrid.common.ui.query.control.queryplan.QueryPlanComposite)2 IOException (java.io.IOException)2 IResource (org.eclipse.core.resources.IResource)2 IPath (org.eclipse.core.runtime.IPath)2 Path (org.eclipse.core.runtime.Path)2 QueryRecord (com.cubrid.common.ui.query.tuner.QueryRecord)1 DatabaseInfo (com.cubrid.cubridmanager.core.cubrid.database.model.DatabaseInfo)1 ByteArrayInputStream (java.io.ByteArrayInputStream)1 SimpleDateFormat (java.text.SimpleDateFormat)1 ArrayList (java.util.ArrayList)1 Collection (java.util.Collection)1