blob: 941de0f448c0a222f8287a775c1fe635a9f5db31 [file] [log] [blame]
/*******************************************************************************
* <copyright>
*
* Copyright (c) 2005, 2010 SAP 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:
* Kiril Mitov - initial API, implementation and documentation
*
* </copyright>
*
*******************************************************************************/
package org.eclipse.jpt.jpadiagrameditor.ui.internal.facade;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.jpt.jpadiagrameditor.ui.internal.util.IDisplayFacade;
import org.eclipse.jpt.jpadiagrameditor.ui.internal.util.IEclipseFacade;
import org.eclipse.jpt.jpadiagrameditor.ui.internal.util.IJavaCoreFacade;
import org.eclipse.jpt.jpadiagrameditor.ui.internal.util.IStaticIDE;
public class EclipseFacade implements IEclipseFacade {
public static EclipseFacade INSTANCE = new EclipseFacade();
private EclipseFacade() {
}
public IJavaCoreFacade getJavaCore() {
return new JavaCoreFacade();
}
public IWorkspace getWorkspace() {
return ResourcesPlugin.getWorkspace();
}
public IDisplayFacade getDisplay() {
return new DisplayFacade();
}
public IStaticIDE getIDE() {
return new StaticIDE();
}
}