org.eclipse.gmt.umlx
Interface IEnvironment

All Known Subinterfaces:
IEditorEnvironment
All Known Implementing Classes:
EditorEnvironment, Environment

public interface IEnvironment

IEnvironment provides the interface to external facilities, allowing a test environment to provide alternate implementations.


Method Summary
 java.lang.Object getClipboardContents()
          Get the current clip-board contents.
 void logException(java.lang.Throwable e, boolean showErrorDialog)
          Log an exception to the Console Error Log, and optionally show it in a prompter.
 void setClipboardContents(java.lang.Object contents)
          Set the current clip-board contents.
 

Method Detail

getClipboardContents

java.lang.Object getClipboardContents()
Get the current clip-board contents.

Returns:
the current clip-board contents

logException

void logException(java.lang.Throwable e,
                  boolean showErrorDialog)
Log an exception to the Console Error Log, and optionally show it in a prompter.

Parameters:
e - the exception
showErrorDialog - true to show exception in a prompter.

setClipboardContents

void setClipboardContents(java.lang.Object contents)
Set the current clip-board contents.

Parameters:
contents - the new (non-null) contents