Modelers

org.topcased.modeler
Class ModelerPlugin

java.lang.Object
  extended by org.topcased.modeler.ModelerPlugin

Deprecated. this class will be removed before the 1.0. Use a local class instead.

public class ModelerPlugin
extends java.lang.Object

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

ModelerPlugin

public ModelerPlugin()
Deprecated. 
Method Detail

log

public static void log(java.lang.String message,
                       int level)
Deprecated. 
Log a message with given level into the Eclipse log file

Parameters:
message - the message to log
level - the message priority

log

public static void log(java.lang.Throwable e)
Deprecated. 
Log an exception into the Eclipse log file

Parameters:
e - the exception to log

log

public static void log(java.lang.String message,
                       java.lang.Throwable e)
Deprecated. 
Log an exception into the Eclipse log file

Parameters:
message - the message logged *
e - the exception to log

debug

public static void debug(java.lang.String message)
Deprecated. 
Write a debug message if the debug is enabled.

Parameters:
message - the message to log

log

public static void log(org.eclipse.core.runtime.IStatus status)
Deprecated. 
Log an IStatus

Parameters:
status - Status of an operation

displayDialog

public static void displayDialog(java.lang.String title,
                                 java.lang.String message,
                                 int level)
Deprecated. 
Display a dialog box with the specified level

Parameters:
title - title dialog box
message - message displayed
level - message level

getActiveWorkbenchShell

public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
Deprecated. 
Returns the active workbench shell

Returns:
the active workbench shell

getActivePage

public static org.eclipse.ui.IWorkbenchPage getActivePage()
Deprecated. 
Returns the active workbench page or null if none.

Returns:
the active workbench page

getActiveWorkbenchWindow

public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
Deprecated. 
Returns the active workbench window

Returns:
the active workbench window

getWorkspace

public static org.eclipse.core.resources.IWorkspace getWorkspace()
Deprecated. 
Returns the workspace instance.

Returns:
the current workspace

openURL

public static void openURL(java.net.URL url)
Deprecated. 
Open an url with the configured web browser in the preferences pages.

Parameters:
url - the url to open

getImageDescriptor

public 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.

Parameters:
path - the path
Returns:
the image descriptor

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.