Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft...

8
COMPUWARE TEST DRIVE TOPAZ WORKBENCH WORKSHOP Introduction to Eclipse

Transcript of Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft...

Page 1: Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft Word - Intro_to_Eclipse_TW_Test_Drive Author amikns0 Created Date 10/6/2017 8:41:41

COMPUWARE TEST DRIVE TOPAZ WORKBENCH WORKSHOP

Introduction to Eclipse

Page 2: Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft Word - Intro_to_Eclipse_TW_Test_Drive Author amikns0 Created Date 10/6/2017 8:41:41

2

This section provides tips to help you become more familiar and comfortable with Eclipse. You will learn about perspectives and create a custom perspective.

TABLE OF CONTENTS

Eclipse IDE Components ................................................................................................................................... 2

Explore Eclipse ............................................................................................................................................... 3

Create a Custom Perspective ............................................................................................................................ 6

Save Your Perspective ..................................................................................................................................... 7

Next Steps ..................................................................................................................................................... 8

ECLIPSE IDE COMPONENTS

Eclipse is an Integrated Development Environment (IDE). The basic components are:

Page 3: Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft Word - Intro_to_Eclipse_TW_Test_Drive Author amikns0 Created Date 10/6/2017 8:41:41

3

EXPLORE ECLIPSE

In Eclipse, a perspective is a collection of related views arranged in a logical way. Perspectives can be pre-defined or custom. You will create a custom perspective later on, but first, let’s explore Eclipse.

Close All Perspectives

First, close all currently opened perspectives to “clear the palette.” You may want to do this occasionally when your workspace becomes cluttered.

1. From the top navigation bar, click Window.

2. Select Close All Perspectives.

Your eclipse window should become completely blank. Ifsome views remain open, close them.

Open a Perspective

1. Use the Window menu.

- or –

Click on the Open Perspective button.

The Open Perspective pop up opens.

Page 4: Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft Word - Intro_to_Eclipse_TW_Test_Drive Author amikns0 Created Date 10/6/2017 8:41:41

4

The pop up lists all perspectives defined within your Workspace. Third-party plugins and custom-defined perspectives will appear here.

While the screenshot shows Topaz Workbench Release 17.2, your list will vary depending on the release of Topaz and the features you have installed.

Notice here that the “Host Explorer” perspective is marked as “default.” This is the perspective that is active when you start Topaz Workbench if no other perspectives were left open when you shut it down. If you prefer, you can designate a different perspective as default in preferences.

2. Click Cancel.

Access the Compuware Menu

The Compuware menu shows the Compuware perspectives and features available within your Eclipse IDE:

The first several items (the ones with arrows) open views. You will use a couple of these later.

The remaining items open different perspectives.

Your list will vary depending on which Compuware features you have installed.

To open the menu:

1. From the top navigation, click Compuware.

2. Click Host Explorer to open the Host Explorer perspective.

Host Explorer is the beginning and anchor point for most of your activities in the Topaz Workbench. We’ll use the Host Explorer perspective moving forward in the rest of Part 1.

Page 5: Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft Word - Intro_to_Eclipse_TW_Test_Drive Author amikns0 Created Date 10/6/2017 8:41:41

5

Reset a Perspective

From time to time, you may find it necessary to reset your perspective to the default settings to make sure you are at the correct starting point.

1. Within the Host Explorer view, right-click on the Host Explorer perspective name in the top right corner.

2. Choose Reset.

3. Click Yes in the Reset Perspective dialog box that opens.

Note: This is the “Host Explorer” perspective, not the view. The perspective is a button in the perspective bar.It is at the top in the right-hand corner.

If used, the Host Explorer view will show as a tab in a perspective, and it will have an “X” for closure.

The default Host Explorer perspective consists of an editor and several views:

Page 6: Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft Word - Intro_to_Eclipse_TW_Test_Drive Author amikns0 Created Date 10/6/2017 8:41:41

6

Editor View

The editor can be closed and can accommodate multiple items. For example, an editor can have a data file, a JCL member and an output from a job.

A view cannot be closed.

CREATE A CUSTOM PERSPECTIVE

Now we’ll create a custom perspective:

1. Close the Outline view by clicking the X.

2. Click on the Contents tab on the lower part of the window near the middle to active it.

3. Right-click on the Contents view tab, and click Close Others.

4. Click and drag the top of the Contents view straight up as high as it will go.

Page 7: Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft Word - Intro_to_Eclipse_TW_Test_Drive Author amikns0 Created Date 10/6/2017 8:41:41

7

5. Select the Link with Contents view button.

Completed Result

Once you have completed your customizations, your perspective should look like this:

SAVE YOUR PERSPECTIVE

1. Right-click on the Host Explorer perspective button.

2. Choose Save As…

Page 8: Intro to Eclipse TW Test Drive - Compuware Drive/Intro_to...JES Explorer tutorial. Title Microsoft Word - Intro_to_Eclipse_TW_Test_Drive Author amikns0 Created Date 10/6/2017 8:41:41

8

3. Name your perspective “Contents” in the Name field.

4. Click OK.

That’s it; you have created your first custom perspective! You will use this perspective in other parts of the workshop. That completes the Eclipse Tips section.

NEXT STEPS

Now you’re ready to build your Topaz Workbench environment with the Building an Environment with Host Explorer and JES Explorer tutorial.