/SWTCustomComponents

A collaborative effort to design and deliver modern and appealing SWT-based components inspired by bStyle

Primary LanguageJavaOtherNOASSERTION

SWTCustomComponents

A collaborative effort to design and deliver modern and appealing SWT-based components.

For any information or request you may want to get in touch with the COSBI Bioinformatics lab. We'll be happy to help!

The project consists of the following components:

  • custom.jface.widgets.ContentPrososalAdapterPlus

    A modified version of the ContentProposalAdapter class that provides a way of having a user-defined Table in terms of appearance and behavior for hosting the proposals. This is achieved by setting as table provider an object that implements the custom.jface.widgets.IProposalTableProvider interface.

  • custom.swt.widgets.CComboPlus

    A modified version of the CCombo class with new methods for enabling the item selection on mouse hover CComboPlus:setMouseHoverSelection and also, for changing the foreground color of the editable text CComboPlus:setTextForeground

  • custom.swt.widgets.LateralTabFolder

    Instances of this class provide an interactive and customizable user interface object of a lateral tab folder with custom painted buttons for navigating through the tabs.

    The content that can be hosted in a tab should be of type SWT Composite and a new tab can be added at any time by calling one of the variations of method LateralTabFolder:addTab

  • custom.swt.widgets.PopupLink

    Instances of this class are selectable user interface objects that have the look of a link and allow the user to click and modify their content in a popup dialog.

    The popup dialog may consist by an SWT Text field and/or a CComboPlus depending on whether a value was set for these internal controls using the methods PopupLink:setTextFieldValue and PopupLink:setDropdownOptions. Moreover, it allows to set a list of validators that implemenent the custom.swt.widgets.IPopupLinkInputValidator interface for validating the user input upon edit.

    This custom component can replace the traditional SWT text and/or combo dropdown controls in an input form, providing also the possibility to have one single widget for a pair of these controls.

  • custom.swt.widgets.FileUploader

    Instances of this class are components that allow you to upload csv files, see the preview, upload an example file. Drag and drop can be supported.

    The component is instantiated through its initialization. If no file has been uploaded, the component will show the message you specified in the constructor. You can drag a file into the empty component or click on the component to browse your file-system and upload your image.

    Moreover, you can specify the number of rows to be shown in the file preview, via the method "setMaxNumberToDisplayAtFirst"

  • custom.swt.widgets.InfoPopup

    Instances of this class are components that display a text, without any button or shell border. As you click outside the component, it should disappear.