Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2011 itemis AG (http://www.itemis.eu) 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 /
 
 package org.eclipse.xtext.ui.editor.embedded;
 
The IEditedResourceProvider returns a new resource that is not necessarily backed up by an IResource. The created resource has to be contained in a fully configured resource set.

Author(s):
Sebastian Zarnekow - Initial contribution and API
Since:
2.2
public interface IEditedResourceProvider {

Create a new resource. Implementors are free to decide whether the resource should be empty or whether its pre-populated with content. The resource has to be contained in a fully configured resource set.

Returns:
a new resource that is contained in a resource set.
New to GrepCode? Check out our FAQ X