/*******************************************************************************
* Copyright (C) 2012 Angelo Zerr <angelo.zerr@gmail.com>, Pascal Leclercq <pascal.leclercq@gmail.com>
* 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:
* Angelo ZERR - initial API and implementation
* Pascal Leclercq - initial API and implementation
*******************************************************************************/
package fr.opensagres.nosql.ide.ui.editors;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;
/**
* Abstract Editor Input.
*
*/
public abstract class AbstractEditorInput implements IEditorInput {
private String activePageIdOnLoad;
public AbstractEditorInput() {
}
public Object getAdapter(Class adapter) {
return null;
}
public boolean exists() {
return false;
}
public ImageDescriptor getImageDescriptor() {
return null;
}
public IPersistableElement getPersistable() {
return null;
}
public void setActivePageIdOnLoad(String activePageIdOnLoad) {
this.activePageIdOnLoad = activePageIdOnLoad;
}
public String getActivePageIdOnLoad() {
return activePageIdOnLoad;
}
}