Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.intellij.ui.swt_browser.SwtLibLoader Class Reference

List of all members.

Static Public Member Functions

static void loadSwtLib ()

Static Package Functions

static String getJarFilename (String osName, String osArch)

Detailed Description

This class loads the appropriate swt library from the swt plugin depending on the operating system and the processor architecture.

This class is not intended to be subclassed.


Member Function Documentation

static String de.fu_berlin.inf.dpp.intellij.ui.swt_browser.SwtLibLoader.getJarFilename ( String  osName,
String  osArch 
) [static, package]
static void de.fu_berlin.inf.dpp.intellij.ui.swt_browser.SwtLibLoader.loadSwtLib ( ) [static]

This methods adds the SWT library to the plugin class loader responsible for the Saros IntelliJ plug-in.

For this to work the SWT libary plugin has to be installed in IntelliJ. Currently Windows, Mac OS, and Linux is supported, both 32 and 64 bit.

This method should only be called once.

Exceptions:
IllegalStateExceptionif the actual OS arch combination is not supported or the SWT libary plug-in is not installed correctly.
 All Classes Namespaces Files Functions Variables Enumerations