Java 类org.eclipse.emf.ecore.plugin.EcorePlugin 实例源码

项目:pokemon-tcgo-deck-generator    文件:PkmntcgoFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:ReferenceModuleFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:SaturnReportFactoryImpl.java   
/**
 * 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();
}
项目:neoscada    文件:RecipeFactoryImpl.java   
/**
 * 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 ();
}
项目:neoscada    文件:CommonFactoryImpl.java   
/**
 * 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 ();
}
项目:Saturn    文件:SoapIOModuleFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:H2ResourceFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:TeradataResourceFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:SybaseResourceFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:BackportFactoryImpl.java   
/**
 * 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();
}
项目:SurveyDSL    文件:QueryITValidator.java   
/**
 * 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;
}
项目:Saturn    文件:SaturnFactoryImpl.java   
/**
 * 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();
}
项目:org.xtext.dsl.restaurante    文件:RestauranteFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:XmlValidatorModuleFactoryImpl.java   
/**
 * 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();
}
项目:Xtext_Xtend_HTML_Generator    文件:MyDslFactoryImpl.java   
/**
 * 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();
}
项目:neoscada    文件:ArduinoFactoryImpl.java   
/**
 * 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 ();
}
项目:Saturn    文件:PsManagerModuleFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:MailModuleFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:KronusFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:Db2ResourceFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:IcelinkResourceFactoryImpl.java   
/**
 * 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();
}
项目:neoscada    文件:SetupFactoryImpl.java   
/**
 * 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 ();
}
项目:Saturn    文件:EnvValidatorModuleFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:DsValidatorModuleFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:MapperResourceFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:DocumentumModuleFactoryImpl.java   
/**
 * 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();
}
项目:Saturn    文件:MqModuleFactoryImpl.java   
/**
 * 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();
}
项目:gemoc-studio-modeldebugging    文件:DebugFactoryImpl.java   
/**
 * 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();
}
项目:model-consistency    文件:GraphFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:DataclassesFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:SubstationStandardFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:LNGroupYFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:InfPaymentMeteringFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:LNGroupTFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:InfGMLSupportFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:DomainLNsFactoryImpl.java   
/**
 * 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();
}
项目:gemoc-studio-modeldebugging    文件:LaunchconfigurationFactoryImpl.java   
/**
 * 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();
}
项目:gemoc-studio-modeldebugging    文件:StatesFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:ContingencyFactoryImpl.java   
/**
 * 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();
}
项目:ttc2017smartGrids    文件:InfWorkFactoryImpl.java   
/**
 * 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();
}