Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-15Bug 508746 - [Toolsmiths] dispatching customization nattable plugins inFrancois Le Fevre35-0/+6830
there own functional unit Change-Id: Ie7a1621ebe5478885f1ca8ab99d0067470d5929a Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2016-12-14Bug 507293: [Table] Table popup menu are not yet available for empty areaNicolas FAUVERGUE4-1/+76
https://bugs.eclipse.org/bugs/show_bug.cgi?id=507293 Add a default mouse event matcher for corner and no regions to fix the menu problem. Change-Id: I3e50484274b27fb8f0d543437f305a150e5ac2e1 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2016-12-14Bug 509155: [Internationalization] F2 on elements does not modify labelNicolas FAUVERGUE2-4/+53
https://bugs.eclipse.org/bugs/show_bug.cgi?id=509155 - Modify the new DirectEditorConfiguration for NamedElements Diagrams and Tables to manage the label of internationalization Change-Id: I2a449b09ee009dcc93678a17a225221ac1fd49f4 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2016-12-09Bug 506068: NullPointerException in NattableModelManager.updateCellMapThanh Liem PHAN1-57/+63
https://bugs.eclipse.org/bugs/show_bug.cgi?id=506068 - Check potential null objects (located in the method updateCellMap) before calling its methods Change-Id: Ia99ede42d45eb7fd4a72439b978aa9059399c3a7 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2016-12-09Bug 502559: [Table] Improve performances of nested filteringNicolas FAUVERGUE3-10/+10
https://bugs.eclipse.org/bugs/show_bug.cgi?id=502559 - Revert the refresh modifications in FilterRowDataProvider - Manage a copy of the list of filtered elements instead of the list in parameter (which have not to be modified) - This commit fix the JUnit test failure Change-Id: Ife589d3cb6e32ec1c85083a632e261f52ee12d79 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2016-12-07Bug 502560 - [Table] Possibility to drag and drop an object from tableMickael ADAM4-22/+222
to a diagram https://bugs.eclipse.org/bugs/show_bug.cgi?id=502560 - Add drag support to natTable - create NatTableDragSourceListener similar to ViewerDragAdapter from emf but with nattable instead of viewer - TOFIX: drag support and ColumnReorderDragMode are not compliant. Change-Id: I1d424c85f62b20e213e4a048b517dfd1f9871660 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-12-06Bug 502269: [Model Explorer] Renaming an element in the model explorerFanch BONNABESSE3-56/+119
still open a modal editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=502269 Initialize custom Direct editor configuration. Change-Id: I796770ba48a1d5c80b0608983575d8ef4cca84e3 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-12-06Bug 502559: [Table] Improve performances of nested filteringNicolas FAUVERGUE6-768/+1150
https://bugs.eclipse.org/bugs/show_bug.cgi?id=502559 To improve the performance of filtering: - Don't clear all the filter list to recreate it - For this, we need more information in matchers and matcher editors - Correct a problem in the StringMatcherEditorFactory when the cell is not displayed (it can be possible for the relaxed filtering). Change-Id: Ieb045ac8ecec7b235186f315ea7120e1797046f5 Signed-off-by: Nicolas FAUVERGUE <nicolasfauvergue@gmail.com>
2016-12-06Bug 506067: NullPointerException inNicolas FAUVERGUE1-105/+109
AbstractPostActionIdsProvider.getElements https://bugs.eclipse.org/bugs/show_bug.cgi?id=506067 - Fix a NPE Change-Id: Iabe7346da22ac7631db2587cce9f3e97fe620882 Signed-off-by: Nicolas FAUVERGUE <nicolasfauvergue@gmail.com>
2016-12-05Bug 504077: [Table] Papyrus table to support percentage sizing offeredNicolas FAUVERGUE3-4/+54
by NatTable https://bugs.eclipse.org/bugs/show_bug.cgi?id=504077 Improve percentage calculation to fill to exactly 100%. Change-Id: I953d387b6914e137e2f11b0e6011c56ea64289f5 Signed-off-by: Nicolas FAUVERGUE <nicolasfauvergue@gmail.com>
2016-12-05Bug 504077: [Table] Papyrus table to support percentage sizing offeredNicolas FAUVERGUE5-125/+322
by NatTable https://bugs.eclipse.org/bugs/show_bug.cgi?id=504077 Add the named styles: - 'columnsWidthAsPercentage' to manage axis width with percentage. If this named style is managed as true, the 'axisWidth' are managed as percentage too. - 'saveColumnsWidth' to determinate if the 'axisWidth' must be used for the table columns width initialization - Modify the 'stereotype.nattableconfiguration' to manage axisWidth as percentage instead of pixels Change-Id: I2a4b2ea3f6bbd710afa20864051c10f5761f4900 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-12-02Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus mustNicolas FAUVERGUE1-10/+6
integrate the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 Fix TableLabelProvider problem detected by the TableLabelProviderTest after the internationalization merge commit. Change-Id: I3347d48ecfdbb1f99fc3aba15941b5c9b40db591 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-11-29Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus must integrateNicolas FAUVERGUE1-1/+8
the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 Commit of UML for internationalization. Change-Id: Ia61e5ef4d537f9e9b192bcfe073f921542fe4876 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-11-29Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus must integrateNicolas FAUVERGUE19-890/+1263
the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 Commit of infra for internationalization. Change-Id: I1b1859bf111e1ef7a7522212fbe639cf2bd13890 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-11-09Bug 500869 - [Widget] Select Element Dialog should be improvedMickael ADAM3-8/+194
https://bugs.eclipse.org/bugs/show_bug.cgi?id=500869 Change-Id: I29e26992c5bf99aaf145d9046254f93964206309 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-10-28[Bug 500730] [Table]: double popumenu on linux for SysML 1.4Ansgar Radermacher1-3/+0
- Remove natTable.setMenu(). Avoid that SWT opens the context menu instead of NatTable controling it. (see also https://www.eclipse.org/forums/index.php/t/805765/)
2016-10-13bug 504038: [Table] NullPointerException in ↵Vincent Lorenzo1-3/+5
AbstractNattableWidgetManager.getSelectionInTable Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2016-10-13Bug 505825: [Table] Extensions points defined in the plugin ↵Vincent Lorenzo5-544/+544
org.eclipse.papyrus.infra.nattable are declared on fantom interface/class Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2016-10-10Bug 504039 - NullPointerException belowPauline DEVILLE1-6/+8
CreateNatTableFromCatalogHandler$1.dispose (thrown in HashMap.putMapEntries) Change-Id: I2a86e8fc584edeec4884c0a173b0f9af7a7deba7 Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2016-09-27Bug 500219 - [Model Explorer] Papyrus Should provide an other way toMickael ADAM1-1/+1
customize uml label Change-Id: Ic3213ed9aefb636f4e581df7996378dfd96d8937 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-09-23Bug 501332: Sorting mixed-category tree table lead to Eclipse crashNicolas FAUVERGUE1-8/+17
https://bugs.eclipse.org/bugs/show_bug.cgi?id=501332 Problem when sorting 2 elements which not have a common parent (possible for different tree filling parent). Change-Id: I2d2b9c34d6fc2d3b7ea4fb52b4d7bff3a59a1eea Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-09-20Bug 487338: [Table] Column size changes when adding/removing columnsNicolas FAUVERGUE1-26/+31
https://bugs.eclipse.org/bugs/show_bug.cgi?id=487338 Add a check on body layer stack if the command is executed before the nattable display constrcution. Change-Id: I3ea40efe75e40346bae1b96f28296cd337c19919 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-09-16Bug 487338: [Table] Column size changes when adding/removing columnsNicolas FAUVERGUE5-157/+280
https://bugs.eclipse.org/bugs/show_bug.cgi?id=487338 The column width style are always corresponding to the correct columns after reordering. To allow the width recalculation, we manage a command wrapper to reset the correct column width during the command execution. Change-Id: I586af18c190bd7eca6cc0de87ef3c8f649367a7e Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-09-14Bug 497756: [Table] Improvement proposal forSebastien Gabel1-45/+49
AbstractTreeAxisManagerForEventList https://bugs.eclipse.org/bugs/show_bug.cgi?id=497756 * addObject(ITreeItemAxis, Object) : remove 'final' keyword to get the possibility to override this method by clients * add nullity tests to avoid potential NPE Change-Id: Ibf140eaea5791d93a13524fa6d6ed9cbd5abdd2e Signed-off-by: Sebastien Gabel <sebastien.gabel@esterel-technologies.com> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2016-09-12Bug 499541: Provide propertyTester for NatTableProperty EditorSebastien Revol1-1/+24
Change-Id: I3ca29c56dbc31d723b86fa21b8e3e3101e6f9c4d Signed-off-by: Sebastien Revol <sebastien.revol@cea.fr>
2016-08-28Bug 443799 - Fix potential bugs identified by FindBugs in oep.infra.*Florian Noyrit44-1107/+1132
Bug 499554 - Oxygen release version number moved to 3.0.0. Change-Id: I8e112db7175a5b89eb9b37973639627a6c29e007
2016-08-11Bug 497289: [Model Explorer] Renaming an element in the model explorerFanch BONNABESSE7-133/+348
should not open a modal editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=497289 Activation of the DirectEditor configuration on the ModelExplorer view for: - NamedElement - Diagram - Table Add a Preference on "Papyrus > Papyrus Model Explorer > New Child Menu" Change-Id: I760b84ee4b30f8f05ccb6c2f001a4e0f1e82d150 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-08-09Bug 497328: [Table] Popup menu have some disabled items when first clickNicolas FAUVERGUE2-16/+43
outside of the table https://bugs.eclipse.org/bugs/show_bug.cgi?id=497328 Manage the abstract table handler to get NatEventData even if we're not clicking on the table (we got NatTable from the active editor for the sub menu items). Change-Id: Id44fdc582533476f17f8f9ef3ccbf188f2ead642 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-08-09Bug 456841: [Table 2] Copy/paste from Excel in "attached mode" can failNicolas FAUVERGUE1-1/+3
for cells corresponding to stereotype property typed by an Enum https://bugs.eclipse.org/bugs/show_bug.cgi?id=456841 It was not need to check if the stereotype was already applied and throw exception in this case. We ust have to aply stereotype if this is not the case, and do nothing otherwise. Change-Id: I3510f1d020225ce5a185cf6b1e29ebe09957df3c Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-08-04Bug 492891: [Table] Link with editor: different behavior of diagrams andNicolas FAUVERGUE47-291/+1881
tables https://bugs.eclipse.org/bugs/show_bug.cgi?id=492891 - The owner of table can be modified and the context can't be modified - Add the 'Table', 'Appearance' and 'Paste' tab in properties view when an the table is the current editor This looks to correct other bugs: - Bug 492605 - [Table][Properties][usability] error message "Properties are not available" - Bug 492615 - [Table][usability] inconsistency of properties view N.B: The 'invert axis' button doesn't work correctly, but another gerrit manage it Change-Id: I9d22713e81bf865bc59fbd10a34b270e75aa5037 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-08-04Bug 497327: [Table] Paste in not possible when no cells, rows or columnsNicolas FAUVERGUE1-5/+10
are selected https://bugs.eclipse.org/bugs/show_bug.cgi?id=497327 - The paste action must be enabled when no selection is done. This maybe did not work with table selection modification. N.B: This patch don't correct Bug 497328 - [Table] Popup menu have some disabled items when first click outside of the table. Change-Id: I3c2823fc3e4576fd6de22b4f7aa22d96c5e819f4 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-08-04Bug 491783 - Change the ElementTypeConfiguration metamodel to make theFlorian Noyrit5-59/+11
before and after reference directly AdviceConfigurations. Change the interpretation accordingly. Bug 497481 - Change the ElementTypeConfiguration metamodel to replace string-based references to specialization by Ereferences in SpecializationTypeConfiguration. Change the interpretation accordingly. Update oep.infra.types.doc accordingly. Change-Id: I13284a6a74fe3d86427b19424a9b8c4caed01d89
2016-07-27Bug 497738: [Table] Improvement proposal for dispose() ofSebastien Gabel2-9/+19
NattableModelManager and CompositeAxisManagerForEventList 1) NattableModelManager#dispose() - Test nullity of column and row manager before disposing them - set decoration service to null - check that the table is not already disposed before removing various listeners. 2) CompositeAxisManagerForEventList#dispose() - check nullity of the resource set listener before removing it from the listener list - do not call explicitly removeListener() but let the super.dispose() do the job. - add a call to super.removeListeners() Signed-off-by: Sebastien Gabel <sebastien.gabel@esterel-technologies.com>
2016-07-25Bug 497654: [Table] Avoid various NPEs in TableHelper classSebastien Gabel1-6/+7
Change-Id: I51e9e8e7a8cff6ca67cb4eea5f13716d393784a5 Signed-off-by: Sebastien Gabel <sebastien.gabel@esterel-technologies.com>
2016-07-08Bug 494625: [Table] Random failures in Copy-Paste tests in the TablesNicolas FAUVERGUE4-114/+217
https://bugs.eclipse.org/bugs/show_bug.cgi?id=494625 - It seems handler have some random failures. To resolve this, a util class was created and used in JUnit tests. - Change the Fill handle copy check. Change-Id: Ic8655beee95791fc73c794936a14f51a9e956944 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-07-07Bug 497452: [Table] Spurious NPEs when dropping an illegal referenceSebastien Gabel1-2/+3
Change-Id: I5054389071d146e65674a8cbc7e3341003151549 Signed-off-by: Sebastien Gabel <sebastien.gabel@esterel-technologies.com>
2016-07-07Bug 497470 - [Table] Missing listener unregistrations + call to disposeSebastien Gabel3-421/+442
Change-Id: I645f0ba271f8b05d1d1828388b8994c880d68903 Signed-off-by: Sebastien Gabel <sebastien.gabel@esterel-technologies.com>
2016-07-07Bug 497467: [Table] Possible NPE in NattableModelManager when disposingSebastien Gabel1-3/+8
Change-Id: I55d00645454b9876cb1f2c022a7ecd0764c3b304 Signed-off-by: Sebastien Gabel <sebastien.gabel@esterel-technologies.com>
2016-07-07Bug 492086: [Table] Destroy column after undo does nothingNicolas FAUVERGUE1-1/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=492086 - The remove command wrapper is always used by the destroy axis command. - Modify the Stereotype property destroy axis management - Add the JUnit tests Change-Id: I64403ead51ce0663b266f079a9f146fc92155ab7 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-07-06Bug 495787: [Table][Tests] Create a file export to manage the pasteNicolas FAUVERGUE15-167/+947
without using clipboard https://bugs.eclipse.org/bugs/show_bug.cgi?id=495787 - Add the export to file of the table contents (not as menu item) - Replace the selectAll+copy to check the table contents by the export file check - The first copy/paste is replaced by a command parameter with text to copy. Change-Id: I27d782da13f54fb7d368629a9c56716c46463f66 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-06-21Bug 495312: [Table 2] Reordering model-elements duplicates them inNicolas FAUVERGUE1-1/+1
hierarchical synced table https://bugs.eclipse.org/bugs/show_bug.cgi?id=495312 The rows duplicated was managed by an add object into the table even if the row of element was already in the table. For the initial order, this is managed as specified in the 'node' attribute of the 'activity' node (and not like sub elements of it (as model explorer did)). Care to your used feature: For activity nodes, this are displayes as ownedElements and as ownedNodes (2 differents attributes). Change-Id: I51c7b593d4cb91b97f71a0110325a731e376a596 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-06-17Bug 492246; [Table] Impossible to create a table from the catalogNicolas FAUVERGUE1-7/+31
https://bugs.eclipse.org/bugs/show_bug.cgi?id=492246 The wizard was disposed before to get its needed informations. We need to get this ones before the dispose. + Some minor changements for the table name (to not get a table named 'null'). Change-Id: I1578135de28093453f57b6adc1a78b5e2f320ded Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-06-16Bug 496167: [Table][Tests] Table Style error is caught durring commonNicolas FAUVERGUE1-7/+10
table tests https://bugs.eclipse.org/bugs/show_bug.cgi?id=496167 The table seems to be not existing, so the table configuration doesn't exists anymore. Change-Id: Ia26eb1385af89d19b2f3960ec64e8f3a08b1f818 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-06-13Bug 490067: [Table - Properties] Exception when deleting an elementNicolas FAUVERGUE2-12/+21
while a Table is displayed in the properties view https://bugs.eclipse.org/bugs/show_bug.cgi?id=490067 Manage the decoration service as global variable to avoid possible memory leak. Change-Id: I921427254b46e708d78382a8631d3c1c5bc50c9b Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-06-07Bug 495545 - [Test] Memory leak inMickael ADAM3-7/+58
org.eclipse.papyrus.editor.integration.tests.tests.EditingScenariosMemoryLeakTest.testCreateNewElement_table https://bugs.eclipse.org/bugs/show_bug.cgi?id=495545 Change-Id: I82d227e8104a244cc7cebc1a85ca23ab7d41d7e6 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-05-31bug 492873 - [Table] The Create Table Configuration menu appearsNicolas FAUVERGUE1-0/+26
everywhere bug 493756 - [Table] Edit table configuration calls same wizard as "create..." bug 493756 - [Table] Papyrus must provide the Table creation Wizard in the New Dialog Change-Id: Ie708c6a515ffd0498b45cd961d2e3c075e938b0b Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net> Signed-off-by: Vincent LORENZO <vincent.lorenzo@cea.fr>
2016-05-31Bug 494532: [Table][Property View] Resize columns of the tables used inNicolas FAUVERGUE1-45/+102
the Property Set the 'fillColumnsSize' named style to false (if existing) when a column axis is resized. Change-Id: I7b44c49a69e50887fadf80ec374827b9a129c38f Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-05-12Bug 489720: [Table] In Property View, Tables are not resized based onNicolas FAUVERGUE2-16/+70
the view size and layout option https://bugs.eclipse.org/bugs/show_bug.cgi?id=489720 Manage an utils class for the width calculation + JUnit test. Change-Id: I5903c9a3f7053c3a28ed8cf8a1bd1da9de3494b0 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-05-03Bug 483357 - [Table] Popup menu must be available in each context andNicolas FAUVERGUE8-317/+406
mainly in the property view! https://bugs.eclipse.org/bugs/show_bug.cgi?id=483357 Fix Junit tests due to previous changes. Use the nattable row and column selection event insteand of papyrus row and column selection event with the masks. This must be managed with nattable insteand of papyrus with the refactor of nattable model manager selection refactoring. Change-Id: Iddc4f8f75f6f0cae85da024006301acb35e99331 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2016-05-03Bug 489720: [Table] In Property View, Tables are not resized based onNicolas FAUVERGUE1-17/+16
the view size and layout option https://bugs.eclipse.org/bugs/show_bug.cgi?id=489720 Correct the header width calculation. Change-Id: I656497a4ed25e60e77a16968870e2328e44a9d5b Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>

Back to the top