Eclipse rap rich client Development Summary (3)-differences on the current interface of RCP/RAP

Source: Internet
Author: User

Note: Eclipse rap rich client Development Summary-a series of articles are transplanted from my iteye blog. Later will directly update the http://jlins.iteye.com/

Although rap is a Web version of RCP, there are still some differences between rap and rcp because it is a graphical interface and a web interface. Now let's list the differences we encounter in our project, if you encounter it later, you will not waste time looking for reasons. pai_^

 

1. Differences between label and button display

When the text displayed by the label and button is too long to be displayed, the processing methods of the RCP and RAP are different. When the rap shows that the text is not in a meeting, you can intercept the text following by yourself, RCP adds a ellipsis in the middle of the text.

There are also labels and buttons for setting images. when the text is too long, the RAP image will not be displayed. You can use clabel to replace the label.

We recommend that you use a unified processing method: instead of using their own text truncation method, you can calculate the file length in a unified way, and add... To unify the two

2. Differences in treeviewer

Currently, the latest rap version, treeviewer, occasionally blocks data. This issue cannot be effectively avoided for the time being,

3. the attribute view-tree cannot set the Row Height.

For setting the treeviewer height, RCP supports setting the row height, but rap does not. There is no solution at the moment.

4. Support for GEF and draw2d

Currently, rap does not support GEF draw2d, but it is currently under development.

5. Paint listening, no rap

Many larap s do not have the paint repainting method, so many interfaces cannot be repainted. For example, you can add celleditor on the treeviewer to directly edit the interface. Because it is not supported, the position of the celleditor and the current row does not match with the paint. The solution to this problem will be explained in subsequent articles.

6. Extended point difference console extended point

Currently, the rap interface does not provide excellent support for expansion points, and the console extension points and help view extension points are not very complete. However, you can implement them by yourself. This is not very complex.

7. Help system differences

The RCP/RAP help system is completely different. The RAP help system only loads a JSP page.

8. Differences in upload/download

One is the Web and the other is the graphic interface. How can I upload and download images in rap?

9. View dragging

Anyone who has used eclipse knows that views between eclipse can be dragged at will. Currently, rap does not support the drag between views. This is a pity.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.