We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
A simple breadcrumb toolbar.
This is very simple: you instantiate a Breadcrumb object and then create BreadcrumbItems (it works like the SWT Toolbar):
Breadcrumb
BreadcrumbItems
final Breadcrumb bc = new Breadcrumb(shell, breadCrumbArgument); final BreadcrumbItem item = new BreadcrumbItem(bc, SWT.PUSH); item.setText("Text");
And voilà!
The BreadcrumbItem can be labels (style SWT.NONE), buttons (style SWT.PUSH), or toggle buttons (style SWT.TOGGLE).
BreadcrumbItem
SWT.NONE
SWT.PUSH
SWT.TOGGLE
An example called BreadcrumbSnippet.java is located in the plugin org.eclipse.nebula.widgets.opal.breadcrumb.snippets.
BreadcrumbSnippet.java
org.eclipse.nebula.widgets.opal.breadcrumb.snippets
This example is also available here: BreadcrumbSnippet.java