Skip to main content



      Home
Home » Eclipse Projects » GEF » CutRetargetAction missing
CutRetargetAction missing [message #123332] Sat, 20 March 2004 21:11 Go to next message
Eclipse UserFriend
Originally posted by: phil.williams.toadmail.com

Just wondering why there is a CopyRetargetAction, PasteRetargetAction,
and DeleteRetargetAction but no CutRetargetAction.

Anyone care to comment?

Thanks,
Phil
Re: CutRetargetAction missing [message #123553 is a reply to message #123332] Mon, 22 March 2004 11:39 Go to previous messageGo to next message
Eclipse UserFriend
CopyRetargetAction (for CopyTemplateAction) is not copying in the sense as
selecting something in a logic diagram and copying it. It is there as an
accessible means to use the palette.


"Phil Williams" <phil.williams@toadmail.com> wrote in message
news:c3itcl$ou8$2@eclipse.org...
> Just wondering why there is a CopyRetargetAction, PasteRetargetAction,
> and DeleteRetargetAction but no CutRetargetAction.
>
> Anyone care to comment?
>
> Thanks,
> Phil
Re: CutRetargetAction missing [message #123618 is a reply to message #123553] Mon, 22 March 2004 13:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: phil.williams.toadmail.com

This is a multi-part message in MIME format.
--------------020805070702090903070300
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

To follow Randy's mantra that I found several times in the newsgroup:
Copying and pasting are the domain of the model. Therefore, you must
implement your own actions that hook into the retarget actions. This is
exactly what I do in my application. I use the retarget action to call
my actions via the action IDs.

What I was wondering is why does GEF not have a CutRetargetAction but
does have the others.

Phil

Pratik Shah wrote:

>CopyRetargetAction (for CopyTemplateAction) is not copying in the sense as
>selecting something in a logic diagram and copying it. It is there as an
>accessible means to use the palette.
>
>
>"Phil Williams" <phil.williams@toadmail.com> wrote in message
>news:c3itcl$ou8$2@eclipse.org...
>
>
>>Just wondering why there is a CopyRetargetAction, PasteRetargetAction,
>>and DeleteRetargetAction but no CutRetargetAction.
>>
>>Anyone care to comment?
>>
>>Thanks,
>>Phil
>>
>>
>
>
>
>

--------------020805070702090903070300
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
To follow Randy's mantra that I found several times in the newsgroup:&nbsp;
Copying and pasting are the domain of the model.&nbsp; Therefore, you must
implement your own actions that hook into the retarget actions.&nbsp; This
is exactly what I do in my application.&nbsp; I use the retarget action to
call my actions via the action IDs.<br>
<br>
What I was wondering is why does GEF not have a CutRetargetAction but
does have the others.<br>
<br>
Phil<br>
<br>
Pratik Shah wrote:<br>
<blockquote cite="midc3n4kc$vl$1@eclipse.org" type="cite">
<pre wrap="">CopyRetargetAction (for CopyTemplateAction) is not copying in the sense as
selecting something in a logic diagram and copying it. It is there as an
accessible means to use the palette.


"Phil Williams" <a class="moz-txt-link-rfc2396E" href="mailto:phil.williams@toadmail.com">&lt;phil.williams@toadmail.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:c3itcl$ou8$2@eclipse.org">news:c3itcl$ou8$2@eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Just wondering why there is a CopyRetargetAction, PasteRetargetAction,
and DeleteRetargetAction but no CutRetargetAction.

Anyone care to comment?

Thanks,
Phil
</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
</body>
</html>

--------------020805070702090903070300--
Re: CutRetargetAction missing [message #123645 is a reply to message #123618] Mon, 22 March 2004 16:28 Go to previous messageGo to next message
Eclipse UserFriend
This is a multi-part message in MIME format.

------=_NextPart_000_0252_01C4102A.B0463B00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Reason for having copy/paste:
The copy/paste retarget actions that you see in GEF are used solely for =
the palette. And since the palette's static model is provided by GEF, =
they fall in the GEF domain. Like I said earlier, GEF uses those =
actions for accessibility purposes only: to copy something from the =
palette and then paste it in the diagram (hence, an accessible way of =
dragging something from the palette). GEF clients still have to provide =
their own actions for copying/pasting/cutting anything in their model. =
And you don't HAVE to hook into the retarget actions provided by GEF. =
You should be able to create your own retarget actions and everything =
should work just fine. But why do that when we have these two lying =
around?

Reason for not having cut:
You can't cut something from the palette.

"Phil Williams" <phil.williams@toadmail.com> wrote in message =
news:c3nco9$bq1$1@eclipse.org...
To follow Randy's mantra that I found several times in the newsgroup: =
Copying and pasting are the domain of the model. Therefore, you must =
implement your own actions that hook into the retarget actions. This is =
exactly what I do in my application. I use the retarget action to call =
my actions via the action IDs.

What I was wondering is why does GEF not have a CutRetargetAction but =
does have the others.

Phil

Pratik Shah wrote:

CopyRetargetAction (for CopyTemplateAction) is not copying in the sense =
as
selecting something in a logic diagram and copying it. It is there as =
an
accessible means to use the palette.


"Phil Williams" <phil.williams@toadmail.com> wrote in message
news:c3itcl$ou8$2@eclipse.org...
Just wondering why there is a CopyRetargetAction, PasteRetargetAction,
and DeleteRetargetAction but no CutRetargetAction.

Anyone care to comment?

Thanks,
Phil
=20


------=_NextPart_000_0252_01C4102A.B0463B00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Reason for having copy/paste:<BR>The copy/paste retarget actions =
that you=20
see in GEF are used solely for the palette.&nbsp; And since the =
palette's static=20
model is provided by GEF, they fall in the GEF domain.&nbsp; Like I said =

earlier, GEF uses those actions for accessibility purposes only: to copy =

something from the palette and then paste it in the diagram (hence, an=20
accessible way of dragging something from the palette).&nbsp; GEF =
clients still=20
have to provide their own actions for copying/pasting/cutting anything =
in their=20
model.&nbsp; And you don't HAVE to hook into the retarget actions =
provided by=20
GEF.&nbsp; You should be able to create your own retarget actions and =
everything=20
should work just fine.&nbsp; But why do that when we have these two =
lying=20
around?<BR><BR>Reason for not having cut:<BR>You can't cut something =
from the=20
palette.</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Phil Williams" &lt;<A=20
=
href=3D"mailto:phil.williams@toadmail.com">phil.williams@toadmail.com</A>=
&gt;=20
wrote in message <A=20
=
href=3D"news:c3nco9$bq1$1@eclipse.org">news:c3nco9$bq1$1@eclipse.org</A>.=
...</DIV>To=20
follow Randy's mantra that I found several times in the =
newsgroup:&nbsp;=20
Copying and pasting are the domain of the model.&nbsp; Therefore, you =
must=20
implement your own actions that hook into the retarget actions.&nbsp; =
This is=20
exactly what I do in my application.&nbsp; I use the retarget action =
to call=20
my actions via the action IDs.<BR><BR>What I was wondering is why does =
GEF not=20
have a CutRetargetAction but does have the =
others.<BR><BR>Phil<BR><BR>Pratik=20
Shah wrote:<BR>
<BLOCKQUOTE cite=3Dmidc3n4kc$vl$1@eclipse.org type=3D"cite"><PRE =
wrap=3D"">CopyRetargetAction (for CopyTemplateAction) is not copying in =
the sense as
selecting something in a logic diagram and copying it. It is there as =
an
accessible means to use the palette.


"Phil Williams" <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:phil.williams@toadmail.com">&lt;phil.williams@toadmail.com=
&gt;</A> wrote in message
<A class=3Dmoz-txt-link-freetext =
href=3D"news:c3itcl$ou8$2@eclipse.org">news:c3itcl$ou8$2@eclipse.org</A>.=
...
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Just wondering why there is =
a CopyRetargetAction, PasteRetargetAction,
and DeleteRetargetAction but no CutRetargetAction.

Anyone care to comment?

Thanks,
Phil
</PRE></BLOCKQUOTE><PRE wrap=3D""><!---->

</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0252_01C4102A.B0463B00--
Re: CutRetargetAction missing [message #123695 is a reply to message #123645] Mon, 22 March 2004 19:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: phil.williams.toadmail.com

This is a multi-part message in MIME format.
--------------000206050804030400050905
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I see said the blind man....

Thanks for the explaination!

Phil

Pratik Shah wrote:

> Reason for having copy/paste:
> The copy/paste retarget actions that you see in GEF are used solely
> for the palette. And since the palette's static model is provided by
> GEF, they fall in the GEF domain. Like I said earlier, GEF uses those
> actions for accessibility purposes only: to copy something from the
> palette and then paste it in the diagram (hence, an accessible way of
> dragging something from the palette). GEF clients still have to
> provide their own actions for copying/pasting/cutting anything in
> their model. And you don't HAVE to hook into the retarget actions
> provided by GEF. You should be able to create your own retarget
> actions and everything should work just fine. But why do that when we
> have these two lying around?
>
> Reason for not having cut:
> You can't cut something from the palette.
>
>
> "Phil Williams" <phil.williams@toadmail.com
> <mailto:phil.williams@toadmail.com>> wrote in message
> news:c3nco9$bq1$1@eclipse.org...
> To follow Randy's mantra that I found several times in the
> newsgroup: Copying and pasting are the domain of the model.
> Therefore, you must implement your own actions that hook into the
> retarget actions. This is exactly what I do in my application. I
> use the retarget action to call my actions via the action IDs.
>
> What I was wondering is why does GEF not have a CutRetargetAction
> but does have the others.
>
> Phil
>
> Pratik Shah wrote:
>
>>CopyRetargetAction (for CopyTemplateAction) is not copying in the sense as
>>selecting something in a logic diagram and copying it. It is there as an
>>accessible means to use the palette.
>>
>>
>>"Phil Williams" <phil.williams@toadmail.com> wrote in message
>>news:c3itcl$ou8$2@eclipse.org...
>>
>>
>>>Just wondering why there is a CopyRetargetAction, PasteRetargetAction,
>>>and DeleteRetargetAction but no CutRetargetAction.
>>>
>>>Anyone care to comment?
>>>
>>>Thanks,
>>>Phil
>>>
>>>
>>
>>
>>
>>

--------------000206050804030400050905
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
I see said the blind man....<br>
<br>
Thanks for the explaination!<br>
<br>
Phil<br>
<br>
Pratik Shah wrote:
<blockquote cite="midc3nlh4$mgp$1@eclipse.org" type="cite">
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<meta content="MSHTML 6.00.2800.1400" name="GENERATOR">
<style></style>
<div>Reason for having copy/paste:<br>
The copy/paste retarget actions that you see in GEF are used solely for
the palette.&nbsp; And since the palette's static model is provided by GEF,
they fall in the GEF domain.&nbsp; Like I said earlier, GEF uses those
actions for accessibility purposes only: to copy something from the
palette and then paste it in the diagram (hence, an accessible way of
dragging something from the palette).&nbsp; GEF clients still have to
provide their own actions for copying/pasting/cutting anything in their
model.&nbsp; And you don't HAVE to hook into the retarget actions provided
by GEF.&nbsp; You should be able to create your own retarget actions and
everything should work just fine.&nbsp; But why do that when we have these
two lying around?<br>
<br>
Reason for not having cut:<br>
You can't cut something from the palette.</div>
<div>&nbsp;</div>
<blockquote dir="ltr"
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>"Phil Williams" &lt;<a href="mailto:phil.williams@toadmail.com">phil.williams@toadmail.com</a>&gt;
wrote in message <a href="news:c3nco9$bq1$1@eclipse.org">news:c3nco9$bq1$1@eclipse.org</a>...</div>
To follow Randy's mantra that I found several times in the newsgroup:&nbsp;
Copying and pasting are the domain of the model.&nbsp; Therefore, you must
implement your own actions that hook into the retarget actions.&nbsp; This
is exactly what I do in my application.&nbsp; I use the retarget action to
call my actions via the action IDs.<br>
<br>
What I was wondering is why does GEF not have a CutRetargetAction but
does have the others.<br>
<br>
Phil<br>
<br>
Pratik Shah wrote:<br>
<blockquote cite="midc3n4kc$vl$1@eclipse.org" type="cite">
<pre wrap="">CopyRetargetAction (for CopyTemplateAction) is not copying in the sense as
selecting something in a logic diagram and copying it. It is there as an
accessible means to use the palette.


"Phil Williams" <a class="moz-txt-link-rfc2396E"
href="mailto:phil.williams@toadmail.com">&lt;phil.williams@toadmail.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:c3itcl$ou8$2@eclipse.org">news:c3itcl$ou8$2@eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Just wondering why there is a CopyRetargetAction, PasteRetargetAction,
and DeleteRetargetAction but no CutRetargetAction.

Anyone care to comment?

Thanks,
Phil
</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
</blockquote>
</blockquote>
</body>
</html>

--------------000206050804030400050905--
Re: CutRetargetAction missing [message #124514 is a reply to message #123645] Fri, 26 March 2004 10:29 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

This is a multi-part message in MIME format.

------=_NextPart_000_0121_01C4131D.3B1E7E50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

We should deprecate CopyRetargetAction and PasteRetargetAction. I don't =
know what they are doing, maybe the intention was for them to be on the =
toolbar??
"Pratik Shah" <ppshah@us.ibm.com> wrote in message =
news:c3nlh4$mgp$1@eclipse.org...
Reason for having copy/paste:
The copy/paste retarget actions that you see in GEF are used solely =
for the palette. And since the palette's static model is provided by =
GEF, they fall in the GEF domain. Like I said earlier, GEF uses those =
actions for accessibility purposes only: to copy something from the =
palette and then paste it in the diagram (hence, an accessible way of =
dragging something from the palette). GEF clients still have to provide =
their own actions for copying/pasting/cutting anything in their model. =
And you don't HAVE to hook into the retarget actions provided by GEF. =
You should be able to create your own retarget actions and everything =
should work just fine. But why do that when we have these two lying =
around?

Reason for not having cut:
You can't cut something from the palette.

"Phil Williams" <phil.williams@toadmail.com> wrote in message =
news:c3nco9$bq1$1@eclipse.org...
To follow Randy's mantra that I found several times in the =
newsgroup: Copying and pasting are the domain of the model. Therefore, =
you must implement your own actions that hook into the retarget actions. =
This is exactly what I do in my application. I use the retarget action =
to call my actions via the action IDs.

What I was wondering is why does GEF not have a CutRetargetAction =
but does have the others.

Phil

Pratik Shah wrote:

CopyRetargetAction (for CopyTemplateAction) is not copying in the sense =
as
selecting something in a logic diagram and copying it. It is there as =
an
accessible means to use the palette.


"Phil Williams" <phil.williams@toadmail.com> wrote in message
news:c3itcl$ou8$2@eclipse.org...
Just wondering why there is a CopyRetargetAction, PasteRetargetAction,
and DeleteRetargetAction but no CutRetargetAction.

Anyone care to comment?

Thanks,
Phil
=20


------=_NextPart_000_0121_01C4131D.3B1E7E50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>We should deprecate CopyRetargetAction =
and=20
PasteRetargetAction.&nbsp; I don't know what they are doing, maybe the =
intention=20
was for them to be on the toolbar??</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Pratik Shah" &lt;<A=20
href=3D"mailto:ppshah@us.ibm.com">ppshah@us.ibm.com</A>&gt; wrote in =
message <A=20
=
href=3D"news:c3nlh4$mgp$1@eclipse.org">news:c3nlh4$mgp$1@eclipse.org</A>.=
...</DIV>
<DIV>Reason for having copy/paste:<BR>The copy/paste retarget actions =
that you=20
see in GEF are used solely for the palette.&nbsp; And since the =
palette's=20
static model is provided by GEF, they fall in the GEF domain.&nbsp; =
Like I=20
said earlier, GEF uses those actions for accessibility purposes only: =
to copy=20
something from the palette and then paste it in the diagram (hence, an =

accessible way of dragging something from the palette).&nbsp; GEF =
clients=20
still have to provide their own actions for copying/pasting/cutting =
anything=20
in their model.&nbsp; And you don't HAVE to hook into the retarget =
actions=20
provided by GEF.&nbsp; You should be able to create your own retarget =
actions=20
and everything should work just fine.&nbsp; But why do that when we =
have these=20
two lying around?<BR><BR>Reason for not having cut:<BR>You can't cut =
something=20
from the palette.</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Phil Williams" &lt;<A=20
=
href=3D"mailto:phil.williams@toadmail.com">phil.williams@toadmail.com</A>=
&gt;=20
wrote in message <A=20
=
href=3D"news:c3nco9$bq1$1@eclipse.org">news:c3nco9$bq1$1@eclipse.org</A>.=
...</DIV>To=20
follow Randy's mantra that I found several times in the =
newsgroup:&nbsp;=20
Copying and pasting are the domain of the model.&nbsp; Therefore, =
you must=20
implement your own actions that hook into the retarget =
actions.&nbsp; This=20
is exactly what I do in my application.&nbsp; I use the retarget =
action to=20
call my actions via the action IDs.<BR><BR>What I was wondering is =
why does=20
GEF not have a CutRetargetAction but does have the=20
others.<BR><BR>Phil<BR><BR>Pratik Shah wrote:<BR>
<BLOCKQUOTE cite=3Dmidc3n4kc$vl$1@eclipse.org type=3D"cite"><PRE =
wrap=3D"">CopyRetargetAction (for CopyTemplateAction) is not copying in =
the sense as
selecting something in a logic diagram and copying it. It is there as =
an
accessible means to use the palette.


"Phil Williams" <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:phil.williams@toadmail.com">&lt;phil.williams@toadmail.com=
&gt;</A> wrote in message
<A class=3Dmoz-txt-link-freetext =
href=3D"news:c3itcl$ou8$2@eclipse.org">news:c3itcl$ou8$2@eclipse.org</A>.=
...
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Just wondering why there =
is a CopyRetargetAction, PasteRetargetAction,
and DeleteRetargetAction but no CutRetargetAction.

Anyone care to comment?

Thanks,
Phil
</PRE></BLOCKQUOTE><PRE wrap=3D""><!---->

</PRE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML >

------=_NextPart_000_0121_01C4131D.3B1E7E50--
Previous Topic:Bug check + RCP key handler
Next Topic:Circle and identifying points
Goto Forum:
  


Current Time: Tue Jun 24 10:53:03 EDT 2025

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

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

Back to the top