To view and set StreamBase Studio preferences, invoke StreamBase Studio page.→ in the main menu (Windows) or → (macOS). You can control basic Eclipse settings with various pages in the Preferences window, and can manage StreamBase-specific settings, by opening the
For information on Project Property settings, see StreamBase Project Properties.
Preferences are preserved separately for each Studio workspace. You can keep more than one workspace with different preference settings.
Use the→ → → panel to set color and font options for the components listed therein.
The following preferences can be set in the main StreamBase Studio panel of the dialog.
|StreamBase Installation Directory||The root directory where the current release of StreamBase is installed.
This is where Studio looks for global operators and adapters at startup.
If you modify this setting, restart Studio for the change to take effect. Do not change this setting, except under the direction of TIBCO Technical Support.
|See Default Installation Directories|
|Automatic Perspective Switching||
A perspective is a collection of Eclipse views that are opened together to perform a set of related tasks. StreamBase Studio can be set to automatically switch between perspectives on certain triggering events.
The setting for Switch to SB Test/Debug perspective when running a default launch applies only to Studio's default launch configuration.
The setting for Switch to SB Authoring perspective when stopping a fragment applies to running all EventFlow fragments.
|Both options enabled.|
|Auto-save Options||When you attempt to run a fragment, StreamBase Studio checks for unsaved files and resources in the current project, which
must be saved before proceeding. This preference controls how and when resources are saved before running fragments. The options
When either of the first two options is set, the Ask me next time option is no longer shown in the Preferences page. To make it visible again, click Restore Defaults, then close and reopen StreamBase Studio.
|Ask me next time.|
|Allow loading deprecated Global Operators/Adapters||When disabled (default), Studio does not load deprecated operators or adapters and does not display them in the Insert an
Operator or Adapter dialog. When enabled, deprecated operators or adapters are loaded and displayed in the that dialog.
An operator or adapter is marked deprecated with the Java annotation
TIBCO StreamBase occasionally marks certain components as deprecated to encourage the use of newer components. If you are working on a legacy application and need to continue using a deprecated component, enable this setting.
With this setting disabled, the display of EventFlow fragments that were saved with now-deprecated components is not affected. However, such fragments cannot pass typechecking and cannot be run in Studio, because the code that underlies the deprecated components was not loaded. You can continue to work on such fragments by enabling this option, or by upgrading the deprecated components with their replacements.
|Use custom Component Exchange URL||When unspecified, the default behavior for the StreamBase Component Exchange dialog is to retrieve its list of available components from the TIBCO-provided Component Exchange. You can use this field
to specify an alternate URL that contains an in-house or company-specific location for downloading StreamBase components.
Contact TIBCO Technical Support for guidance in setting up an in-house component exchange site.
Site-specific Component Exchange URLs can use the HTTPS protocol, in which case Studio prompts you for access credentials on the specified server.
If you supply a URL that begins with HTTPS or FTP, Studio automatically prompts for credentials. If you supply a URL for another
protocol, you can force authentication prompting for that protocol by setting the Java property
|Restore Confirmation Messages button||Some StreamBase Studio confirmation dialogs include a check box labeled Do not show this again, which lets you suppress that confirmation dialog in the future. Click to restore the original behavior for all confirmation dialogs.||Cleared|
|Restore Defaults button||Restores all preferences settings to their as-installed defaults.||Cleared|
Use the→ → panel to set options for the SB Authoring perspective.
|Automatically typecheck components||
Specifies that components are automatically typechecked as you build your EventFlow fragment. Disable this preference to suppress automatic typechecking.
See also the related check box to enable Typecheck EventFlow Editors in background on the Typechecking panel, described below.
This preference has no effect on StreamSQL fragments, which are always typechecked automatically. See Typechecking for more on StreamBase typechecking.
|Skip deep typechecking of strict module references and extension points||Enable to avoid full-depth typechecking of Extension Points and Module References that have all output schemas explicitly set. This can greatly speed up typechecking for some large fragments.||Disabled|
|Show tooltips||Specifies that summary information about each component is to be shown when you hover the mouse pointer over an icon or arc
on the canvas. For example:
|Automatically select newly inserted components||Specifies that components newly placed on the EventFlow canvas are automatically selected. This automatically opens the new component's Properties view.||Disabled|
|Automatically edit names of newly inserted components.||With this check box enabled (the default), when you drag a component icon to the EventFlow canvas (or use a keyboard shortcut
to accomplish the same thing), the new component's name is selected and an edit cell open, ready for you to start typing to
change the component's name. Press Enter to close the edit cell with your new name, or press Esc to exit the edit cell without saving your edits.
This feature adds an extra step to keyboard shortcuts that place new components on the canvas. For example, to add a Map operator, the keyboard shortcut is (at minimum) O M Enter with this option enabled, but is O M with this option disabled. You may prefer to disable this option temporarily when entering a long sequence of keyboard shortcuts to quickly fill a new canvas, then re-enable it. See Studio Keyboard Shortcuts.
|Use middle mouse button to scroll instead of pan||This option refers to a mouse with three buttons, or with a scroll wheel that can be used as a middle button. With this option disabled, hold down the middle button or scroll wheel (without scrolling the wheel) to move the entire EventFlow drawing within the frame of the canvas window. With this option enabled, holding down the middle button or scroll wheel lets you scroll in four directions, exactly like using the canvas' scrollbars.||Disabled|
|Save and restore view location and zoom factor||When enabled, Studio preserves the current zoom level of EventFlow Editor sessions and the position of components relative to the top left corner of the EventFlow Editor canvas. These display features are saved when you save the EventFlow fragment, and are restored when you re-open the fragment.||Enabled|
|Center canvas on selection during navigation||
When enabled, auto-centers the canvas on components selected when navigating in two ways:
With this check box cleared, Studio highlights the selected component on the canvas, but does not center the canvas. If the component is offscreen when selected, Studio moves just enough of the canvas to make the component visible.
|Hide Control to toggle to/from text fields in Java Operator Properties||
When cleared, the check box, radio button, and drop-down menu controls in Java operator and adapter Properties views display a ) to the right of their text labels. Clicking the icon or typing Alt+F2 (Option+F2 on Mac) replaces the check box, radio button, or drop-down menu with a text field, in which you can enter:icon (
When this preference is enabled, you can still convert a UI control to a text box with the keyboard shortcut when the control has focus. For additional details, see Parameterizing Java Operator and Adapter Properties.
|For new applications, store layout information in:||Controls how graphical layout and EventFlow semantic elements are stored in EventFlow source files. This setting takes effect
only for newly created EventFlow fragments.
StreamBase Studio respects the layout status it detects for each EventFlow fragment individually. That is, if Studio detects
This setting controls only whether
|Separate layout (
|Show empty categories (EventFlow Editor)||Displays container folders in the Outline view for every component type, even if the fragment contains no instances of some components. By default, the view contains only Outline view categories for existing components.||Disabled|
|Show separate entries for Input, Output Adapters and Java Operators||The Palette view by default contains a single icon labeled Adapters, Java Operators that you drag to the canvas. Once there, a dialog opens that lets you select one or more adapters or global Java operators
for placement on the canvas.
In previous releases, this single Palette view icon was shown as four separate icons: Input Adapter, Output Adapter, .NET Operator, and Java Operator. Select this check box to restore those four separate icons to the Palette view.
For detailed information about using these options, see the EventFlow Editor topic.
Use the→ → → panel to set options for the EventFlow Editor.
A note at the top of this page directs you to the Preferences panel→ → to specify color and font settings for all aspects of Studio. Look in that panel to set the background color for Groups, which was specified on the in previous releases.
|Render tiles around component icons||
Enable this option (default) to show tiles around component icons, whose left and right edges are where ports attach. Disable to remove the tiles. The selection outline still appears with or without tiles.
|Render selection without filled outline||
When disabled (default) the selection outline is filled with light blue as shown above. When enabled, the selection outline shows as an unfilled dotted line, as follows:
|Show mouse hover feedback||
When enabled (default), shows a yellow information box for a component when hovering the mouse over it.
|Use animations||When enabled (default), shows an animation effect when you use the Rearrange components and arcs function ( button or Ctrl+L).||Enabled|
|Use simple colors instead of gradients||When enabled, tiles and selection outlines are shown with flat colors. When disabled (default), colors are shown as gradients.||Disabled|
|Hide adapter tiles when there is only one port||When enabled (default), adapters that have only one input port or only one output port are shown without an enclosing tile. When disabled, tiles are always shown for adapters.||Enabled|
|Show indicator for components that run in a separate thread||
When enabled (default), if a component has the Run this component in a parallel region option selected in its Properties view, the component is shown with a circle inside the bounds of the icon.
When disabled, the circle decoration is not shown, and there is no visual indicator of the component's separate thread state.
|Use slanted arcs during arc routing and auto-layout||When enabled (default), arcs placed by the Layout Application (Ctrl+L) and Reroute Arcs (Ctrl+Alt+L) functions are shown with an angled slant between components. When disabled, arcs are only placed horizontally or vertically, with right angles for every direction change.||Enabled|
|Ignore label widths during auto-layout||When disabled (default), EventFlow modules are laid out during auto-layout or arc routing by taking the widths of the names of each component into account. When enabled, text widths are ign||Disabled|
|Display additional label above components||Specifies the amount and type of information to display in blue lettering above certain components on the EventFlow canvas.
Specify one of the following:
||Module Reference/Class Name|
|Abbreviate module reference labels and class names||When enabled (default), labels shown above module references show an abbreviated package name that emphasizes the last name in the fully-qualified package name. When disabled, the fully qualified package name is shown.||Enabled|
|Desired character length for abbreviations||Designates the width in number of characters for the abbreviated package name, when package name abbreviations are selected as in the row above.||32|
|Theme||Selects the style of EventFlow Editor canvas icons. The options are:
Use the→ → → panel to set options for the Clusters view.
- Cluster name
Specifies the default cluster name used by Studio when running EventFlow and LiveView fragments in Studio. This selection does not affect applications run at the command prompt with the epadmin command. The cluster name is the second part of a node.cluster service name. The default value is the current user's system login name.
The cluster name specified here determines the nodes you see in the Clusters view in its default workspace only mode. When you click the ) in the Clusters view toolbar, the view toggles between showing only the nodes in the local workspace and showing all nodes in the IP subnet of the current machine. Local workspace nodes include nodes installed from Studio and those installed from the command line with epadmin, as long as the cluster name matches.button (
If you change the cluster name value, the nodes shown in the Clusters view do not change to the new name until Studio is restarted. To avoid confusion, wait until all nodes with the current cluster name have been stopped and removed, and thus no longer appear in the Clusters view, before changing the cluster name in this panel.
Specify one or more node names for the cluster specified in Cluster name. Single uppercase letters are traditionally used as node names, but you can specify any string by selecting a node letter and editing it in place. The node name is used as the first part of a node.cluster service name. The default node name is A.
You can specify more than one node by clicking, which places the next uppercase letter in the English alphabet into the list. The next letter is used even if you have edited any of the node letters into another string.
Only the top entry in the list — the active node — is used by Studio when next running an EventFlow or LiveView fragment. You can change the active node by selecting a node and using theand buttons to place your desired node name at the top of the list.
- Node Installation Properties
Select a node in the Nodes section to specify one or more of its properties. The properties you set here apply only to the next launched node with the selected name, and do not affect a currently running node. Remember that Studio reuses its launch node by default, so you must stop and remove the current node using buttons in the Clusters view before settings in this section take effect.
You can specify different Node Installation Properties for different nodes by selecting different node names in the Nodes section before setting the properties. You can then switch between which node — and which set of properties — is used next by means of the and buttons. Move the node with the desired set of properties to the active node position at the top of the Nodes list.
For example, you could leave node A with its default values, and thus nothing in the Node Installation Properties section, and then specify node B with a
memorysizeof 8 GB to test the fragment under real-world conditions. You would launch the node in Studio with A as the active node for most development purposes, then switch to B as the active node for a stress test.
The properties you can specify in this section are the same as the parameters you can use with the epadmin install node command, and use the same spellings. The following is a list of the valid properties at the time of this writing. To see the latest list, run epadmin help node at a StreamBase Command Prompt (Windows) or at a StreamBase-configured shell prompt on macOS or Linux.
adminhost discoveryport memorysize substitutionfile adminport javabinarypath memorytype trustedhosts buildtype javaenvironment nodedeploy webenabled deploydirectories javahome nodedirectory webport discoveryenabled javalibrarypath producthome discoveryhosts memoryallocators substitutions
To understand the meanings of these parameters, see the install command parameters table in the epadmin command's reference page.
Studio's launch configuration mechanism sets the
nodenameparameters, so it would guarantee a launch conflict to try to set the same parameters here in the Node Installation Properties section. In addition, the Run Configuration dialog has an alternative per-launch mechanism for specifying the
javaenvironmentparameters. Consider whether you need to specify settings for all EventFlow and LiveView fragment launches using this Preferences setting, or only for an individual launch by using its Run Configuration dialog.
Studio maintains a cache of compiled build artifacts when you run a module in Studio, and uses cached items when re-launching the same module. The cache is automatically maintained such that any portions of a fragment are rebuilt if the underlying EventFlow code changed, but unchanged portions are read from the cache.
You can control the location of the compiler cache and its persistence with three options:
- Use a temporary directory for each Studio session
This is the default setting. The cache is written to a directory created in the system temporary directory determined as described for the TMP environment variable.
- Use a workspace specific directory, and persist cache across sessions
The cache is written to a directory in the
.metadatafolder of your Studio workspace.
- Persist cache at a specific directory
Use thebutton to navigate to your preferred location.
When you click Current Location field., the full path to the selected cache directory is shown in the
Use thebutton to force all components to be rebuilt at the next launch.
You can specify the location of the compiler cache for use by the StreamBase Runtime by setting the
streambase.codegen.cachedir system property.
Use the→ → panel to set initial state options for the Decision Table operator.
|Show column alias if present||Displays aliases if present from an imported decision table or aliases manually entered in the Decision Table Editor.||Disabled|
|Automatically resize columns to fit content||
Resizes columns to fit content.
|Automatically resize rows to fit content||
Resizes rows to fit content.
|Automatically merge rows||Merges rows of similar content.||Disabled|
|Show expanded text||Displays full row syntax or expressions.||Disabled|
|Show domain descriptions if present||Displays domain descriptions if present. Currently not supported.||Disabled|
|Show column filter||
Displays filter when present.
|Export column alias||Exports column aliases, for use by another Decision Table operator.||Disabled|
|Show condition area string||Displays condition area string when present.||Enabled|
|Use existing IDs when importing||Use existing rule IDs from imported decision table.||Enabled|
|Reuse highest deleted rule IDs||For this selection, if 5 (for example) is the last rule and it is deleted, the next rule added will have an ID of 5 (that is, the deleted ID is re-used).||Enabled|
|Always assign rule IDs based on their order in the editor||Renumbers each time a new rule is added/moved/deleted. If a rule is inserted before rule 5, for example, then the inserted rule will be given an ID of 5, and the current rule 5 is renumbered to rule 6.||Enabled|
|Always maintain existing rule UIDs when inserting/reordering rules||Rules are never renumbered.||Disabled|
Use the→ → → panel to set initial state options for the Table Analyzer.
|Highlight partial ranges||Highlights rows whose condition falls completely or partially within the specified condition range.||Disabled|
|Use Domain Model for Table Completeness||
The Table Analyzer takes into consideration the optional domain model when analyzing the decision table to report any uncovered domain entries.
|Show Analyzer Contents while opening table||
Displays Table Analyzer contents when the decision table is open. However, you must click thebutton to invoke the analysis.
Use the→ → → panel to set appearance options for the Decision Table Editor.
Use these default color sets or customize as needed.
- Alternate row colors in editor
Alternates decision table row colors. Enabled by default.
- Use color gradients in headers
Alters the decision table header color with a subtle light-to-dark change. Disabled by default.
- Built in Palettes
Select a color palette from the drop-down list. The number of colors displayed varies by palette. Select a field in the Colors group to view that field's color in the button. The default palette is Classic.
Click Colors group.to customize the palette selected above by field chosen in the
Clickto select the desired font. A font menu appears based on category selected.
Use the→ → panel to set options for running StreamBase fragments in Studio.
|Open editor for running StreamBase Application when launched||The running fragment opens in the EventFlow or StreamSQL Editor, as appropriate for the selected fragment.||Enabled|
Use the→ → panel to set options for the SB Test/Debug perspective.
|Application Input/Output Views|
|Input View tuple buffer size||
When you run a fragment and enqueue data, the number of input tuples can become quite large. It can be helpful to limit the number of tuples in the Application Input view's display buffer. When the limit is reached, newer tuples are kept in the view while older tuples are allowed to scroll off the view.
The specified display buffer size applies to the total number of tuples in the Application Input view, from the total of all input streams.
|Output View tuple buffers size||
Same as above, but for output tuples in the Application Output view.
The specified display buffer size applies to the display of each output stream, as well as when (All Output Streams) is selected.
|Output View highlight color||Specifies the color applied to matching rows in the Application Output view when you have specified a filter in the Application Output Filter dialog, and have specified the highlight selected option in the Results section of that dialog.||#FFFF00, a solid yellow|
|Bring Variables view to front when a StreamBase breakpoint is hit||By default, the Variables view shares the lower-left quadrant of the SB Test/Debug perspective with the Application Output, Application Input, and Profiler views. When this option is selected, the Variables view is brought to the front when the EventFlow Debugger hits a breakpoint. You can also toggle the StreamBase button in the Variables view's toolbar to specify the same preference.||
|Field Value Formatting Options|
|Indicate nulls using||The null token is used in editors and views when a field contains no value. You can substitute any string to indicate nulls.||
|Display blobs as||In the Application Input and Application Output views, and elsewhere in Studio, show the first few characters of blob fields as hexadecimal values or ASCII characters.||Hex|
|Maximum blob characters to display||Specifies the number of bytes of blob fields to display as character data in the Application Output view.||16|
Use the Warning or Ignore. By default, all categories are set as Warning.→ → panel to enable or disable categories of typecheck warnings from appearing as decoration markers on the EventFlow Editor canvas, in the Project Explorer view, and as warning messages in the Properties view. You can set any typecheck warning category as
Use thebutton to return all typecheck warnings to their default enabled state.
The settings on this panel affect the Studio workspace as a whole. You can also specify typecheck warning preferences for Studio projects and for individual EventFlow modules:
To change typecheck warning settings for an individual EventFlow module, select the EventFlow Editor's Typecheck Options tab for that module.
To change warning settings for a project, right-click the project's name in the Project Explorer view and select Properties from the context menu. In the resulting dialog, select → .
In all three locations, the typecheck warnings have the meanings described in the table on the EventFlow Editor Typecheck Options Tab page. See Typecheck Warnings for an overview of where the warning text and warning icons appear.
The Typechecking panel also has a check box for one Builder feature:
|Enable module signature change analysis during builds||Select this check box to have Studio store a hash of the signature for all modules and all intermediate stream schemas in the metadata of each module file. This allows Studio to build dependent modules only when the hash value changes, for a speedup when building large complex fragments.||Enabled|
Use the buttons on the Preferences page as follows:
Clickto preserve your changes for the current page. If you set preferences on two pages, click on the first page before moving on to the next page.
Clickto restore the state of a page's settings as installed.
Clickto preserve changes for the current page and exit the Preferences dialog. Changes that require you to restart StreamBase Studio for the setting to take effect are noted in the tables above. Otherwise, changes take effect immediately when you click .