ComponentX Studio Users Guide

Table of Contents

Using the ComponentX Studio Toolbar

The ComponentX Studio toolbar contains frequently used edit actions as follows:

Open Project

will display the Open Project dialog from which a ComponentX project file can be selected and opened. On opening a ComponentX project file the current set of components will be replaced by the set defined in the project file and any project files included by the project.

Save Project

will save the current component set in the last opened ComponentX project file. If the current set is defined as a result of creating a new project, Save Project will display the save as dialog prompting for the name for the ComponentX project file.

Include Project

will display the Include Project Dialog enabling the selection of a new project to be included in the current project.

At the top level of the in the Include Project Dialog will display all registered Component Archives (.car files and directories). Selecting a Component Archive will display any projects and directories contained in the archived at the selected directory level.

New Package

will display the New Package dialog enabling the creation of a new package. The New Package dialog will prompt for a parent package, the new package name, and an extends from package.

The parent package identifies the location in the ComponentX project where the new package will be created. Selection of a parent package is optional. If a parent package is not selected, the new package will be created in the project root.

The extends from package allows the new package to include all components and sub-packages found in the extends from package. Selection of an extends from package is optional.

New Interface

will display the New Interface dialog enabling the creation of a new interface. The New Interface dialog will prompt for a package, the interface name, and an extends from interface.

The package identifies the location in the ComponentX project where the new interface will be created. Selection of a package is optional. If a package is not selected, the new package will be created in the project root.

The extends from interface allows the new interface to include all ports and pins defined in the extends from interface. Selection of an extends from interface is optional.

On creating a new interface, an interface editor for the interface is opened and displayed within the ComponentX Studio.

New Component

will display the New Component dialog enabling the creation of a new component. The New Component dialog will prompt for a package, the component name, and an extends from component.

The package identifies the location in the ComponentX project where the new component will be created. Selection of a package is optional. If a package is not selected, the new component will be created in the project root.

The extends from component allows the new interface to include all ports, pins, properties, components, and wires defined in the extends from component. Selection of an extends from component is optional.

New Type Package

will display the New Type Package dialog enabling the creation of a new type package. The New Type Package dialog will prompt for a package, the type package name, a URI for publishing type declarations in an external DTD file, and an extends from type package.

The package identifies the location in the ComponentX project where the type package will be created. Selection of a package is optional. If a package is not selected, the type package will be created in the project root.

The extends from type package allows the new type package to include all types and attributes found in the extends from type package. Selection of an extends from type package is optional.

New Type

will display the New Type dialog enabling the creation of a new type. The New Type dialog will prompt for a type package, the type name, and the content type.

The type package identifies the location in the ComponentX project where the new type will be created.

The content type identifies the XML type.

Open Component

will open a component editor for the selected component that will allow the instance definition to be edited.

Note: for pins, open component will open a frame from which a signal can be send on the pin and the number of times a pin has been signaled. For ports, open component will open a frame from which an XML document can be entered and sent; and displays that last XML document received.

Open Base

will open a component editor for the selected component that will allow its base definition to be edited. The base definition is the component from which a component was created.

Undo

will undo each distinct edit action performed within the Studio in the order of most recently performed to oldest. Undone edit actions can be reapplied using the redo menu action provided there has been no other edit action performed since the undo.

Redo

will reapply an undone edit action. Edit actions are reapplied in the order that the edit actions were first performed.

Add Component

will display an Add Component dialog enabling a instance of a component to be added to the definition of a component being edited. The Add Component dialog will prompt for a component name and a base component from which an instance will be created.

Add Pin

will display an Add Pin dialog enabling a pin to be added to the definition of a component being edited. The Add Pin dialog will prompt for a pin name and the direction of the pin. The direction of the pin can be either provides or uses.

Add Port

will display an Add Port dialog enabling a port to be added to the definition of a component being edited. The Add Port dialog will prompt for a pin name, the direction of the pin, and an optional port type. The direction of the pin can be either provides or uses. The port type allows selection of a ComponentX type.

Add Property

will display an Add Property dialog enabling a property to be added to the definition of a component being edited. The Add Property dialog will prompt for a property name and a reference property. The reference property must be a property of any component contained within the component being edited.

Add Attribute

will display an Add Attribute dialog enabling an attribute to be added to the definition of a type being edited. The Add Attribute dialog will prompt for an attribute name, its type, enumeration values (only for type enumeration), attribute constraint, and fixed/default values.

Add Type

will display an Add Type dialog enabling a type to be added to the definition of a type being edited. The Add Type dialog will prompt for selection of a type, selection of a content constraint, and whether to be or'd with the previous type.

Add New Type

will display an Add New Type dialog enabling a type to be created and added to the definition of a type being edited. The Add New Type dialog will prompt for a type package, the type name, the content type, selection of a content constraint, and whether to be or'd with the previous type.

The type package identifies the location in the ComponentX project where the new type will be created.

The content type identifies the XML type.

Rename

will display the rename dialog enabling the selected component to be renamed. The rename dialog will prompt for a new name.

Properties

will display the properties dialog enabling the properties of the selected component to be edited. The properties dialog will display the current property values and allow them to be edited.

Activate

will activate the currently selected packages, components, wires, pins, ports, and interfaces. Activating a package or component will activate all packages, components, wires, pins, ports, and interfaces contained within the package or component.

Deactivate

will deactivate the currently selected packages, components, wires, pins, ports, and interfaces. Deactivating a package or component will deactivate all packages, components, wires, pins, ports, and interfaces contained within the package or component.

Set Breakpoint

will set a breakpoint on the currently selected wires, pins, and ports.

Clear Breakpoint

will clear any breakpoints on the currently selected wires, pins, and ports.

Delete

will delete the currently selected component.

Help

will open a help window displaying the help page for the selected component. Additional help can be selected by clicking on any available hyperlink. Return to previous pages can be performed by clicking on the previous button. Access to the top level help page can be performed at any time by clicking on the home button.

Using the ComponentX Studio Palette Bar

In addition to the toolbar, the ComponentX Studio provides a palette bar. The palette bar displays the icon and name of all components defined within palettes found in the componnet tree. The palette bar is used as a source from which components can be dragged and dropped into composite components.

Copyright 2000,2001 Data Access Technologies