blob: b7a06ce2c669a4238661d212759c1c2cdff9d7de [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Obeo.
* 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/
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.sirius.workflow.model.editor.properties.filters.workflow.activitydescription;
// 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.workflow.WorkflowPackage;
// End of user code specific imports
/**
* A filter for the labelExpression property section.
*/
public class ActivityDescriptionLabelExpressionFilter extends ViewpointPropertyFilter {
/**
* {@inheritDoc}
*/
@Override
protected EStructuralFeature getFeature() {
return WorkflowPackage.eINSTANCE.getActivityDescription_LabelExpression();
}
/**
* {@inheritDoc}
*/
@Override
protected boolean isRightInputType(Object arg0) {
return arg0 instanceof org.eclipse.sirius.workflow.ActivityDescription;
}
// Start of user code user methods
// End of user code user methods
}