| /*******************************************************************************
|
| * Copyright (c) 2009 by SAP AG, Walldorf.
|
| * All rights reserved. This program and the accompanying materials
|
| * are made available under the terms of the Eclipse Public License 2.0
|
| * which accompanies this distribution, and is available at
|
| * https://www.eclipse.org/legal/epl-2.0/
|
| *
|
| * SPDX-License-Identifier: EPL-2.0
|
| *
|
| * Contributors:
|
| * SAP AG - initial API and implementation
|
| *******************************************************************************/ |
| package org.eclipse.wst.common.snippets.tests.helpers;
|
|
|
| import org.eclipse.core.runtime.IProgressMonitor;
|
| import org.eclipse.swt.graphics.Image;
|
| import org.eclipse.swt.widgets.Composite;
|
| import org.eclipse.ui.IEditorInput;
|
| import org.eclipse.ui.IEditorPart;
|
| import org.eclipse.ui.IEditorSite;
|
| import org.eclipse.ui.IPropertyListener;
|
| import org.eclipse.ui.IWorkbenchPartSite;
|
| import org.eclipse.ui.PartInitException;
|
|
|
| public class SApplicableEditor implements IEditorPart {
|
|
|
| public IEditorInput getEditorInput() {
|
| return null;
|
| }
|
|
|
| public IEditorSite getEditorSite() {
|
| return null;
|
| }
|
|
|
| public void init(IEditorSite site, IEditorInput input)
|
| throws PartInitException {
|
|
|
| }
|
|
|
| public void addPropertyListener(IPropertyListener listener) {
|
| // TODO Auto-generated method stub
|
|
|
| }
|
|
|
| public void createPartControl(Composite parent) {
|
| // TODO Auto-generated method stub
|
|
|
| }
|
|
|
| public void dispose() {
|
| // TODO Auto-generated method stub
|
|
|
| }
|
|
|
| public IWorkbenchPartSite getSite() {
|
| // TODO Auto-generated method stub
|
| return null;
|
| }
|
|
|
| public String getTitle() {
|
| // TODO Auto-generated method stub
|
| return null;
|
| }
|
|
|
| public Image getTitleImage() {
|
| // TODO Auto-generated method stub
|
| return null;
|
| }
|
|
|
| public String getTitleToolTip() {
|
| // TODO Auto-generated method stub
|
| return null;
|
| }
|
|
|
| public void removePropertyListener(IPropertyListener listener) {
|
| // TODO Auto-generated method stub
|
|
|
| }
|
|
|
| public void setFocus() {
|
| // TODO Auto-generated method stub
|
|
|
| }
|
|
|
| public Object getAdapter(Class adapter) {
|
| // TODO Auto-generated method stub
|
| return null;
|
| }
|
|
|
| public void doSave(IProgressMonitor monitor) {
|
| // TODO Auto-generated method stub
|
|
|
| }
|
|
|
| public void doSaveAs() {
|
| // TODO Auto-generated method stub
|
|
|
| }
|
|
|
| public boolean isDirty() {
|
| // TODO Auto-generated method stub
|
| return false;
|
| }
|
|
|
| public boolean isSaveAsAllowed() {
|
| // TODO Auto-generated method stub
|
| return false;
|
| }
|
|
|
| public boolean isSaveOnCloseNeeded() {
|
| // TODO Auto-generated method stub
|
| return false;
|
| }
|
|
|
| }
|