blob: fca1a601577275cb07d6f9cdca216678a35f8f42 [file] [log] [blame]
/*=============================================================================#
# Copyright (c) 2012, 2021 Stephan Wahlbrink and others.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
#=============================================================================*/
package org.eclipse.statet.internal.rtm.base.ui.editors;
import java.util.UUID;
import org.eclipse.jface.text.Document;
import org.eclipse.statet.jcommons.lang.NonNullByDefault;
import org.eclipse.statet.ltk.core.input.BasicSourceFragment;
/**
* Source fragment of an R process
*/
@NonNullByDefault
public class RCodeGenSourceFragment extends BasicSourceFragment {
public RCodeGenSourceFragment(final String name, final String fullName) {
super("rtask:" + fullName + '-' + UUID.randomUUID(), //$NON-NLS-1$
name, fullName,
new Document() );
}
}