Java Code Examples for org.eclipse.emf.ecore.plugin.EcorePlugin

The following are top voted examples for showing how to use org.eclipse.emf.ecore.plugin.EcorePlugin. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: pokemon-tcgo-deck-generator   File: PkmntcgoFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static PkmntcgoFactory init()
{
  try
  {
    PkmntcgoFactory thePkmntcgoFactory = (PkmntcgoFactory)EPackage.Registry.INSTANCE.getEFactory(PkmntcgoPackage.eNS_URI);
    if (thePkmntcgoFactory != null)
    {
      return thePkmntcgoFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new PkmntcgoFactoryImpl();
}
 
Example 2
Project: Saturn   File: ReferenceModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static ReferenceModuleFactory init()
{
  try
  {
    ReferenceModuleFactory theReferenceModuleFactory = (ReferenceModuleFactory)EPackage.Registry.INSTANCE.getEFactory(ReferenceModulePackage.eNS_URI);
    if (theReferenceModuleFactory != null)
    {
      return theReferenceModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new ReferenceModuleFactoryImpl();
}
 
Example 3
Project: Saturn   File: SaturnReportFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static SaturnReportFactory init()
{
  try
  {
    SaturnReportFactory theSaturnReportFactory = (SaturnReportFactory)EPackage.Registry.INSTANCE.getEFactory(SaturnReportPackage.eNS_URI);
    if (theSaturnReportFactory != null)
    {
      return theSaturnReportFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new SaturnReportFactoryImpl();
}
 
Example 4
Project: neoscada   File: RecipeFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static RecipeFactory init ()
{
    try
    {
        RecipeFactory theRecipeFactory = (RecipeFactory)EPackage.Registry.INSTANCE.getEFactory ( RecipePackage.eNS_URI );
        if ( theRecipeFactory != null )
        {
            return theRecipeFactory;
        }
    }
    catch ( Exception exception )
    {
        EcorePlugin.INSTANCE.log ( exception );
    }
    return new RecipeFactoryImpl ();
}
 
Example 5
Project: neoscada   File: CommonFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static CommonFactory init ()
{
    try
    {
        CommonFactory theCommonFactory = (CommonFactory)EPackage.Registry.INSTANCE.getEFactory ( CommonPackage.eNS_URI );
        if ( theCommonFactory != null )
        {
            return theCommonFactory;
        }
    }
    catch ( Exception exception )
    {
        EcorePlugin.INSTANCE.log ( exception );
    }
    return new CommonFactoryImpl ();
}
 
Example 6
Project: Saturn   File: SoapIOModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static SoapIOModuleFactory init()
{
  try
  {
    SoapIOModuleFactory theSoapIOModuleFactory = (SoapIOModuleFactory)EPackage.Registry.INSTANCE.getEFactory(SoapIOModulePackage.eNS_URI);
    if (theSoapIOModuleFactory != null)
    {
      return theSoapIOModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new SoapIOModuleFactoryImpl();
}
 
Example 7
Project: Saturn   File: H2ResourceFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static H2ResourceFactory init()
{
  try
  {
    H2ResourceFactory theH2ResourceFactory = (H2ResourceFactory)EPackage.Registry.INSTANCE.getEFactory(H2ResourcePackage.eNS_URI);
    if (theH2ResourceFactory != null)
    {
      return theH2ResourceFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new H2ResourceFactoryImpl();
}
 
Example 8
Project: Saturn   File: TeradataResourceFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static TeradataResourceFactory init()
{
  try
  {
    TeradataResourceFactory theTeradataResourceFactory = (TeradataResourceFactory)EPackage.Registry.INSTANCE.getEFactory(TeradataResourcePackage.eNS_URI);
    if (theTeradataResourceFactory != null)
    {
      return theTeradataResourceFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new TeradataResourceFactoryImpl();
}
 
Example 9
Project: Saturn   File: SybaseResourceFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static SybaseResourceFactory init()
{
  try
  {
    SybaseResourceFactory theSybaseResourceFactory = (SybaseResourceFactory)EPackage.Registry.INSTANCE.getEFactory(SybaseResourcePackage.eNS_URI);
    if (theSybaseResourceFactory != null)
    {
      return theSybaseResourceFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new SybaseResourceFactoryImpl();
}
 
Example 10
Project: Saturn   File: BackportFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static BackportFactory init()
{
  try
  {
    BackportFactory theBackportFactory = (BackportFactory)EPackage.Registry.INSTANCE.getEFactory(BackportPackage.eNS_URI);
    if (theBackportFactory != null)
    {
      return theBackportFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new BackportFactoryImpl();
}
 
Example 11
Project: SurveyDSL   File: QueryITValidator.java   View source code 6 votes vote down vote up
/**
 * Validates the choicesNeeded constraint of '<em>Question</em>'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public boolean validateQuestion_choicesNeeded(Question question, DiagnosticChain diagnostics, Map context) {
	// TODO implement the constraint
	// -> specify the condition that violates the constraint
	// -> verify the diagnostic details, including severity, code, and message
	// Ensure that you remove @generated or mark it @generated NOT
	if (false) {
		if (diagnostics != null) {
			diagnostics.add
				(new BasicDiagnostic
					(Diagnostic.ERROR,
					 DIAGNOSTIC_SOURCE,
					 0,
					 EcorePlugin.INSTANCE.getString("_UI_GenericConstraint_diagnostic", new Object[] { "choicesNeeded", getObjectLabel(question, context) }),
					 new Object[] { question }));
		}
		return false;
	}
	return true;
}
 
Example 12
Project: Saturn   File: SaturnFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static SaturnFactory init()
{
  try
  {
    SaturnFactory theSaturnFactory = (SaturnFactory)EPackage.Registry.INSTANCE.getEFactory(SaturnPackage.eNS_URI);
    if (theSaturnFactory != null)
    {
      return theSaturnFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new SaturnFactoryImpl();
}
 
Example 13
Project: org.xtext.dsl.restaurante   File: RestauranteFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static RestauranteFactory init()
{
  try
  {
    RestauranteFactory theRestauranteFactory = (RestauranteFactory)EPackage.Registry.INSTANCE.getEFactory(RestaurantePackage.eNS_URI);
    if (theRestauranteFactory != null)
    {
      return theRestauranteFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new RestauranteFactoryImpl();
}
 
Example 14
Project: Saturn   File: XmlValidatorModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static XmlValidatorModuleFactory init()
{
  try
  {
    XmlValidatorModuleFactory theXmlValidatorModuleFactory = (XmlValidatorModuleFactory)EPackage.Registry.INSTANCE.getEFactory(XmlValidatorModulePackage.eNS_URI);
    if (theXmlValidatorModuleFactory != null)
    {
      return theXmlValidatorModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new XmlValidatorModuleFactoryImpl();
}
 
Example 15
Project: Xtext_Xtend_HTML_Generator   File: MyDslFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static MyDslFactory init()
{
  try
  {
    MyDslFactory theMyDslFactory = (MyDslFactory)EPackage.Registry.INSTANCE.getEFactory(MyDslPackage.eNS_URI);
    if (theMyDslFactory != null)
    {
      return theMyDslFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new MyDslFactoryImpl();
}
 
Example 16
Project: neoscada   File: ArduinoFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static ArduinoFactory init ()
{
    try
    {
        ArduinoFactory theArduinoFactory = (ArduinoFactory)EPackage.Registry.INSTANCE.getEFactory ( ArduinoPackage.eNS_URI );
        if ( theArduinoFactory != null )
        {
            return theArduinoFactory;
        }
    }
    catch ( Exception exception )
    {
        EcorePlugin.INSTANCE.log ( exception );
    }
    return new ArduinoFactoryImpl ();
}
 
Example 17
Project: Saturn   File: PsManagerModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static PsManagerModuleFactory init()
{
  try
  {
    PsManagerModuleFactory thePsManagerModuleFactory = (PsManagerModuleFactory)EPackage.Registry.INSTANCE.getEFactory(PsManagerModulePackage.eNS_URI);
    if (thePsManagerModuleFactory != null)
    {
      return thePsManagerModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new PsManagerModuleFactoryImpl();
}
 
Example 18
Project: Saturn   File: MailModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static MailModuleFactory init()
{
  try
  {
    MailModuleFactory theMailModuleFactory = (MailModuleFactory)EPackage.Registry.INSTANCE.getEFactory(MailModulePackage.eNS_URI);
    if (theMailModuleFactory != null)
    {
      return theMailModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new MailModuleFactoryImpl();
}
 
Example 19
Project: Saturn   File: KronusFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static KronusFactory init()
{
  try
  {
    KronusFactory theKronusFactory = (KronusFactory)EPackage.Registry.INSTANCE.getEFactory(KronusPackage.eNS_URI);
    if (theKronusFactory != null)
    {
      return theKronusFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new KronusFactoryImpl();
}
 
Example 20
Project: Saturn   File: Db2ResourceFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static Db2ResourceFactory init()
{
  try
  {
    Db2ResourceFactory theDb2ResourceFactory = (Db2ResourceFactory)EPackage.Registry.INSTANCE.getEFactory(Db2ResourcePackage.eNS_URI);
    if (theDb2ResourceFactory != null)
    {
      return theDb2ResourceFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new Db2ResourceFactoryImpl();
}
 
Example 21
Project: Saturn   File: IcelinkResourceFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static IcelinkResourceFactory init()
{
  try
  {
    IcelinkResourceFactory theIcelinkResourceFactory = (IcelinkResourceFactory)EPackage.Registry.INSTANCE.getEFactory(IcelinkResourcePackage.eNS_URI);
    if (theIcelinkResourceFactory != null)
    {
      return theIcelinkResourceFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new IcelinkResourceFactoryImpl();
}
 
Example 22
Project: neoscada   File: SetupFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static SetupFactory init ()
{
    try
    {
        SetupFactory theSetupFactory = (SetupFactory)EPackage.Registry.INSTANCE.getEFactory ( SetupPackage.eNS_URI );
        if ( theSetupFactory != null )
        {
            return theSetupFactory;
        }
    }
    catch ( Exception exception )
    {
        EcorePlugin.INSTANCE.log ( exception );
    }
    return new SetupFactoryImpl ();
}
 
Example 23
Project: Saturn   File: EnvValidatorModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static EnvValidatorModuleFactory init()
{
  try
  {
    EnvValidatorModuleFactory theEnvValidatorModuleFactory = (EnvValidatorModuleFactory)EPackage.Registry.INSTANCE.getEFactory(EnvValidatorModulePackage.eNS_URI);
    if (theEnvValidatorModuleFactory != null)
    {
      return theEnvValidatorModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new EnvValidatorModuleFactoryImpl();
}
 
Example 24
Project: Saturn   File: DsValidatorModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static DsValidatorModuleFactory init()
{
  try
  {
    DsValidatorModuleFactory theDsValidatorModuleFactory = (DsValidatorModuleFactory)EPackage.Registry.INSTANCE.getEFactory(DsValidatorModulePackage.eNS_URI);
    if (theDsValidatorModuleFactory != null)
    {
      return theDsValidatorModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new DsValidatorModuleFactoryImpl();
}
 
Example 25
Project: Saturn   File: MapperResourceFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static MapperResourceFactory init()
{
  try
  {
    MapperResourceFactory theMapperResourceFactory = (MapperResourceFactory)EPackage.Registry.INSTANCE.getEFactory(MapperResourcePackage.eNS_URI);
    if (theMapperResourceFactory != null)
    {
      return theMapperResourceFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new MapperResourceFactoryImpl();
}
 
Example 26
Project: Saturn   File: DocumentumModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static DocumentumModuleFactory init()
{
  try
  {
    DocumentumModuleFactory theDocumentumModuleFactory = (DocumentumModuleFactory)EPackage.Registry.INSTANCE.getEFactory(DocumentumModulePackage.eNS_URI);
    if (theDocumentumModuleFactory != null)
    {
      return theDocumentumModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new DocumentumModuleFactoryImpl();
}
 
Example 27
Project: Saturn   File: MqModuleFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public static MqModuleFactory init()
{
  try
  {
    MqModuleFactory theMqModuleFactory = (MqModuleFactory)EPackage.Registry.INSTANCE.getEFactory(MqModulePackage.eNS_URI);
    if (theMqModuleFactory != null)
    {
      return theMqModuleFactory;
    }
  }
  catch (Exception exception)
  {
    EcorePlugin.INSTANCE.log(exception);
  }
  return new MqModuleFactoryImpl();
}
 
Example 28
Project: gemoc-studio-modeldebugging   File: DebugFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
public static DebugFactory init() {
	try {
		DebugFactory theDebugFactory = (DebugFactory)EPackage.Registry.INSTANCE.getEFactory(
				DebugPackage.eNS_URI);
		if (theDebugFactory != null) {
			return theDebugFactory;
		}
	} catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new DebugFactoryImpl();
}
 
Example 29
Project: model-consistency   File: GraphFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static GraphFactory init() {
	try {
		GraphFactory theGraphFactory = (GraphFactory)EPackage.Registry.INSTANCE.getEFactory(GraphPackage.eNS_URI);
		if (theGraphFactory != null) {
			return theGraphFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new GraphFactoryImpl();
}
 
Example 30
Project: ttc2017smartGrids   File: DataclassesFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static DataclassesFactory init() {
	try {
		DataclassesFactory theDataclassesFactory = (DataclassesFactory)EPackage.Registry.INSTANCE.getEFactory(DataclassesPackage.eNS_URI);
		if (theDataclassesFactory != null) {
			return theDataclassesFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new DataclassesFactoryImpl();
}
 
Example 31
Project: ttc2017smartGrids   File: SubstationStandardFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static SubstationStandardFactory init() {
	try {
		SubstationStandardFactory theSubstationStandardFactory = (SubstationStandardFactory)EPackage.Registry.INSTANCE.getEFactory(SubstationStandardPackage.eNS_URI);
		if (theSubstationStandardFactory != null) {
			return theSubstationStandardFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new SubstationStandardFactoryImpl();
}
 
Example 32
Project: ttc2017smartGrids   File: LNGroupYFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static LNGroupYFactory init() {
	try {
		LNGroupYFactory theLNGroupYFactory = (LNGroupYFactory)EPackage.Registry.INSTANCE.getEFactory(LNGroupYPackage.eNS_URI);
		if (theLNGroupYFactory != null) {
			return theLNGroupYFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new LNGroupYFactoryImpl();
}
 
Example 33
Project: ttc2017smartGrids   File: InfPaymentMeteringFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static InfPaymentMeteringFactory init() {
	try {
		InfPaymentMeteringFactory theInfPaymentMeteringFactory = (InfPaymentMeteringFactory)EPackage.Registry.INSTANCE.getEFactory(InfPaymentMeteringPackage.eNS_URI);
		if (theInfPaymentMeteringFactory != null) {
			return theInfPaymentMeteringFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new InfPaymentMeteringFactoryImpl();
}
 
Example 34
Project: ttc2017smartGrids   File: LNGroupTFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static LNGroupTFactory init() {
	try {
		LNGroupTFactory theLNGroupTFactory = (LNGroupTFactory)EPackage.Registry.INSTANCE.getEFactory(LNGroupTPackage.eNS_URI);
		if (theLNGroupTFactory != null) {
			return theLNGroupTFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new LNGroupTFactoryImpl();
}
 
Example 35
Project: ttc2017smartGrids   File: InfGMLSupportFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static InfGMLSupportFactory init() {
	try {
		InfGMLSupportFactory theInfGMLSupportFactory = (InfGMLSupportFactory)EPackage.Registry.INSTANCE.getEFactory(InfGMLSupportPackage.eNS_URI);
		if (theInfGMLSupportFactory != null) {
			return theInfGMLSupportFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new InfGMLSupportFactoryImpl();
}
 
Example 36
Project: ttc2017smartGrids   File: DomainLNsFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static DomainLNsFactory init() {
	try {
		DomainLNsFactory theDomainLNsFactory = (DomainLNsFactory)EPackage.Registry.INSTANCE.getEFactory(DomainLNsPackage.eNS_URI);
		if (theDomainLNsFactory != null) {
			return theDomainLNsFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new DomainLNsFactoryImpl();
}
 
Example 37
Project: gemoc-studio-modeldebugging   File: LaunchconfigurationFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static LaunchconfigurationFactory init() {
	try {
		LaunchconfigurationFactory theLaunchconfigurationFactory = (LaunchconfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(LaunchconfigurationPackage.eNS_URI);
		if (theLaunchconfigurationFactory != null) {
			return theLaunchconfigurationFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new LaunchconfigurationFactoryImpl();
}
 
Example 38
Project: gemoc-studio-modeldebugging   File: StatesFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static StatesFactory init() {
	try {
		StatesFactory theStatesFactory = (StatesFactory)EPackage.Registry.INSTANCE.getEFactory(StatesPackage.eNS_URI);
		if (theStatesFactory != null) {
			return theStatesFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new StatesFactoryImpl();
}
 
Example 39
Project: ttc2017smartGrids   File: ContingencyFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static ContingencyFactory init() {
	try {
		ContingencyFactory theContingencyFactory = (ContingencyFactory)EPackage.Registry.INSTANCE.getEFactory(ContingencyPackage.eNS_URI);
		if (theContingencyFactory != null) {
			return theContingencyFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new ContingencyFactoryImpl();
}
 
Example 40
Project: ttc2017smartGrids   File: InfWorkFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static InfWorkFactory init() {
	try {
		InfWorkFactory theInfWorkFactory = (InfWorkFactory)EPackage.Registry.INSTANCE.getEFactory(InfWorkPackage.eNS_URI);
		if (theInfWorkFactory != null) {
			return theInfWorkFactory;
		}
	}
	catch (Exception exception) {
		EcorePlugin.INSTANCE.log(exception);
	}
	return new InfWorkFactoryImpl();
}