blob: e63c1d09ececafc73849a45c07fe0e412581855d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
/*****************************************************************************
* Copyright (c) 2017 CEA LIST and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
* Vincent Lorenzo (CEA LIST) - Bug 517742
*****************************************************************************/
package org.eclipse.papyrus.infra.nattable.manager.table;
import java.util.Collection;
import org.eclipse.emf.common.command.Command;
/**
* This interface is here to manage the code specific for Matrix
*
* @since 3.0
*
*
*/
public interface IMatrixTableWidgetManager extends INattableModelManager {
/**
*
* @param objectsToAdd
* the collection of objects to add as Row Sources
* @since 5.0
*/
public void addRowSources(final Collection<Object> objectsToAdd);
/**
*
* @param objectsToRemove
* the collection of objects to remove for Row Sources
* @since 5.0
*/
public void removeRowSources(final Collection<Object> objectsToRemove);
/**
*
* @param objectsToAdd
* the collection of objects to add as Column Sources.
* @since 5.0
*/
public void addColumnSources(final Collection<Object> objectsToAdd);
/**
*
* @param objectsToRemove
* the collection of objects to remove for the Column Sources
* @since 5.0
*/
public void removeColumnSources(final Collection<Object> objectsToRemove);
/**
*
* @param objectsToAdd
* the collection of objects to add as Row Sources
* @return
* the command to add Row Sources
* @since 5.0
*
*/
public Command getAddRowSourcesCommand(final Collection<Object> objectsToAdd);
/**
*
* @param objectsToRemove
* the collection of objects to remove for Row Sources
*
* @return
* the command to remove Row Sources
* @since 5.0
*/
public Command getRemoveRowSourcesCommand(final Collection<Object> objectsToRemove);
/**
*
* @param objectsToAdd
* the collection of objects to add as Column Sources
* @return
* the command to add Column Sources
* @since 5.0
*/
public Command getAddColumnSourcesCommand(final Collection<Object> objectsToAdd);
/**
*
* @param objectsToRemove
* the collection of objects to remove for Row Sources
* @return
* the command to remove Column Sources
* @since 5.0
*/
public Command getRemoveColumnSourcesCommand(final Collection<Object> objectsToRemove);
}
|