+ Added method IOProvider.getIO
that takes all
+ 4 supported parameters and that complements other
+ getIO
methods. See
+
+ IOProvider
+
+ The original mapping from IO name to IO object has been replaced + with mapping from pair [IO container, IO name] to IO object. + This mapping is used for reusing of IO objects. +
+InputOutput
is returned, else an existing InputOutput
of the same name may be returned
+ * @param actions array of actions that are added to the toolbar, Can be empty array, but not null.
+ * The number of actions should not exceed 5 and each should have the Action.SMALL_ICON
property defined.
+ * @param ioContainer parent container accessor
+ * @return an InputOutput
instance for accessing the new tab
+ * @see InputOutput
+ * @since 1.33
+ * IOProvider
and implementing its abstract classes, you are encouraged to override
+ * this method as well. The default implementation falls back to the getIO(name, actions)
method, ignoring the ioContainer and newIO passed.
+ */
+ public @NonNull InputOutput getIO(@NonNull String name, boolean newIO,
+ @NonNull Action[] actions, @NullAllowed IOContainer ioContainer) {
+ return getIO(name, actions);
+ }
+
+ /**
* Gets name (ID) of provider
* @return name of provider
* @since 1.15