blob: 1edf41bb452e05d732187e78e9ab03cd63c3955f (
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
|
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
*
* 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
*
*****************************************************************************/
package org.eclipse.papyrus.infra.table.common.internal;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.facet.widgets.nattable.INatTableWidget;
import org.eclipse.ui.services.IDisposable;
/**
*
* This interface is used to add some useful method to INatTableWidget
*
*
*/
@Deprecated
/**
* I think this interface is deprecated, because the 2 methods provided by this interfaces are obsolete.
* Now we use TriggerListener in the table, so the command for the synchronization are executed in a best way
* @author VL222926
*
*/
public interface IPapyrusNatTableWidget extends INatTableWidget , IDisposable{
/**
* This method allow to add elements in the table without execute the command in the command stack
* @param elementsToAdd
* the list of the elements to add
*/
@Deprecated
public void addRowsOutOfCommandStack(List<EObject> elementsToAdd);
/**
* This method allow to remove elements from the table without execute the command in the command stack
* @param elementsToDelete
* the list of the element to delete
*/
@Deprecated
public void removeRowsOutOfCommandStack(List<EObject> elementsToDelete);
}
|