EcoreEditor alias Reflective Editor - IResourceChangeListener behavior on delete with marker [message #418246] |
Tue, 08 April 2008 14:29 |
Eclipse User |
|
|
|
Originally posted by: dennis.huebner.gmail.org
Hi all!
I have a following problem. The EcoreEditor doesn't close on resource
deletion if it has a marker attached even if the severity is not "error".
EcoreEditor.class line:
<code>
public boolean visit(IResourceDelta delta)
{
if (delta.getFlags() != IResourceDelta.MARKERS &&
delta.getResource().getType() == IResource.FILE)
{
if ((delta.getKind() & (IResourceDelta.CHANGED |
IResourceDelta.REMOVED)) != 0)
{
</code>
Is this behavior indented?
Thanks a lot and regards,
Dennis.
|
|
|
|
Re: EcoreEditor alias Reflective Editor - IResourceChangeListener behavior on delete with marker [message #418248 is a reply to message #418247] |
Tue, 08 April 2008 15:25 |
Eclipse User |
|
|
|
Originally posted by: dennis.huebner.gmail.org
So the bug fix comes with 2.4, nice. Thanks a lot Ed!
Ed Merks schrieb:
> Dennis,
>
> I think this is https://bugs.eclipse.org/bugs/show_bug.cgi?id=205740.
>
>
> Dennis Hübner wrote:
>> Hi all!
>> I have a following problem. The EcoreEditor doesn't close on resource
>> deletion if it has a marker attached even if the severity is not "error".
>> EcoreEditor.class line:
>> <code>
>> public boolean visit(IResourceDelta delta)
>> {
>> if (delta.getFlags() != IResourceDelta.MARKERS &&
>> delta.getResource().getType() == IResource.FILE)
>> {
>> if ((delta.getKind() & (IResourceDelta.CHANGED |
>> IResourceDelta.REMOVED)) != 0)
>> {
>> </code>
>> Is this behavior indented?
>> Thanks a lot and regards,
>> Dennis.
|
|
|
Powered by
FUDForum. Page generated in 0.03685 seconds