com.sap.ide.tools.core.patternfwk.internal
Class PatternFwkPlugin

com.sap.ide.tools.core.patternfwk.internal.PatternFwkPlugin

public class PatternFwkPlugin


Field Summary
static java.lang.String ID_EXTENSION_POINT_SOURCE_PATTERNS
           
static java.lang.String ID_EXTENSION_POINT_SOURCE_PATTERNS_INTERNAL
           
 
Constructor Summary
PatternFwkPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
           
 
Method Summary
static PatternFwkPlugin getDefault()
           
static PatternFwkPlugin getInstance()
           
static java.lang.String getPluginId()
           
static void internalError(java.lang.Class theClass, java.lang.String methodName, java.lang.String message, java.lang.Throwable exception, boolean logOnly)
          Calls com.sap.ide.metamodel.core.services.ServicesUI.internalError which displays an error dialog which shows an error message and information about the location where the error ocurred.
static void internalWarning(java.lang.Class theClass, java.lang.String methodName, java.lang.String message, java.lang.Throwable exception)
          Calls com.sap.ide.metamodel.core.services.ServicesUI.internalWarning which writes a given message to the eclipse log file.
 

Field Detail

ID_EXTENSION_POINT_SOURCE_PATTERNS_INTERNAL

public static final java.lang.String ID_EXTENSION_POINT_SOURCE_PATTERNS_INTERNAL

ID_EXTENSION_POINT_SOURCE_PATTERNS

public static final java.lang.String ID_EXTENSION_POINT_SOURCE_PATTERNS
Constructor Detail

PatternFwkPlugin

public PatternFwkPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
Method Detail

getDefault

public static PatternFwkPlugin getDefault()

internalError

public static void internalError(java.lang.Class theClass,
                                 java.lang.String methodName,
                                 java.lang.String message,
                                 java.lang.Throwable exception,
                                 boolean logOnly)
Calls com.sap.ide.metamodel.core.services.ServicesUI.internalError which displays an error dialog which shows an error message and information about the location where the error ocurred. Only the exception parameter may be null.
Parameters:
theClass - The class in which the error ocurred. Can be obtained with getClass() .
methodName - The name of the method in which the error ocurred.
message - The text for the error message.
exception - Can be null. Displays the message of the exception.
logOnly - If this parameter is set to true , the error dialog won't be displayed. Only the entry to the eclipse .log file will be created.

internalWarning

public static void internalWarning(java.lang.Class theClass,
                                   java.lang.String methodName,
                                   java.lang.String message,
                                   java.lang.Throwable exception)
Calls com.sap.ide.metamodel.core.services.ServicesUI.internalWarning which writes a given message to the eclipse log file. Additional information is provided via the parameters. Only the exception parameter may be null.
Parameters:
theClass - The class in which the error ocurred. Can be obtained with getClass() .
methodName - The name of the method in which the error ocurred.
message - The text for the warning message.
exception - Can be null. Displays the message of the exception.

getInstance

public static PatternFwkPlugin getInstance()

getPluginId

public static java.lang.String getPluginId()


Copyright © 2005 SAP AG. All Rights Reserved.