| /********************************************************************* |
| * 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 341224: Allow to hide the selection and marquee tools in the palette |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| **********************************************************************/ |
| package org.eclipse.graphiti.bot.tests; |
| |
| import org.eclipse.graphiti.dt.IDiagramTypeProvider; |
| import org.eclipse.graphiti.tb.DefaultToolBehaviorProvider; |
| |
| public class TBPwithHiddenSelectionAndMarqueeTool extends DefaultToolBehaviorProvider { |
| |
| public TBPwithHiddenSelectionAndMarqueeTool(IDiagramTypeProvider diagramTypeProvider) { |
| super(diagramTypeProvider); |
| } |
| |
| @Override |
| public boolean isShowSelectionTool() { |
| return false; |
| } |
| |
| @Override |
| public boolean isShowMarqueeTool() { |
| return false; |
| } |
| } |