Skip to content
ljelinkova edited this page Aug 29, 2012 · 52 revisions

Red Deer project aims to provide support for operating Eclipse user interface so that you can focus on writing your business logic instead of tweaking around low-level eclipse specific tasks like "how to open my view" or "how to find out if the server has already started".

Red Deer is divided into several layers. This allows you to use the framework to test pure SWT applications as well as Eclipse plugins.

  • SWT layer - capable of finding and operating SWT widgets. At the moment, this layer is based on SWTBot library, however, this might change in the future
  • JFace layer - contains classes for operating JFace components, e.g. WizardDialog or PreferencePage
  • Workbench layer - contains classes for operating components specific to Eclipse e.g. View
  • Eclipse layer - contains classes capable for operating concrete Eclipse parts - PackageExplorer, ServersView etc.

Red Deer is designed to be easily extensible so that you can not only make use of default behaviour, you can extend any class and modify it.

This is a short example of how the Red Deer's API looks like:


ServersView serversView = new ServersView();
Server server = serversView.getServer("My Server");
server.start();

Note that you do not have to worry to wait for the server to start - the framework will take care of it for you.

User section

Contributors section

JBoss Red Deer - Quick Links

Clone this wiki locally