Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » 'Save as' problem
'Save as' problem [message #461450] Fri, 23 September 2005 11:46 Go to next message
Bhavani is currently offline BhavaniFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,
I open a.txt, then i save that a.txt as a.java
I expected Eclipse to open a.java in java editor but to my surprise it was
still open in text editor.
But when we close a.java then open it again , it opens in java editor.
Re: 'Save as' problem [message #461451 is a reply to message #461450] Fri, 23 September 2005 12:07 Go to previous messageGo to next message
arne anka is currently offline arne ankaFriend
Messages: 133
Registered: July 2009
Senior Member
does it happen in eclipse or in an application you've written? if in
eclipse you're probably better off with eclipse.platform instead of
eclipse.platform.swt.
Re: 'Save as' problem [message #461452 is a reply to message #461450] Fri, 23 September 2005 12:15 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Bhavani wrote:
> Hi,
> I open a.txt, then i save that a.txt as a.java
> I expected Eclipse to open a.java in java editor but to my surprise it
> was still open in text editor.
> But when we close a.java then open it again , it opens in java editor.

1. you should ask questions like this in eclipse.platform, since it's
about eclipse, not SWT.

2. it is expected behaviour since the action was save as, not open
editor, but if you think it should work differently open an enhancement
request using https://bugs.eclipse.org/bugs/enter_bug.cgi against
Platform / UI

Later,
PW


Previous Topic:TableEditor examples with Combo, Checkbox, ...
Next Topic:[KTable] New Release 2.0
Goto Forum:
  


Current Time: Sat Oct 21 16:09:38 GMT 2017

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

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