Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui.outline;
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
/**
* customization of the default outline structure
*
*/
public class DynamicScreenDslOutlineTreeProvider extends DefaultOutlineTreeProvider {
}
| 62 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui.labeling;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
import com.google.inject.Inject;
/**
* Provides labels for a EObjects.
*
* see http://www.eclipse.org/Xte... | 165 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui.labeling;
import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
/**
* Provides labels for a IEObjectDescriptions and IResourceDescriptions.
*
* see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#labelProvider
*/
public c... | 141 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* Use this class to register components to be used within the IDE.
*/
public class DynamicScreenDslUiModule extends nl.dslmeinte.xtext.examples.ui.AbstractDynamicScreenDslUiModule {
public Dynami... | 86 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui.contentassist;
import nl.dslmeinte.xtext.examples.ui.contentassist.AbstractDynamicScreenDslProposalProvider;
/**
* see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#contentAssist on how to customize content assistant
*/
public class Dyn... | 82 |
github-java-corpus | 2,012 |
package nl.dslmeinte.xtext.examples.ui.quickfix;
import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
public class DynamicScreenDslQuickfixProvider extends DefaultQuickfixProvider {
// @Fix(MyJavaValidator.INVALID_NAME)
// public void capitalizeName(final Issue issue, IssueResolutionAcceptor accepto... | 173 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.xsd.ui.outline;
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
/**
* customization of the default outline structure
*
*/
public class XsdLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider {
}
| 62 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.xsd.ui.labeling;
import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
/**
* Provides labels for a IEObjectDescriptions and IResourceDescriptions.
*
* see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#labelProvider
*/
public class ... | 141 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.xsd.ui.labeling;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
import com.google.inject.Inject;
/**
* Provides labels for a EObjects.
*
* see http://www.eclipse.org/Xtext/... | 165 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.xsd.ui.contentassist;
import nl.dslmeinte.xtext.xsd.ui.contentassist.AbstractXsdLanguageProposalProvider;
/**
* see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#contentAssist on how to customize content assistant
*/
public class XsdLanguageProposa... | 81 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.xsd.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* Use this class to register components to be used within the IDE.
*/
public class XsdLanguageUiModule extends nl.dslmeinte.xtext.xsd.ui.AbstractXsdLanguageUiModule {
public XsdLanguageUiModule(Abstra... | 85 |
github-java-corpus | 2,012 |
package nl.dslmeinte.xtext.xsd.ui.quickfix;
import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
public class XsdLanguageQuickfixProvider extends DefaultQuickfixProvider {
// @Fix(MyJavaValidator.INVALID_NAME)
// public void capitalizeName(final Issue issue, IssueResolutionAcceptor acceptor) {
// a... | 173 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.dtd.util;
import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import nl.dslmeinte.xtext.dtd.DtdStandaloneSetup;
import nl.dslmeinte.xtext.dtd.dtdModel.DocumentTypeDefinition;
import nl.dslm... | 583 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.dtd.util;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import nl.dslmeinte.xtext.dtd.dtdModel.Attribute;
import nl.dslmeinte.xtext.dtd.dtdModel.AttributeList;
import nl.dslmeinte.xtext.dtd.dtdModel.Definition;
import nl.dslmeinte.xtext.d... | 631 |
github-java-corpus | 2,012 |
package nl.dslmeinte.xtext.dtd;
/**
* Initialization support for running Xtext languages
* without equinox extension registry
*/
public class DtdStandaloneSetup extends DtdStandaloneSetupGenerated{
public static void doSetup() {
new DtdStandaloneSetup().createInjectorAndDoEMFRegistration();
}
}
| 68 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.dtd.scoping;
import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider;
/**
* This class contains custom scoping description.
*
* see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping
* on how and when to use it
*
*/
pub... | 89 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.dtd.formatting;
import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter;
import org.eclipse.xtext.formatting.impl.FormattingConfig;
/**
* This class contains custom formatting description.
*
* see : http://www.eclipse.org/Xtext/documentation/la... | 238 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.dtd;
/**
* Use this class to register components to be used at runtime / without the Equinox extension registry.
*/
public class DtdRuntimeModule extends nl.dslmeinte.xtext.dtd.AbstractDtdRuntimeModule {
}
| 58 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.dtd.serializer;
public class DtdSemanticSequencer extends AbstractDtdSemanticSequencer {
}
| 27 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.dtd.serializer;
public class DtdSyntacticSequencer extends AbstractDtdSyntacticSequencer {
}
| 31 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.dtd.validation;
public class DtdJavaValidator extends AbstractDtdJavaValidator {
// @Check
// public void checkGreetingStartsWithCapital(Greeting greeting) {
// if (!Character.isUpperCase(greeting.getName().charAt(0))) {
// warning("Name should start with a capital", MyDslPackage.Liter... | 90 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui.outline;
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
/**
* customization of the default outline structure
*
*/
public class DataModelDslOutlineTreeProvider extends DefaultOutlineTreeProvider {
}
| 62 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui.labeling;
import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
/**
* Provides labels for a IEObjectDescriptions and IResourceDescriptions.
*
* see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#labelProvider
*/
public c... | 141 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui.labeling;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
import com.google.inject.Inject;
/**
* Provides labels for a EObjects.
*
* see http://www.eclipse.org/Xte... | 165 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui.contentassist;
import nl.dslmeinte.xtext.examples.ui.contentassist.AbstractDataModelDslProposalProvider;
/**
* see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#contentAssist on how to customize content assistant
*/
public class DataMod... | 82 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.examples.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* Use this class to register components to be used within the IDE.
*/
public class DataModelDslUiModule extends nl.dslmeinte.xtext.examples.ui.AbstractDataModelDslUiModule {
public DataModelDslUi... | 86 |
github-java-corpus | 2,012 |
package nl.dslmeinte.xtext.examples.ui.quickfix;
import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
public class DataModelDslQuickfixProvider extends DefaultQuickfixProvider {
// @Fix(MyJavaValidator.INVALID_NAME)
// public void capitalizeName(final Issue issue, IssueResolutionAcceptor acceptor) {... | 173 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.xsd.formatting;
import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter;
import org.eclipse.xtext.formatting.impl.FormattingConfig;
/**
* This class contains custom formatting description.
*
* see : http://www.eclipse.org/Xtext/documentation/la... | 236 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.xsd;
import nl.dslmeinte.xtext.xsd.parsing.CustomConversions;
import org.eclipse.xtext.common.services.DefaultTerminalConverters;
import org.eclipse.xtext.conversion.IValueConverter;
public class XsdLanguageRuntimeModule extends nl.dslmeinte.xtext.xsd.AbstractXsdLanguageRuntimeModule {
/... | 123 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.xsd.validation;
public class XsdLanguageJavaValidator extends XsdLanguageXtendValidator {}
| 26 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.xsd.parsing;
import java.util.regex.Pattern;
import org.eclipse.xtext.common.services.DefaultTerminalConverters;
import org.eclipse.xtext.conversion.IValueConverter;
import org.eclipse.xtext.conversion.IValueConverterService;
import org.eclipse.xtext.conversion.ValueConverter;
import com.g... | 213 |
github-java-corpus | 2,012 |
package nl.dslmeinte.xtext.xsd;
/**
* Initialization support for running Xtext languages
* without equinox extension registry
*/
public class XsdLanguageStandaloneSetup extends XsdLanguageStandaloneSetupGenerated{
public static void doSetup() {
new XsdLanguageStandaloneSetup().createInjectorAndDoEMFRegistrati... | 72 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.wsdl.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* Use this class to register components to be used within the IDE.
*/
public class WsdlLanguageUiModule extends nl.dslmeinte.xtext.wsdl.ui.AbstractWsdlLanguageUiModule {
public WsdlLanguageUiModule(A... | 87 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.wsdl.ui.outline;
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
/**
* customization of the default outline structure
*
*/
public class WsdlLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider {
}
| 63 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.wsdl.ui.labeling;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
import com.google.inject.Inject;
/**
* Provides labels for a EObjects.
*
* see http://www.eclipse.org/Xtext... | 167 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.wsdl.ui.labeling;
import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
/**
* Provides labels for a IEObjectDescriptions and IResourceDescriptions.
*
* see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#labelProvider
*/
public class... | 142 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.wsdl.ui.contentassist;
import nl.dslmeinte.xtext.wsdl.ui.contentassist.AbstractWsdlLanguageProposalProvider;
/**
* see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#contentAssist on how to customize content assistant
*/
public class WsdlLanguagePro... | 82 |
github-java-corpus | 2,012 |
package nl.dslmeinte.xtext.wsdl.ui.quickfix;
import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
public class WsdlLanguageQuickfixProvider extends DefaultQuickfixProvider {
// @Fix(MyJavaValidator.INVALID_NAME)
// public void capitalizeName(final Issue issue, IssueResolutionAcceptor acceptor) {
// ... | 174 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.conditional.scoping;
import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider;
/**
* This class contains custom scoping description.
*
* see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping
* on how and when to use it
*... | 89 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.conditional.serializer;
public class ConditionalSyntacticSequencer extends AbstractConditionalSyntacticSequencer {
}
| 30 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.conditional.serializer;
public class ConditionalSemanticSequencer extends AbstractConditionalSemanticSequencer {
}
| 26 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.conditional;
/**
* Use this class to register components to be used at runtime / without the Equinox extension registry.
*/
public class ConditionalRuntimeModule extends nl.dslmeinte.xtext.conditional.AbstractConditionalRuntimeModule {
}
| 58 |
github-java-corpus | 2,012 |
package nl.dslmeinte.xtext.conditional;
/**
* Initialization support for running Xtext languages
* without equinox extension registry
*/
public class ConditionalStandaloneSetup extends ConditionalStandaloneSetupGenerated{
public static void doSetup() {
new ConditionalStandaloneSetup().createInjectorAndDoEMFRe... | 66 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.sgml.base.scoping;
import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider;
/**
* This class contains custom scoping description.
*
* see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping
* on how and when to use it
*
... | 90 |
github-java-corpus | 2,012 | /*
* generated by Xtext
*/
package nl.dslmeinte.xtext.sgml.base.formatting;
import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter;
import org.eclipse.xtext.formatting.impl.FormattingConfig;
/**
* This class contains custom formatting description.
*
* see : http://www.eclipse.org/Xtext/documentat... | 239 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.base;
import nl.dslmeinte.xtext.sgml.base.base.BasePackage;
import org.eclipse.emf.ecore.EPackage;
import com.google.inject.Injector;
/**
* Initialization support for running Xtext languages without Equinox extension
* registry.
*/
public class BaseStandaloneSetup extends BaseStan... | 173 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.base.services;
import org.eclipse.xtext.conversion.IValueConverter;
import org.eclipse.xtext.conversion.ValueConverter;
import org.eclipse.xtext.conversion.ValueConverterException;
import org.eclipse.xtext.conversion.impl.AbstractDeclarativeValueConverterService;
import org.eclipse.xtex... | 221 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.base.serializer;
public class BaseSemanticSequencer extends AbstractBaseSemanticSequencer {
}
| 27 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.base.serializer;
public class BaseSyntacticSequencer extends AbstractBaseSyntacticSequencer {
}
| 31 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.base.validation;
public class BaseJavaValidator extends AbstractBaseJavaValidator {
// @Check
// public void checkGreetingStartsWithCapital(Greeting greeting) {
// if (!Character.isUpperCase(greeting.getName().charAt(0))) {
// warning("Name should start with a capital", MyDslPacka... | 90 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.base;
import nl.dslmeinte.xtext.sgml.base.services.BaseTerminalsConverter;
import org.eclipse.xtext.conversion.IValueConverterService;
/**
* Use this class to register components to be used at runtime / without the
* Equinox extension registry.
*/
public class BaseRuntimeModule ext... | 109 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.base.guice;
import nl.dslmeinte.xtext.sgml.base.services.BaseTerminalsConverter;
import nl.dslmeinte.xtext.sgml.lexer.SgmlLexerForParsing;
import org.eclipse.xtext.conversion.IValueConverterService;
import com.google.inject.Binder;
import com.google.inject.name.Names;
/**
* Support ... | 360 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.lexer;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import nl.dslmeinte.xtext.antlr.trie.CaseInsensitiveTrie;
import nl.dslmeinte.xtext.antlr.trie.MapBasedTrie;
import nl.dslmeinte.xtext.antlr.trie.TrieSupport;
import nl.dslmeinte.xtext.sgml.lexer.TokenHe... | 603 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.lexer;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.MismatchedTokenException;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.Token;
/**
* An interface intended to be able to decouple the actual lexing implementation
* from the base class, whi... | 169 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.lexer;
import nl.dslmeinte.xtext.antlr.trie.EnumBasedTrie;
/**
* Enumeration of all the terminals in the base grammar ({@code Base.xtext}).
* <p>
* This enumeration is used to conveniently and safely map these terminals to
* generated {@code int} identifiers.
*
* @author Meinte ... | 505 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.lexer;
import nl.dslmeinte.xtext.sgml.base.guice.RuntimeModuleSupport;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.RecognitionException;
import com.google.inject.Inject;
/**
* The {@link org.eclipse.xtext.parser.antlr.Lexer} implementation which uses
* the {@link ... | 356 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.lexer;
import nl.dslmeinte.xtext.antlr.trie.CaseInsensitiveTrie;
import com.google.inject.ImplementedBy;
/**
* Implementations of this interface provide run-time efficient mapping from
* {@link BaseTerminals} to their ANTLR token types (encoded as {@code int}) and
* matching of non... | 174 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.lexer;
import static nl.dslmeinte.xtext.sgml.lexer.BaseTerminals.*;
import static nl.dslmeinte.xtext.sgml.lexer.SgmlLexer.LexicalState.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import nl.dslmeinte.xtext.antlr.trie.CaseInsensi... | 3,153 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.lexer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map.Entry;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.TokenTool;
import org.eclipse.xtext.util.Strings;
import com.google.in... | 645 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.contenttype;
import static nl.dslmeinte.xtext.sgml.contenttype.Terminals.*;
import static nl.dslmeinte.xtext.sgml.contenttype.SimpleSgmlRecognizer.Result.*;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.MismatchedSetException;
import org.antlr.runtime.RecognitionExcepti... | 1,109 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.contenttype;
/**
* Token types used to recognize SGML documents using
* {@link SimpleSgmlRecognizer}.
*
* @author Meinte Boersma
*/
enum Terminals {
/**
* A contiguous sequence of whitespace characters, as determined by
* {@link Character#isWhitespace(int)}.
*/
whitespace... | 147 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.sgml.contenttype;
/**
* Simple token representation used by {@link SimpleSgmlRecognizer}.
*
* @author Meinte Boersma
*/
class Token {
private Terminals type;
private String text;
Token(Terminals type) {
this(type, null);
}
Token(Terminals type, String text) {
this.type = typ... | 169 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.express.tests;
import java.io.InputStream;
import junit.framework.Assert;
import nl.dslmeinte.xtext.express.ExpressStandaloneSetup;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.URIConverter;
import org.eclipse.emf.mwe.u... | 198 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.express.tests;
import nl.dslmeinte.xtext.express.base.BaseStandaloneSetup;
import org.eclipse.xtext.junit.AbstractXtextTests;
import org.junit.Before;
public class BaseTests extends AbstractXtextTests {
@Before
public void setUp() throws Exception {
super.setUp();
with(BaseStandalon... | 121 |
github-java-corpus | 2,012 | package nl.dslmeinte.xtext.express.tests;
import nl.dslmeinte.xtext.express.ExpressStandaloneSetup;
import org.eclipse.xtext.junit.AbstractXtextTests;
import org.junit.Before;
import org.junit.Test;
public class EntityTests extends AbstractXtextTests {
@Before
public void setUp() throws Exception {
super.setUp(... | 247 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.client;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.validation.ConstraintViolation;
import at.mikemitterer.gwt.module.log.SingleLineConsoleLogHandler;
import at.m... | 3,001 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.client.model;
import at.mikemitterer.gwt.rfsample.server.domain.Person;
import at.mikemitterer.gwt.rfsample.server.service.UniversalEntityLocator;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;
... | 131 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.client;
import at.mikemitterer.gwt.rfsample.client.model.PersonProxy;
import at.mikemitterer.gwt.rfsample.server.db.PersonDAO;
import at.mikemitterer.gwt.rfsample.server.service.DAOServiceLocator;
import com.google.web.bindery.requestfactory.shared.Request;
import com.googl... | 297 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.shared.util;
/**
* More infos about Loglevels: http://download.oracle.com/javase/6/docs/api/java/util/logging/Level.html
*
* @author mikemitterer
*/
public class Level extends java.util.logging.Level {
public static Level DEBUG = new Level("DEBUG", Level.INFO.intValue());
pu... | 128 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.server.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import at.mikemitterer.gwt.rfsample.server.db.PersonDAO;
import at.mikemitterer.gwt.rfsample.server.domain.DatastoreObject;
import com.google.web.bindery.requestfactory.shared.Locator;
public class Universa... | 414 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.server.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.web.bindery.requestfactory.shared.ServiceLocator;
public class DAOServiceLocator implements ServiceLocator {
private static Logger logger = LoggerFactory.getLogger(DAOServiceLocator.class.... | 194 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.server.domain;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.PrePersist;
import javax.persistence.Version;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DatastoreObject {
private static Logger logger = LoggerFactor... | 216 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.server.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.Size;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Entity
public class Person extends DatastoreObject {
private static Logger logger = Log... | 246 |
github-java-corpus | 2,012 | package at.mikemitterer.gwt.rfsample.server.db;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import at.mikemitterer.gwt.rfsample.server.domain.Person;
public class PersonDAO {
private static Logger logger = LoggerFactory.... | 876 |
github-java-corpus | 2,012 |
package synthdrivers.RolandSPD11;
import javax.swing.JOptionPane;
import core.BankDriver;
import core.ErrorMsg;
import core.Patch;
/**
*
* @author peter
*/
public class SPD11DumpAllDriver extends BankDriver {
private final SPD11SystemDriver systemDriver;
private final SPD11ChainDriver chainDriver;
pr... | 1,628 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Peter Geirnaert
*
* This file is part of JSynthLib.
*
* JSynthLib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later ve... | 826 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
/**
*
* @author peter
*/
public class SPD11_Constants {
/**
* Used by <code>PadParamSender#generate(value)</code>
* @param paramsender a RolandDT1 sysex... | 4,457 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
import javax.sound.midi.SysexMessage;
/**
*
* @author peter
*/
public class SPD11PadConverter extends Converter {
final SPD11PadDriver padDriver;
final SPD11... | 747 |
github-java-corpus | 2,012 | package synthdrivers.RolandSPD11;
import core.*;
import javax.swing.*;
import java.awt.*;
class RolandSPD11PatchEditor extends PatchEditorFrame
{
public RolandSPD11PatchEditor(Patch patch)
{
super ("Roland SPD11 Patch Editor",patch);
JTabbedPane patchPane = new JTabbedPane();
JPanel ptchstPane = new ... | 323 |
github-java-corpus | 2,012 | package synthdrivers.RolandSPD11;
//import synthdrivers.RolandSPD11.SPD11PadDriver;
//import synthdrivers.RolandSPD11.SPD11SettingsDriver;
import core.*;
import javax.sound.midi.SysexMessage;
//import java.io.UnsupportedEncodingException;
/**
* Patch Driver for Roland SPD-11 Total Percussion Pad
*
* @author <a href... | 2,476 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
import javax.swing.*;
import java.awt.*;
/**
*
* @author peter
*/
public class SPD11Patch2Editor extends PatchEditorFrame
{
//private Patch patch;
public SPD11... | 2,283 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Peter Geirnaert
*
* This file is part of JSynthLib.
*
* JSynthLib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later ve... | 338 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Peter Geirnaert
*
* This file is part of JSynthLib.
*
* JSynthLib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later ve... | 1,020 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
// import javax.swing.*;
import java.awt.*;
/**
*
* @author peter
*/
public class SPD11PadEditor extends PatchEditorFrame {
/**
* editor for pad data
* ... | 1,600 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
import javax.sound.midi.SysexMessage;
/**
*
* @author peter
*/
public class SPD11CompletePatchConverter extends Converter {
//private static final int PADSIZE = ... | 450 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Peter Geirnaert
*
* This file is part of JSynthLib.
*
* JSynthLib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later ve... | 1,759 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
import javax.swing.*;
import java.awt.*;
/**
*
* @author peter
*/
public class SPD11SettingsEditor extends PatchEditorFrame {
private Patch patch;
public SPD... | 1,464 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
//import javax.sound.midi.SysexMessage;
/**
*
* @author peter
*/
public class SPD11DumpAllConverter extends Converter {
protected SPD11Patch2Driver patch2Driver;
... | 822 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
import javax.sound.midi.InvalidMidiDataException;
import javax.sound.midi.SysexMessage;
/**
*
* @author peter
*/
public class SPD11PadInstSender extends SysexSender {... | 660 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Peter Geirnaert
*
* This file is part of JSynthLib.
*
* JSynthLib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later ve... | 850 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
/**
*
* @author peter
* to set a parameter, use this sysex message:
* F0 41 09 60 12 00 "patch" "pad" "parameter" "value" "checksum" F7
*/
public class SPD11PadPara... | 1,073 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
/**
* Decay values are from -31 to 31,
* they are represented by their 2's complement
* @author peter
*/
public class SPD11PadDecaySender extends SysexSender{
int... | 493 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Peter Geirnaert
*
* This file is part of JSynthLib.
*
* JSynthLib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later ve... | 547 |
github-java-corpus | 2,012 | /*
* Copyright 2009 Peter Geirnaert
*
* This file is part of JSynthLib.
*
* JSynthLib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later ve... | 795 |
github-java-corpus | 2,012 | package synthdrivers.RolandSPD11;
import core.Driver;
import core.Patch;
import core.SysexHandler;
import core.JSLFrame;
import core.*;
/**
*
* @author peter
*/
public class SPD11SettingsDriver extends Driver {
final static SysexHandler SYS_REQ = new SysexHandler
//0 1 2 3 4 5 6 7 8 9 10 1... | 1,205 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
/**
* Decay values are from -31 to 31,
* they are represented by their 2's complement
* @author peter
*/
class SPD11PadDecayModel implements SysexWidget.IParamModel ... | 399 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package synthdrivers.RolandSPD11;
import core.*;
/**
*
* @author peter
*/
public class SPD11Sender extends SysexSender{
private byte[] sysex = new byte[12];
/**
*
* @param p
* @param param
... | 416 |
github-java-corpus | 2,012 | package com.shawinc.jenkins.plugin.userbuildsstartedaction;
import hudson.Extension;
import hudson.model.Action;
import hudson.model.Cause;
import hudson.model.Hudson;
import hudson.model.Job;
import hudson.model.ParameterValue;
import hudson.model.ParametersAction;
import hudson.model.Run;
import hudson.model.RunPara... | 1,168 |
github-java-corpus | 2,012 | package com.cmaher.game;
public enum FactionType {
None,
Player,
Enemy,
PlayerBullet,
EnemyBullet
}
| 30 |
github-java-corpus | 2,012 | package com.cmaher.game;
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.cmaher.game.asset.AssetWrapper;
import com.cmaher.game.collision.CollisionManager;
import com.cmaher.game.properties.GameProperties;
public interface GameBase extends ApplicationL... | 99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.