Search in sources :

Example 6 with TagCanvas

use of com.biglybt.ui.swt.widgets.TagCanvas in project BiglyBT by BiglySoftware.

the class TagButtonsUI method setDisableAuto.

public void setDisableAuto(boolean b) {
    disableAuto = b;
    Utils.execSWTThread(() -> {
        for (TagCanvas tagWidget : tagWidgets) {
            tagWidget.getTagPainter().setDisableAuto(disableAuto);
        }
    });
}
Also used : TagCanvas(com.biglybt.ui.swt.widgets.TagCanvas)

Aggregations

TagCanvas (com.biglybt.ui.swt.widgets.TagCanvas)6 TagPainter (com.biglybt.ui.swt.widgets.TagPainter)3 Tag (com.biglybt.core.tag.Tag)2 List (java.util.List)2 ScrolledComposite (org.eclipse.swt.custom.ScrolledComposite)2 Category (com.biglybt.core.category.Category)1 DownloadManager (com.biglybt.core.download.DownloadManager)1 TagButtonTrigger (com.biglybt.ui.swt.widgets.TagCanvas.TagButtonTrigger)1 Point (org.eclipse.swt.graphics.Point)1 Rectangle (org.eclipse.swt.graphics.Rectangle)1