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)

It's not that unusual to bring up a dialog when doing a paste.  Explorer 
does it if there's a file with the same name, although this is more of a 
conflict/error case rather than the normal behaviour.

Nick





"Randy Giffen/OTT/OTI" <Randy_Giffen@xxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
11/30/01 09:57 AM
Please respond to platform-ui-dev

 
        To:     platform-ui-dev@xxxxxxxxxxx
        cc: 
        Subject:        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 
        cc: 
        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. 

Dirk 



"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 
       cc: 
       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).

Karice


  
                  "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 
                  clipse.org                     date = 12/03)      
  
  
                  11/29/2001 05:09 AM   
                  Please respond to   
                  platform-ui-dev   
  
  




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
Compilation
Units) and resourses. Now  the user executes Copy. What do we actually 
copy
to the
clipboard:

- 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)


Dirk



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





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

(See attached file: cut-copy-paste-proposal.zip)





_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev







Back to the top