Home » Eclipse Projects » Remote Application Platform (RAP) » How to insert widget from sandbox into RAP-Target
|
Re: How to insert widget from sandbox into RAP-Target [message #881265 is a reply to message #880687] |
Mon, 04 June 2012 08:47 |
|
Hi Anna,
welcome to the RAP forum.
First off, the sandbox is not maintained anymore [1]. We recently moved
our source code to git, and decided to give up the sandbox module in
favor of the RAP Incubator project [2].
But we did not create an incubator component for this styled text
implementation yet. That's because we do not plan to further develop
this widget - it was an experiment, but followed an inferior approach.
It's not scalable, and there are much better ways to create a StyledText
in RAP.
However, you can still obtain the code from the CVS [3]. To use the
code, import the project into your workspace (Import > Projects from CVS).
Note that you should not copy any files into the eclipse directory. That
was a common practice back in the old days of eclipse but is not
supported anymore. To install software, use Help > Install New Software
or Help > Marketplace.
Regards,
Ralf
[1] Bug 309739 - Rename sandbox
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309739
[2] http://eclipse.org/rap/incubator/
[3]
http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.rap/sandbox/?root=RT_Project
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| |
Re: How to insert widget from sandbox into RAP-Target [message #882322 is a reply to message #881401] |
Wed, 06 June 2012 08:55 |
|
Hi Anna,
Honestly, I don't remember the state of the search plugin. It hasn't
been touched for years, and I think it was more like a PoC.
As for the need for a styled text in RAP, it turns out that for most
business applications, simple text fields are sufficient. And it's not
hard to integrate one of the existing JavaScript-based rich text editors
with RAP. For an example, see the simple CKEditor widget [1].
A real StyledText implementation would be awesome, but as you've already
read, it would be a lot of effort.
Best regards,
Ralf
[1] https://github.com/eclipsesource/rap-ckeditor
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: How to insert widget from sandbox into RAP-Target [message #882540 is a reply to message #882322] |
Wed, 06 June 2012 17:11 |
Rüdiger Herrmann Messages: 335 Registered: July 2009 |
Senior Member |
|
|
Hi Anna,
let me put in what I remember about the search plug-in. It was initially
ported for a customer and maintained with low effort.
However it is part of my workspace and compiles just fine against RAP
from two or so weeks ago.
Note that it has some extra dependencies, org.eclipse.core.resources is
what I recall, but maybe more. Adding them will most likely resolve the
errors that you see.
HTH
RÜdiger
On 06.06.2012 10:55, Ralf Sternberg wrote:
> Hi Anna,
>
> Honestly, I don't remember the state of the search plugin. It hasn't
> been touched for years, and I think it was more like a PoC.
>
> As for the need for a styled text in RAP, it turns out that for most
> business applications, simple text fields are sufficient. And it's not
> hard to integrate one of the existing JavaScript-based rich text editors
> with RAP. For an example, see the simple CKEditor widget [1].
>
> A real StyledText implementation would be awesome, but as you've already
> read, it would be a lot of effort.
>
> Best regards,
> Ralf
>
> [1] https://github.com/eclipsesource/rap-ckeditor
>
--
Rüdiger Herrmann
http://codeaffine.com
|
|
| |
Re: How to insert widget from sandbox into RAP-Target [message #885564 is a reply to message #885146] |
Wed, 13 June 2012 08:52 |
Rüdiger Herrmann Messages: 335 Registered: July 2009 |
Senior Member |
|
|
Anna,
from a purely technical point of view, core.resources can indeed be used
with RAP. It is only of limited use. All user sessions would share a
single workspace - whereas usually (in the IDE/RCP) a user has a
workspace of its own.
Though the search plug-in has a dependency on core.resources it isn't
limited to searching only in resources. You should be fine by adding the
dependency and then forgetting about it.
To add core.resources to you target, you could copy the necessary
plug-ins from your Eclipse installation folder to a separate folder and
add this folder to your target platform.
Besides core.resources itself, you'll need core.filesystem and
core.filesystem.win32 (or whichever OS you are working on).
HTH
Rüdiger
On 12.06.2012 16:32, Anna Friedrich wrote:
> Hi Rüdiger,
> thanks for your information!
> I see, org.eclipse.core.resources is the point in org.eclipse.rap.search
> making trouble.
> Can you explain a bit further how to add this plugin? I thought it is
> not possible to use "org.eclipse.core.resources" inside a RAP aplication?
> This forum helps me so much, I like! :d
> Best regards,
> Anna
--
Rüdiger Herrmann
http://codeaffine.com
|
|
|
Goto Forum:
Current Time: Tue Apr 23 11:27:28 GMT 2024
Powered by FUDForum. Page generated in 0.03472 seconds
|