java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.ignition.designer.thumbnailbrowser.BrowsableLibrary<T,C>
- All Implemented Interfaces:
Changeable
public abstract class BrowsableLibrary<T extends Browsable,C extends Category>
extends AbstractChangeable
A BrowsableLibrary is the model for a browsable gallery
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
changeEvent, listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all browsables.getBrowsables
(C category) Gets all browsables for a specific category.getSearchBrowsables
(String filter) Gets all browsables using a string filter.Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
-
Constructor Details
-
BrowsableLibrary
public BrowsableLibrary()
-
-
Method Details
-
getAllBrowsables
Gets all browsables. Implementation must handle exceptions. Function is called in a separate thread so use SwingUtilities.invokeLater to interact with the GUI. -
getSearchBrowsables
Gets all browsables using a string filter. Implementation must handle exceptions. Function is called in a separate thread so use SwingUtilities.invokeLater to interact with the GUI.- Parameters:
filter
- a string to filter against- Returns:
- list containing the results, or empty list
-
getCategories
-
getBrowsables
Gets all browsables for a specific category. Implementation must handle exceptions. Function is called in a separate thread so use SwingUtilities.invokeLater to interact with the GUI.
-