This release introduces the new Query Editor. In addition, it comes with many fine and small improvements.
2 Query Editor
New Query Editor
The Query editor provides specialized features for editing Java code. This includes content assistance, hyper-linking, rich hovers, an outline, as well as syntax highlighting and formatting and much more.
Both tabs are synchronized with each other, so that changes on one tab are visible on the other immediately.
General Properties Tab
Edit declarative properties here:
The General Properties tab:
Source Page: Content Assist
The source page provides a fully featured XML editor that additionally supports specialized features to edit query files.
XML Content Assist
This section only gives an overview of content assistant features. Actually most attributes on the source page as well as on the General Properties tab support content assistance.
To ease the creation of valid query XML, the content assist provides schema based completion proposals.
Intershop Element Content Assist
Editing the values of particular attributes is supported by the content assistant.
Content assist for parameter names - Accesses performed in expressions are proposed:
Content Assist for Mapper Attribute - Component Instances:
Content assist for expressions:
Content assist for calls
Java Element Content Assist
Values that contain a fully qualified Java type name provide content assistance.
Content assist for Java types:
SQL Content Assist
Editing SQL is supported by the content assist.
It may be necessary to connect to the database in order to support not only simple syntax elements but also table names or column names.
To connect to the database:
SQL content assist for table names:
SQL content assist for column names:
The editor offers hover support for XML schema information as well as for referenced Java and Intershop elements. In values that contain references to Java types or Intershop elements, linking is supported (F3, Shift-Hover).
Several aspects can be customized.
Use the 'Preferences...' action from the content menu to get a filtered list of relevant preference pages.
Content Assist preferences:
3 Ivy Support
Intershop Studio now supports editing cartridge ivy.xml files.
Intershop Studio uses the dependencies as well as other data (e.g., descriptions, versions) for all operations that depend on this information (e.g., pipeline lookups, classpath containers).
General cartridge properties:
The form based editing on the Overview tab as well the dependencies list are read-only at the moment. But the info here reflects the changes done on the ivy.xml tab.
The Cartridge Editor provides an additional tab to edit the ivy.xml file.
ivy.xml file tab:
The IvyIDE feature has been added to Intershop Studio.
4 EDL Model
EDL Model Validation
An action (Validate Cartridge Element) is available to start the EDL model validation.
Validate EDL Models
EDL Code Synchronization Validation
Additional validation is available that detects synchronization problems between the model and the generated code.
In case the code needs to be created or recreated, errors or warnings will be issued.
This includes cases where the code generation templates are changed, which results in modified source code, or if the EDL model was modified without starting the code generation.
5 Pipelet and
New Pipelet Wizard
A new Pipelet Creation wizard is available.
The first page allows to enter general properties.
The second page allows to specify properties of the pipelet class file.
Pipelet class properties:
The wizard cannot be used to manage pipelet parameters or pipelet configurations. This has to be done with the Pipelet Editor.
The Pipelet Editor allows to edit the pipelet descriptor as well as the pipelet's Java code. It offers a form page to edit all properties of the pipelet descriptor and a tab that contains the pipelet's Java code.
Use the form elements to edit the pipelet descriptor.
Pipelet descriptor tab:
Pipelet Java Class
The Java source tab contains a fully featured Java editor to edit the pipelet's Java class.
Pipelet Java source tab:
Some Java source code will be created based on the descriptor (e.g., pipelet parameter assignment, creation and assignment of configuration variables).
The code that was generated by previous Intershop Studio versions was very verbose and restrictive and made pipelets hard to understand.
Content assist for pipelet parameters and configuration names:
Pipelet content assist configuration:
Validation of Transaction Control Mode of Pipeline Transitions
Validation of Unclosed and Unopened Transaction
Transitions that begin or close a transaction will be validated, and non-closed or non-opened transactions are reported.
This validation traverses (on purpose) the nodes without following call or jump nodes.
Pipeline transaction control validation:
Missing begin transaction:
Missing commit or rollback:
Move Nodes Action
Nodes in the Pipeline Editor can easily be moved using the mouse. But it is hard to do that without the mouse and nodes may hide others.
Now several actions are available to move selected pipeline nodes into all directions (Context menu: Move):
The affected nodes will not only be moved, but will also cause nodes to move that might be hidden.
Move down Start before:
Move down Start after:
Appearance of Elements in the Pipeline Editor is Configurable
Color Schemes and Fonts
The Visual Pipeline Editor now uses fonts and colors that are configurable in the preferences.
This not only intended to give pipelines a fancy look matching individual tastes, but, more important, might address accessibility issues.
Color and Fonts preferences:
Pipeline example with customized colors and fonts:
Rulers and Grid
The View menu now provides actions to hide or show rulers or the grid.
The context menus now offer a command to apply quick fixes that are available for problem markers assigned to elements.
Quick fix menu item:
Quick fix selection dialog:
Referenced Elements as Tooltip in Properties View
Details Tooltip in Properties View
Fields displaying referenced elements or Java types now provide an information icon which has a tooltip for the referenced element if it can be resolved.
Tooltip of a pipelet in a pipelet node:
Cartridge Project Deletion
Intershop cartridges often use a linked folder as Java builder output location. When the cartridge project is deleted (not necessarily from the file system, but just from the workspace), this link target remains on disk. Since this folder does not make sense anymore, it will be deleted if the project is deleted.
Delete cartridge deletiontest:
Delete cartridge deletiontest - Preview of changes to be performed:
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.