blob: 892e79aae9cc3d8ea25a498a2173b27f24f3658f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 RCP Vision (http://www.rcp-vision.com) and others.
* 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:
* Francesco Guidieri - Initial contribution and API
*******************************************************************************/
package org.eclipse.emf.parsley.tests.swtbot.factories.editabletable;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.parsley.examples.library.EXTLibraryPackage;
import org.eclipse.emf.parsley.tests.swtbot.EmfParsleySWTBotAbstractTests;
import org.eclipse.emf.parsley.views.AbstractSaveableTableView;
import org.eclipse.swt.SWT;
public class TestSaveableResourceTableWithEditView extends AbstractSaveableTableView {
@Override
protected EClass getEClass() {
return EXTLibraryPackage.Literals.BOOK;
}
@Override
protected URI createResourceURI() {
return URI.createPlatformResourceURI(
EmfParsleySWTBotAbstractTests.MY_EXTLIBRARY_RELATIVE_PATH, true);
}
@Override
protected int createTableStyles() {
return SWT.SINGLE;
}
}