Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EcoreEditor alias Reflective Editor - IResourceChangeListener behavior on delete with marker
EcoreEditor alias Reflective Editor - IResourceChangeListener behavior on delete with marker [message #418246] Tue, 08 April 2008 14:29 Go to next message
Eclipse UserFriend
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 #418247 is a reply to message #418246] Tue, 08 April 2008 14:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:xs:any as EList<EObject>
Next Topic:Generating JPA tags into the implementation class
Goto Forum:
  


Current Time: Sat Apr 27 00:41:39 GMT 2024

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

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

Back to the top