mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
Merge pull request #1400 from eclipse/jk-gh1394
[#1394] deprecate single WS root config and schedule it for removal
This commit is contained in:
commit
f0f35d5298
2 changed files with 6 additions and 0 deletions
|
@ -14,7 +14,10 @@ import org.eclipse.xtext.workspace.IWorkspaceConfig;
|
|||
/**
|
||||
* @author Jan Koehnlein - Initial contribution and API
|
||||
* @since 2.11
|
||||
* @deprecated use the {@link IMultiRootWorkspaceConfigFactory} instead.
|
||||
* This interface is scheduled to be removed with 2.22.
|
||||
*/
|
||||
@Deprecated//(forRemoval=true)
|
||||
public interface IWorkspaceConfigFactory {
|
||||
/**
|
||||
* Create a workspace config at the given location.
|
||||
|
|
|
@ -18,7 +18,10 @@ import org.eclipse.xtext.workspace.WorkspaceConfig;
|
|||
*
|
||||
* @author Jan Koehnlein - Initial contribution and API
|
||||
* @since 2.11
|
||||
* @deprecated use the {@link MultiRootWorkspaceConfigFactory} instead.
|
||||
* This class is scheduled to be removed with 2.22.
|
||||
*/
|
||||
@Deprecated//(forRemoval=true)
|
||||
public class ProjectWorkspaceConfigFactory implements IWorkspaceConfigFactory {
|
||||
@Override
|
||||
public IWorkspaceConfig getWorkspaceConfig(URI workspaceBaseURI) {
|
||||
|
|
Loading…
Reference in a new issue