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

PkmntcgoFactoryImpl.java 文件源码 项目:pokemon-tcgo-deck-generator 阅读 29 收藏 0 点赞 0 评论 0
/**
 * 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();
}
ReferenceModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 21 收藏 0 点赞 0 评论 0
/**
 * 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();
}
SaturnReportFactoryImpl.java 文件源码 项目:Saturn 阅读 22 收藏 0 点赞 0 评论 0
/**
 * 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();
}
RecipeFactoryImpl.java 文件源码 项目:neoscada 阅读 20 收藏 0 点赞 0 评论 0
/**
 * 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 ();
}
CommonFactoryImpl.java 文件源码 项目:neoscada 阅读 20 收藏 0 点赞 0 评论 0
/**
 * 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 ();
}
SoapIOModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 22 收藏 0 点赞 0 评论 0
/**
 * 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();
}
H2ResourceFactoryImpl.java 文件源码 项目:Saturn 阅读 17 收藏 0 点赞 0 评论 0
/**
 * 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();
}
TeradataResourceFactoryImpl.java 文件源码 项目:Saturn 阅读 19 收藏 0 点赞 0 评论 0
/**
 * 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();
}
SybaseResourceFactoryImpl.java 文件源码 项目:Saturn 阅读 21 收藏 0 点赞 0 评论 0
/**
 * 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();
}
BackportFactoryImpl.java 文件源码 项目:Saturn 阅读 68 收藏 0 点赞 0 评论 0
/**
 * 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();
}
QueryITValidator.java 文件源码 项目:SurveyDSL 阅读 41 收藏 0 点赞 0 评论 0
/**
 * 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;
}
SaturnFactoryImpl.java 文件源码 项目:Saturn 阅读 21 收藏 0 点赞 0 评论 0
/**
 * 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();
}
RestauranteFactoryImpl.java 文件源码 项目:org.xtext.dsl.restaurante 阅读 22 收藏 0 点赞 0 评论 0
/**
 * 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();
}
XmlValidatorModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 22 收藏 0 点赞 0 评论 0
/**
 * 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();
}
MyDslFactoryImpl.java 文件源码 项目:Xtext_Xtend_HTML_Generator 阅读 17 收藏 0 点赞 0 评论 0
/**
 * 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();
}
ArduinoFactoryImpl.java 文件源码 项目:neoscada 阅读 19 收藏 0 点赞 0 评论 0
/**
 * 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 ();
}
PsManagerModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 19 收藏 0 点赞 0 评论 0
/**
 * 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();
}
MailModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 17 收藏 0 点赞 0 评论 0
/**
 * 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();
}
KronusFactoryImpl.java 文件源码 项目:Saturn 阅读 20 收藏 0 点赞 0 评论 0
/**
 * 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();
}
Db2ResourceFactoryImpl.java 文件源码 项目:Saturn 阅读 19 收藏 0 点赞 0 评论 0
/**
 * 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();
}
IcelinkResourceFactoryImpl.java 文件源码 项目:Saturn 阅读 22 收藏 0 点赞 0 评论 0
/**
 * 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();
}
SetupFactoryImpl.java 文件源码 项目:neoscada 阅读 21 收藏 0 点赞 0 评论 0
/**
 * 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 ();
}
EnvValidatorModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 20 收藏 0 点赞 0 评论 0
/**
 * 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();
}
DsValidatorModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 20 收藏 0 点赞 0 评论 0
/**
 * 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();
}
MapperResourceFactoryImpl.java 文件源码 项目:Saturn 阅读 20 收藏 0 点赞 0 评论 0
/**
 * 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();
}
DocumentumModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 22 收藏 0 点赞 0 评论 0
/**
 * 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();
}
MqModuleFactoryImpl.java 文件源码 项目:Saturn 阅读 21 收藏 0 点赞 0 评论 0
/**
 * 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();
}
DebugFactoryImpl.java 文件源码 项目:gemoc-studio-modeldebugging 阅读 20 收藏 0 点赞 0 评论 0
/**
 * 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();
}
GraphFactoryImpl.java 文件源码 项目:model-consistency 阅读 18 收藏 0 点赞 0 评论 0
/**
 * 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();
}
DataclassesFactoryImpl.java 文件源码 项目:ttc2017smartGrids 阅读 17 收藏 0 点赞 0 评论 0
/**
 * 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();
}


问题


面经


文章

微信
公众号

扫码关注公众号