Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6921589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:17:47+00:00 2026-05-27T10:17:47+00:00

I am totally new to the Eclipse RCP platform. Are there any example how

  • 0

I am totally new to the Eclipse RCP platform. Are there any example how to use compare editor?

I have created a view, and now I want to add there compare editor to compare text data.

public class MyView extends ViewPart {
    public static final String ID = "rcp.views.myview";

    private TreeViewer treeViewer;

    public MyView() {
        super();
    }

    @Override
    public void createPartControl(Composite parent) {
        CompareViewerPane pane = new CompareViewerPane(parent, SWT.BORDER | SWT.FLAT);
            //?????????????????
    }

    @Override
    public void setFocus() {
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:17:48+00:00Added an answer on May 27, 2026 at 10:17 am

    I have not found a way to set up own view with compare pane (my poor experience in swt and jface, and mostly due to lack of working rcp examples). I have found a way (thanks to http://wiki.eclipse.org/FAQ_How_do_I_create_a_compare_editor%3F) to open compare pane using static methods of CompareUI class.

    One more thing which I struggled with for a long time is setting up compare panes editable (actually I checked out from cvs eclipse compare plugin source code and ran it in debugger to find place where panes are set editable). On the http://wiki.eclipse.org/FAQ_How_do_I_create_a_compare_editor%3F they say that if one wants to create an editable compare pane, he just needs to set editable flags in CompareConfiguration, may be this have changed over time, but don't believe to it. Currently (eclipse indigo) CompareConfiguration has editable flags set by default and to enable editable capability for compare viewers you have to implement IEditableContent interface in your compare data source (CompareTtem that is described http://wiki.eclipse.org/FAQ_How_do_I_create_a_Compare_dialog%3F).

    That is all for now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am totally new to SQL . I have a simple select query similar
I am totally new to emacs and is starting to learn how to use
Totally new to Drupal so be gentle please! Let's say I have a number
Hi I'm totally new to Prestashop and installing it first time can any one
Totally new to Linux, have an Arch Linux machine up. What is the command
I'm totally new with c++ and I'm using eclipse. but... I don't know why
Totally new to Kubuntu and KDevelop. I created a new No GUI(CMake) Simple CMake-based
Alright totally new to jeditable, Say I have some <div> 's and <input type='hidden'
Totally new to Cake. I have this table named Content and another one named
I am totally new to programming and I have chosen Delphi as the programming

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.