Community
Participate
Working Groups
I apply 2 Facets from the same FacetSet in the table editor. One Facet is applicable to a uml.NamedElement, and the other is applicable to a uml.Class. When I apply both, only one facet column appears (instead of two). When I apply only one of both, it always appears correctly.
Created attachment 201124 [details] movie showing what happens
Created attachment 202158 [details] Unit test Here is a unit test for this bug. (a) I, Gregoire Dupe, wrote 100% of the code I've provided. (b) I have the right to contribute the code to Eclipse. (c) I contribute the content under the EPL. (d) This contribution contains no Cryptography features.
Created attachment 202159 [details] Patch Here is a patch for this bug. (a) I, Gregoire Dupe, wrote 100% of the code I've provided. (b) I have the right to contribute the code to Eclipse. (c) I contribute the content under the EPL. (d) This contribution contains no Cryptography features.
Comment on attachment 202159 [details] Patch The patch adds a few Java and checkstyle warnings in NatTableWidget.java around line 453. Apart from this, it looks good to me.
Comment on attachment 202158 [details] Unit test In Bug354224Test, it took me a while to understand why finalNatTableWidgetList was an ArrayList. What I usually do to return an instance from a Runnable is to pass it through a primitive array of size 1. I think it makes the purpose clearer. Even better is the way it's done in SWTBot, with syncExec defined as: <T> T syncExec(final Result<T> runnable) Maybe we could make it a utility in EMF Facet.
(In reply to comment #4) and (In reply to comment #5) > Comment on attachment 202158 [details] > Comment on attachment 202159 [details] Ok, I'll applied the Nicolas' recommendation before to commit. Ed, do you agree to commit those patches before RC2 ? Regards, Gregoire
Comment on attachment 202158 [details] Unit test I've committed this patch on the branch 0_1.
Comment on attachment 202159 [details] Patch I've committed this patch on the branch 0_1.
Comment on attachment 202159 [details] Patch I've committed this patch in the trunk. Committed revision 806.
Comment on attachment 202158 [details] Unit test I've committed this patch in the trunk. Committed revision 807.
This bug can be marked as fixed.
This bug can be closed.