/******************************************************************************* * Copyright (c) 2011, 2012, 2013 Red Hat, Inc. * All rights reserved. * This program is 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: * Red Hat, Inc. - initial API and implementation ******************************************************************************/ package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.property; import org.eclipse.bpmn2.modeler.core.merrimac.clad.AbstractBpmn2PropertySection; import org.eclipse.bpmn2.modeler.core.merrimac.clad.AbstractPropertiesProvider; import org.eclipse.bpmn2.modeler.ui.property.tasks.MultiInstanceLoopCharacteristicsDetailComposite; import org.eclipse.emf.ecore.EObject; import org.eclipse.swt.widgets.Composite; public class JbpmMultiInstanceDetailComposite extends MultiInstanceLoopCharacteristicsDetailComposite { public JbpmMultiInstanceDetailComposite(Composite parent, int style) { super(parent, style); } public JbpmMultiInstanceDetailComposite(AbstractBpmn2PropertySection section) { super(section); } @Override public AbstractPropertiesProvider getPropertiesProvider(EObject object) { if (propertiesProvider==null) { propertiesProvider = new AbstractPropertiesProvider(object) { String[] properties = new String[] { "isSequential", //$NON-NLS-1$ "inputDataItem", //$NON-NLS-1$ "outputDataItem", //$NON-NLS-1$ "loopDataInputRef", //$NON-NLS-1$ "loopDataOutputRef", //$NON-NLS-1$ "completionCondition", //$NON-NLS-1$ "loopCardinality", //$NON-NLS-1$ }; @Override public String[] getProperties() { return properties; } }; } return propertiesProvider; } }