Menu

Home

Remo

Welcome to YARI!

YARI is the "Swiss army knife" for the Eclipse Workbench.
It's a comprehensive tool suite to debug, spy, spider, inspect and navigate Eclipse based application GUIs (Workbench or RCP).

If you want to know how your swt ui is built up or which plugins contribute to your eclipse workbench YARI will offer you all the information needed. It allows you to have a deep look into the swt or eclipse internals. Search an id for a menu contribution, find a contributing plugin or debug the swt/jface ui (e.g. figure out layout problems) is a core feature of the tool.

The project is available here: http://sourceforge.net/projects/yari/

Update sites are hosted on pluginbuilder.org (thanks to Markus Barchfeld):
Stable: http://yari.pluginbuilder.org/releases/p2-updateSite/
Nightly: http://yari.pluginbuilder.org/nightly/p2-updateSite/

Adding the YARI plugins to the runtime configuration will activate the whole functionality. No debug parameters or additional code is needed to explore the (rcp-)application on the fly.

The most efficient way to get in touch with the yari toolsuite is to read the [HowTo]s.
They are categorized in the following topics:
General
SWT
SWT: Inspect modal dialogs
Eclipse
ExpressionEvaluator
Extended S-Leak
BundleInspector

The YARI toolset consists of five core parts:

[SwtInspector]: specialized view to inspect and inject your plain swt/face elements. E.g. have a look at layout(-data) or attached listener lists. Get the style of the widget presented in a human readable string. Change layout parameters and update the widget. Highlight the selected element to get an idea of its bounds. Get an overview of the widgets parents, peers and children.

[EclipseInspector]: get an overview of the most important parts of a workbench. Inspect the current active parts, main menus, editors and views or the contributing perspective.

[UiInjector]: simplify layout debugging by adding a different background color to all elements of a shell (ShellPainter?-Action in the main menu) or a selected composite (ctrl+alt+v). No adding of „setBackgroundColor()“ statements to debug layout is needed anymore. Display also “invisible” widget get a complete overview of the hidden controls within a composite. It allows you also to toggle widget states (editable, enable, visible, …) by simply pointing on a widget.

[SwtHyperGraph]: uses the HyperGraph? API (http://hypergraph.sourceforge.net/) to build a tree structure of the current workbench shell.

[BundleInspector]: Get an overview of the installed bundle of the current osgi instance. Show the a selected bundle in the DependencyVisualization?-View (http://www.eclipse.org/pde/incubator/dependency-visualization/) to get an overview on the bundle dependencies. Install or remove lazily a new bundle to/from the osgi runtime.

There is also an improved version of the S-Leak tool inside the YARI suite.

See also the FAQ page for more information.

Credits

Special thanks to the following projects:


Related

Documentation: BundleInspector
Documentation: EclipseInspector
Documentation: FaqPage
Documentation: HowTo
Documentation: HowToBundleInspector
Documentation: HowToEclipse
Documentation: HowToExpressionEvaluator
Documentation: HowToExtended
Documentation: HowToGeneral
Documentation: HowToSWT
Documentation: HowToSWTDialog
Documentation: SwtHyperGraph
Documentation: SwtInspector
Documentation: UiInjector