Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315364 - Cut is making a read only file dirty
Summary: Cut is making a read only file dirty
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: Rakesh CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 05:45 EDT by Rakesh CLA
Modified: 2010-08-23 17:08 EDT (History)
1 user (show)

See Also:
nsand.dev: review+


Attachments
Pat (2.98 KB, patch)
2010-06-02 06:31 EDT, Rakesh CLA
nsand.dev: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rakesh CLA 2010-06-02 05:45:51 EDT
Build Identifier: I20100527-1200

Make a file(jsp,xml etc) read only.Open it in source editor.Select a text and right click ,cut is enabled and when executed ,makes editor dirty even though it is read only.

Reproducible: Always
Comment 1 Rakesh CLA 2010-06-02 06:31:37 EDT
Created attachment 170773 [details]
Pat

Cut,Paste,Delete and ContentProposal actions were not created properly in SSE.RunsOnReadOnly parameter should not be true for these Actions.
Comment 2 Nick Sandonato CLA 2010-06-08 11:30:46 EDT
Looks good. Thanks, Rakesh.
Comment 3 Nick Sandonato CLA 2010-08-23 17:08:28 EDT
Code checked in.