Creating an Open Edition

To make changes to a program element, you must first create an open edition of it. Versioned editions can not be changed.

To create an open edition of a project, package, class, or interface that has been versioned, select  Manage > Create Open Edition from the program element's pop-up menu.

In many cases, you can also create an open edition implicitly by opening a versioned edition in a browser, making changes, and then saving your changes.

An open edition appears in VisualAge for Java windows with a timestamp that shows when it was created. If you can not see the timestamp, click the Show Edition Names man_onup.gif (1000 bytes) button. Here is an example of an open edition:

PackageA (3/28/98 4:21:15 PM)

The following table summarizes considerations for creating open editions.

Program element Considerations
Project or Package
  • In VisualAge for Java, Professional Edition, an open edition is created automatically when you change any contained program element.
  • tentergf.gif (577 bytes) Only the owner can create an open edition of a project or package that has been versioned.
  • tentergf.gif (577 bytes) If you create an open edition of a package and the containing project is not already an open edition, then a scratch edition of the project will be created.
Class or Interface
  • An open edition is automatically created if you open the class, interface, or a contained method in a browser, and save changes to it.
  • tentergf.gif (577 bytes) If you create an open edition of a class and the containing package is not already an open edition, then a scratch edition of the package will be created.
Method
  • A new open edition is created every time you save changes to the method.


Editions and Versioning


Versioning a Program Element
Replacing Editions in the Workspace (Reloading)