Questions tagged [eclipse-rap]

The Eclipse Remote Application Platform lets you build rich, Ajax-enabled Web applications by using the Eclipse development model/ Use this tag for questions which are specific to RAP rather than general SWT questions.

The Remote Application Platform lets you build rich, Ajax-enabled Web applications by using the Eclipse development model, plug-ins with the well known Eclipse workbench extension points and a widget toolkit with SWT API. RAP provides an implementation of the SWT API called the RAP Widget Toolkit, which makes using the same code basis for Eclipse RCP and Eclipse RAP development possible.

See http://eclipse.org/rap/ for more information and on github https://github.com/eclipse-rap

Related tags

194 questions
1
vote
2 answers

Eclipse RAP: Best practice for "dispose" of widgets?

I am new to Eclipse RAP and have no experience with SWT or Eclipse RCP. But I understand that the developer is responsible to dispose SWT widgets because they have native peers which would block resources of the operating system. But what about…
StaticNoiseLog
  • 1,370
  • 17
  • 27
1
vote
1 answer

Select string from tooltip in RAP

In my RAP application I have SWT Text and registered tooltip on it textSourceLink.setToolTipText("E.g.: p7eail/p7eail_SRN1l.pdf"); On UI when user hover Text tooltip is shown. Is it possible to select text from that shown tooltip and for example…
To Kra
  • 3,344
  • 3
  • 38
  • 45
1
vote
0 answers

How to limit file extension in Eclipse RAP FileDialog

I am using RAP Target 2.3 + Incubator's FileDialog to upload file from browser. Is there any way to limit selection only specific file extensions ?
To Kra
  • 3,344
  • 3
  • 38
  • 45
1
vote
1 answer

I want to create highchart widget by Eclipse RAP and i follow "RAP/Custom Widgets FAQ",but there is error?

i want to create some highchart widget by Eclipse RAP ,and i follow the official guide like this handlejs: var CKEDITOR_BASEPATH = "rwt-resources/"; (function(){ 'use strict'; rap.registerTypeHandler( "rap.sunline.HighCharts", { …
wykCN
  • 17
  • 5
1
vote
3 answers

How to set own image for the cursor for drag operation

It is possible to set/change the image for the cursor for a drag-operatio this way: Listener listener = new Listener() { public void handleEvent(Event event) { switch (event.type) { case SWT.MouseDown: …
Michael
  • 65
  • 7
1
vote
2 answers

How to set own image for a cursor

If I set the cursor for a Label in a css-file as shown below it works as expected. The cursor is a "wait-cursor" if it is moved over the Label Label.mylabel:hover { cursor: wait; } As it is described in the RWT-Theming-Reference the following…
Michael
  • 65
  • 7
1
vote
1 answer

How to hide/remove minimize button in editor?

I'm working with OSGi and RAP. I have one requirement that is to hide/remove the default minimize button at top-right of the editor but keep the maximize button there. But for now I don't have any idea or solution for that. Any suggestion are…
gamo
  • 1,549
  • 7
  • 24
  • 36
1
vote
1 answer

Thread safety in RAP event handlers

I have an RAP (2.3.1) application where the user can click on a button and the panel updates itself. However, if the user clicks multiple times on the button too quickly (or the network/update takes longer on the server), the application sometimes…
akarnokd
  • 69,132
  • 14
  • 157
  • 192
1
vote
1 answer

Is there any way i can get the current Display object from a background thread(jobs) in RAP

we need to get the the current display object in RAP 2.3 from inside a job for updating the UI. what is the suggested way to do that?
Sharif
  • 1,488
  • 17
  • 21
1
vote
1 answer

I need to execute some code only for RCP not For RAP how can i do that

I am working on eclipse RCP/RAP single sourcing. i need to execute some code in resotreState() and saveState() method of ApplicationWorkbenchAdvisor class that is needed only for RCP but not for RAP. What is the best way to implement this?
Sharif
  • 1,488
  • 17
  • 21
1
vote
1 answer

How can I clear a UISession?

From this link I saw that For every instance of a RAP UI, a separate UISession is created. That means that when a user accesses an entry point, that’s a new UISession. When the user reloads the page in the browser, that’s also a new UISession. And…
gamo
  • 1,549
  • 7
  • 24
  • 36
1
vote
1 answer

Eclipse RAP with OSGi Images of Labels won´t show

I have a RAP Application running in OSGI. And I want to display some images. Unfortunately my browser won´t show the image for the file I want. I tested it with an very small gif, which showed. But just one. When I exchanged it with an other it…
der_Chris
  • 45
  • 5
1
vote
2 answers

What should I call this widget?

I'm working with RAP and want to add something look like this image into my view. But I have no idea to call this thing to search on internet. So sorry for unspecific question.
gamo
  • 1,549
  • 7
  • 24
  • 36
1
vote
2 answers

How to add a JPA Persistence.xml file in a RCP or RAP project?

In many document about JPA I have read tell me that I need a Persistence file to work with JPA. That file is automatically created when I make a JPA project but now I want to use JPA in RAP project and also RCP project too. But I don't know how to…
gamo
  • 1,549
  • 7
  • 24
  • 36
1
vote
1 answer

No "RAP application with a view" template when create RAP project

I just began with RAP few weeks ago. I want to create a RAP project with custom view but that template is not show when I try create project. You can see in image below: As I know. It's must be there with RAP Hello and RAP Mail template. Could…
gamo
  • 1,549
  • 7
  • 24
  • 36