| /******************************************************************************* |
| * Copyright (c) 2013 BSI Business Systems Integration AG. |
| * All rights reserved. This program and the accompanying materials |
| * are 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: |
| * BSI Business Systems Integration AG - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.scout.sdk.ui.executor; |
| |
| import org.eclipse.jface.viewers.IStructuredSelection; |
| import org.eclipse.scout.sdk.ui.wizard.tablecolumn.DefaultTableColumnNewWizard; |
| import org.eclipse.ui.INewWizard; |
| |
| /** |
| * <h3>{@link DefaultTableColumnNewExecutor}</h3> |
| * |
| * @author Matthias Villiger |
| * @since 4.1.0 10.10.2014 |
| */ |
| public class DefaultTableColumnNewExecutor extends AbstractWizardExecutor { |
| |
| public static final String ID = "org.eclipse.scout.sdk.ui.action.create.DefaultTableColumnNewAction"; |
| |
| @Override |
| public INewWizard getNewWizardInstance() { |
| return new DefaultTableColumnNewWizard(); |
| } |
| |
| @Override |
| public boolean canRun(IStructuredSelection selection) { |
| return true; |
| } |
| } |