Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ActionFactory CUT,COPY, PASTE, ABOUT, PRINT Commented out
ActionFactory CUT,COPY, PASTE, ABOUT, PRINT Commented out [message #128588] Mon, 20 April 2009 08:44 Go to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
Hi,

why are these actions commented out? I want to retarget these actions to by
used by my view!

Regards,
Markus
Re: ActionFactory CUT,COPY, PASTE, ABOUT, PRINT Commented out [message #128614 is a reply to message #128588] Mon, 20 April 2009 08:54 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Markus,

these were completely commented out as the default implementation can't
be supported at the moment.

CUT,COPY and PASTE are using the clipboard which is not yet available in
RWT and may never be available due to browser restrictions.

ABOUT is based on the whole Equinox product story which is not yet ready
to be used on the server-side. We're investigating this at the moment.

PRINT doesn't make much sense at the moment as we only have the Display
implementation of device. I'm not sure if it makes sense to support this
in the same way as RCP does or if it's even possible to have an
alternative implementation behind the scenes.

But I see your point that you want to retarget the action with your own
implementation. This is a valid apporach and should be discussed
further. Do you want to open a feature request?
Just for your information: We will not be able to do this for 1.2 as we
already have API freeze.

Cheers
Benny

Markus Krüger wrote:
> Hi,
>
> why are these actions commented out? I want to retarget these actions to by
> used by my view!
>
> Regards,
> Markus
>
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: ActionFactory CUT,COPY, PASTE, ABOUT, PRINT Commented out [message #128652 is a reply to message #128614] Mon, 20 April 2009 09:15 Go to previous messageGo to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
Thanks for the fast answer.

I know that the default behavior will not work, but retarget should be
possible.

I added a feature request:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=272867

For the meantime, is it possible, to just comment the code in, or would this
lead to errors?
This way I could retarget these actions.

Ragards,
Markus

"Benjamin Muskalla" <bmuskalla@eclipsesource.com> schrieb im Newsbeitrag
news:gshd8i$k11$1@build.eclipse.org...
> Hi Markus,
>
> these were completely commented out as the default implementation can't be
> supported at the moment.
>
> CUT,COPY and PASTE are using the clipboard which is not yet available in
> RWT and may never be available due to browser restrictions.
>
> ABOUT is based on the whole Equinox product story which is not yet ready
> to be used on the server-side. We're investigating this at the moment.
>
> PRINT doesn't make much sense at the moment as we only have the Display
> implementation of device. I'm not sure if it makes sense to support this
> in the same way as RCP does or if it's even possible to have an
> alternative implementation behind the scenes.
>
> But I see your point that you want to retarget the action with your own
> implementation. This is a valid apporach and should be discussed further.
> Do you want to open a feature request?
> Just for your information: We will not be able to do this for 1.2 as we
> already have API freeze.
>
> Cheers
> Benny
>
> Markus Kr
Re: ActionFactory CUT,COPY, PASTE, ABOUT, PRINT Commented out [message #128666 is a reply to message #128588] Mon, 20 April 2009 09:22 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Markus Krüger wrote:
> why are these actions commented out? I want to retarget these actions to by
> used by my view!

RAP does not provide API that it does not support. These actions are not
yet available in RAP.

Ralf
Re: ActionFactory CUT,COPY, PASTE, ABOUT, PRINT Commented out [message #128745 is a reply to message #128666] Mon, 20 April 2009 10:16 Go to previous messageGo to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
What would be an appropriate workaround?

"Ralf Sternberg" <rsternberg@eclipsesource.com> schrieb im Newsbeitrag
news:gshetf$uj4$1@build.eclipse.org...
> Markus Kr
Re: ActionFactory CUT,COPY, PASTE, ABOUT, PRINT Commented out [message #128943 is a reply to message #128745] Mon, 20 April 2009 15:19 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Markus,

I assume, you want to single-source the code with RCP. In this case,
have a look at the general single-sourcing practices here:
http://www.eclipse.org/rap/singlesourcing.php
If single-sourcing is not an issue for you, why not just create your
own actions?

HTH
Rüdiger

Markus Krüger wrote:
> What would be an appropriate workaround?
>
> "Ralf Sternberg" <rsternberg@eclipsesource.com> schrieb im Newsbeitrag
> news:gshetf$uj4$1@build.eclipse.org...
>> Markus Krüger wrote:
>>> why are these actions commented out? I want to retarget these actions to
>>> by
>>> used by my view!
>> RAP does not provide API that it does not support. These actions are not
>> yet available in RAP.
>>
>> Ralf
>
>
Previous Topic:Eclipse Apogee (Nuxeo) and RAP
Next Topic:External UIThread access
Goto Forum:
  


Current Time: Thu Mar 28 19:33:48 GMT 2024

Powered by FUDForum. Page generated in 0.03940 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top