blob: be7ea221715c7020287234eeb1fbdfba33d1117d (
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
|
/*****************************************************************************
* Copyright (c) 2016 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:
* Nicolas FAUVERGUE (ALL4TEC) nicolas.fauvergue@all4tec.net - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.infra.nattable.properties.constraints;
import org.eclipse.papyrus.infra.nattable.model.nattable.Table;
/**
* The java constraint to define the constraint to not create the paste properties from the active nattable editor.
*
* @since 2.1
*/
public class EObjectInTableCantCreateColumnElementContraint extends EObjectInTableCanCreateColumnElementContraint {
/**
* {@inheritDoc}
*
* @see org.eclipse.papyrus.infra.nattable.properties.constraints.EObjectInTableCanCreateColumnElementContraint#checkMoreConstraints(org.eclipse.papyrus.infra.nattable.model.nattable.Table)
*/
@Override
protected boolean checkMoreConstraints(final Table table) {
return !super.checkMoreConstraints(table);
}
}
|