blob: 67d8850b8df7e0ec09af949a604a75975c7a6416 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2021 THALES GLOBAL SERVICES.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.sirius.table.editor.properties.filters.description.linemapping;
// Start of user code specific imports
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.sirius.editor.properties.filters.common.ViewpointPropertyFilter;
import org.eclipse.sirius.table.metamodel.table.description.DescriptionPackage;
// End of user code specific imports
/**
* A filter for the reusedSubLines property section.
*/
public class LineMappingReusedSubLinesFilter extends ViewpointPropertyFilter {
/**
* {@inheritDoc}
*/
@Override
protected EStructuralFeature getFeature() {
return DescriptionPackage.eINSTANCE.getLineMapping_ReusedSubLines();
}
/**
* {@inheritDoc}
*/
@Override
protected boolean isRightInputType(Object arg0) {
return arg0 instanceof org.eclipse.sirius.table.metamodel.table.description.LineMapping;
}
// Start of user code user methods
// End of user code user methods
}