|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.modeler.ModelerPlugin
public class ModelerPlugin
The main plugin class to be used in the desktop.
| Constructor Summary | |
|---|---|
ModelerPlugin()
Deprecated. |
|
| Method Summary | |
|---|---|
static void |
debug(java.lang.String message)
Deprecated. Write a debug message if the debug is enabled. |
static void |
displayDialog(java.lang.String title,
java.lang.String message,
int level)
Deprecated. Display a dialog box with the specified level |
static org.eclipse.ui.IWorkbenchPage |
getActivePage()
Deprecated. Returns the active workbench page or null if none. |
static org.eclipse.swt.widgets.Shell |
getActiveWorkbenchShell()
Deprecated. Returns the active workbench shell |
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
Deprecated. Returns the active workbench window |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String path)
Deprecated. Returns an image descriptor for the image file at the given plug-in relative path. |
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
Deprecated. Returns the workspace instance. |
static void |
log(org.eclipse.core.runtime.IStatus status)
Deprecated. Log an IStatus |
static void |
log(java.lang.String message,
int level)
Deprecated. Log a message with given level into the Eclipse log file |
static void |
log(java.lang.String message,
java.lang.Throwable e)
Deprecated. Log an exception into the Eclipse log file |
static void |
log(java.lang.Throwable e)
Deprecated. Log an exception into the Eclipse log file |
static void |
openURL(java.net.URL url)
Deprecated. Open an url with the configured web browser in the preferences pages. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelerPlugin()
| Method Detail |
|---|
public static void log(java.lang.String message,
int level)
message - the message to loglevel - the message prioritypublic static void log(java.lang.Throwable e)
e - the exception to log
public static void log(java.lang.String message,
java.lang.Throwable e)
message - the message logged *e - the exception to logpublic static void debug(java.lang.String message)
message - the message to logpublic static void log(org.eclipse.core.runtime.IStatus status)
status - Status of an operation
public static void displayDialog(java.lang.String title,
java.lang.String message,
int level)
title - title dialog boxmessage - message displayedlevel - message levelpublic static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
public static org.eclipse.ui.IWorkbenchPage getActivePage()
null if none.
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public static org.eclipse.core.resources.IWorkspace getWorkspace()
public static void openURL(java.net.URL url)
url - the url to openpublic static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
path - the path
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.