Examples of MergeView


Examples of org.locationtech.udig.tools.merge.internal.view.MergeView

     * @param context
     */
    private void openMergeView(int eventX, int eventY, MergeContext mergeContext) {

        try {
            MergeView view = (MergeView) ApplicationGIS.getView(true, MergeView.ID);
            if (view == null) {
                // crates a new merge view
                IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
                        .getActivePage();
                view = (MergeView) page.findView(MergeView.ID);
            }
            assert view != null : "view is null"; //$NON-NLS-1$

            // associates this the merge view with the merge context
            view.setMergeContext(mergeContext);
            mergeContext.activeMergeView(view);

        } catch (Exception ex) {
            AnimationUpdater.runTimer(getContext().getMapDisplay(), new MessageBubble(eventX,
                    eventY, "It cannot be merge", //$NON-NLS-1$
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.