| /********************************************************************* |
| * Copyright (c) 2005, 2019 SAP SE |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Contributors: |
| * mwenz - Bug 356218 - Added hasDoneChanges updates to update diagram feature and |
| * called features via editor command stack to check it |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| **********************************************************************/ |
| package org.eclipse.graphiti.bot.tests; |
| |
| import org.eclipse.graphiti.dt.AbstractDiagramTypeProvider; |
| import org.eclipse.graphiti.ui.features.DefaultFeatureProvider; |
| |
| public class DTPwithAutoUpdateAtStartup extends AbstractDiagramTypeProvider { |
| |
| public DTPwithAutoUpdateAtStartup() { |
| super(); |
| setFeatureProvider(new DefaultFeatureProvider(this)); |
| } |
| |
| @Override |
| public boolean isAutoUpdateAtStartup() { |
| return true; |
| } |
| } |