Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] RFC: Cut, Copy, Paste Proposal (end date = 12/03)

Moving data to and from the clipboard is done using the same Transfers that are used for drag and drop.
I can drag a .java and .gif together from one package to another so you will be able to use the same implementation for cut/paste

One issue that concerns me is that move of a compilation unit in the packages view currently opens a dialog which gives one the option to update references as well (trigger a refactoring). When you change move to a cut/paste sequence how will you offer this option? I suppose it is possible to open a dialog in response to the paste but this is a little unusual.

P.S. I just noticed that you are opening a dialog to ask this very question when I drag and drop a compilation unit so a dialog on paste seems OK. In fact you should be able to reuse the drop dialog.

"Dirk Baeumer/ZRH/OTI" <Dirk_Baeumer@xxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

11/30/01 05:04 AM
Please respond to platform-ui-dev

        To:        platform-ui-dev@xxxxxxxxxxx
        Subject:        Re: [platform-ui-dev] RFC: Cut, Copy, Paste Proposal (end date = 12/03)

For the Packages view it is a little bit different since a package can contain Java elements (compilation units) and

IResources (for example gif files). So as a user I would expect to be able to select everything in a package and

say copy. So may be we have to convert everything into IResources before we store it into the clipboard.


"Karice McIntyre/OTT/OTI" <Karice_McIntyre@xxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

29.11.2001 16:39
Please respond to platform-ui-dev

       To:        platform-ui-dev@xxxxxxxxxxx
       Subject:        Re: [platform-ui-dev] RFC: Cut, Copy, Paste Proposal (end date = 12/03)

In the Navigator, we won't allow the user to copy projects and
files/folders simultaneously.  Also, only sibling elements in the tree can
be copied simultaneously (this is how copy currently is enabled in the
Navigator).  This should make it clear for the user as to what he can copy
(and, bonus, it's easier to implement).


                  "Dirk Baeumer/ZRH/OTI"                                                                                  
                  <Dirk_Baeumer@xxxxxxx>         To:     platform-ui-dev@xxxxxxxxxxx                                      
                  Sent by:                       cc:                                                                      
                  platform-ui-dev-admin@e        Subject:     Re: [platform-ui-dev] RFC: Cut, Copy, Paste Proposal (end    
                             date = 12/03)                                                            
                  11/29/2001 05:09 AM                                                                                      
                  Please respond to                                                                                        

One open issue for me is how we handle selections that are heterogeneous.
Consider the
following example: in the packages view someone selects Java elements (e.g
Units) and resourses. Now  the user executes Copy. What do we actually copy
to the

- a sepcial Transfer that deals with resources and compilation units
- only the compilation units
- only the resources
- all selected elements as resources. We convert the compilation units to
resources. But in
this case we loose some information.
- we don't allow copy in this situation (would be hard for the user to
understand since he doesn't
see any difference between compilation units and resources)


 "Karice McIntyre/OTT/OTI"                                              
 <Karice_McIntyre@xxxxxxx>            To:                                
 Sent by:                     platform-ui-dev@xxxxxxxxxxx                
 platform-ui-dev-admin@eclips         cc:                                                        Subject:        [platform-ui-dev]  
                              RFC: Cut, Copy, Paste Proposal (end date  
                              = 12/03)                                  
 26.11.2001 23:31                                                        
 Please respond to                                                      

Please provide comments on the following proposal by 12/03.  This is not a
call for committers to vote.

(See attached file:

platform-ui-dev mailing list

Back to the top