RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A...
Transcript of RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A...
![Page 1: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/1.jpg)
1
®
IBM Software Group
© 2009 IBM CorporationLast Update: 11/25/2009
Rational Developer for IBM i (RDi) Screen Designer Technology Preview
Featuring: GUI screen designer to edit DDS source for 5250 Display Files
2
Rational Developer for System i
© 2008 IBM Corporation2
Agenda
Remote System Explorer (RSE) Screen Design Editor– Screen Design editor basics– Creating a screen, adding controls
– Working with the Properties view
– Creating a subfile
![Page 2: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/2.jpg)
2
3
Rational Developer for System i
© 2008 IBM Corporation
Screen Designer: What it isEclipse based DDS Display File designer for layout of terminal screensFollow-on to Code/400 DesignerScreen designing joins the rest of the RDi based toolingLaunchable from Remote Systems ExplorerFully integrated with the Lpex DDS editor and RDi viewsTechnical Preview for V7.5
Screen Designer: Why we did itContinued support of our existing customer applicationsContinued investment in terminal application developmentMigration path from SDA and Code/400 for display filesUpdate to the latest RDi technologies, Java / Eclipse / RSE
4
Rational Developer for System i
© 2008 IBM Corporation
Screen designer perspective
RSE view
Outline view Properties view
Palette
Design area
Screen control area
![Page 3: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/3.jpg)
3
5
Rational Developer for System i
© 2008 IBM Corporation
Starting Screen DesignerIn RSE view
– Right click DSPF member type
– Two choices under Open with action
1. Default LPEX source editor2. Screen Designer
For working with Screen DesignerSwitch to the Screen Designer perspective
6
Rational Developer for System i
© 2008 IBM Corporation6
Agenda
Remote System Explorer (RSE) Screen Design Editor– Screen Design editor basics
– Creating a screen, adding controls– Working with the Properties view
– Creating a subfile
![Page 4: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/4.jpg)
4
7
Rational Developer for System i
© 2008 IBM Corporation
Screen Designer
Expand the middle Designer area to the left and right to gain more space
Switch to the Screen Designer perspective
New concept Screen design controlsAssemble records to create screens
Screens should contain the records used at runtime, so developer can see how the end result will look like at runtime
8
Rational Developer for System i
© 2008 IBM Corporation
Screen Design Control Area
Select a record to display it in the Design editorNow you can work with it in the design editor
By default one screen defined
All recordsAll records in member are shown in record list
Only one record will show unless you change transparency
![Page 5: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/5.jpg)
5
9
Rational Developer for System i
© 2008 IBM Corporation
Screen Design Control Area
Not a workable solution for all records
Change transparency setting to show all records in screen
You need to be able to select the records that get displayed together at runtime to show a true layout of the screens
10
Rational Developer for System i
© 2008 IBM Corporation
Create a new screenCreate screen for prompt displayIn your code this screen is made up of 2 records Add these 2 records to the new screen
![Page 6: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/6.jpg)
6
11
Rational Developer for System i
© 2008 IBM Corporation
Screen Design Control Area
Selected record is highlighted in the editor Non-selected records are dimmedYou can only work with the selected record in the editor
Select the screenThe design editor will show both recordsSelect one record to work with in the editor
12
Rational Developer for System i
© 2008 IBM Corporation
Screen Design Control Area
Screen information is stored in DDS source Comment lines are added to the source
![Page 7: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/7.jpg)
7
13
Rational Developer for System i
© 2008 IBM Corporation
The Screen Designer Palette All DDS controls are available on the palette viewDivided into 4 main categories
RecordsStandard recordSubfile record
FieldsContinuedDate Named Time Timestamp
ConstantsDateMessageSystem NameTextTimeUser
Help Help specification
14
Rational Developer for System i
© 2008 IBM Corporation
Build a new screen Click new button Name the screenClick the standard record to select control
in paletteClick in Design EditorRecord gets created with default name and
gets added to screen
Designer indicates with black background that a record is available
Palette now shows all categories of controls
![Page 8: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/8.jpg)
8
15
Rational Developer for System i
© 2008 IBM Corporation
Add controls
Adding DDS controls is simpleClick the control you need on the paletteMove cursor over design editorHover text will indicate location of cursorClick at target position Default control gets added to record
Designer and source are always synchronized
16
Rational Developer for System i
© 2008 IBM Corporation
Changing controls in design editor
Select constant control in designerType text you needControl expands in length as you type
Don’t like the locationJust drag and drop to new location
Need different lengthGrab the edge and drag
![Page 9: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/9.jpg)
9
17
Rational Developer for System i
© 2008 IBM Corporation17
Agenda
Remote System Explorer (RSE) Screen Design Editor– Screen Design editor basics
– Creating a screen, adding controls
– Working with the Properties view – Creating a subfile
18
Rational Developer for System i
© 2008 IBM Corporation
Using the properties view
Properties view shows properties for selected controlSelect control in design editor or Outline view
Properties view changes with control typeField properties are different from constant properties
![Page 10: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/10.jpg)
10
19
Rational Developer for System i
© 2008 IBM Corporation
Property pages
Attributes page contains List of valid DDS attributesList of attributes applied to the control
Add/remove attributes used for control with buttons
Basic page contains info likeNamePosition on screenLengthUsage Typeetc
20
Rational Developer for System i
© 2008 IBM Corporation
Property pages
Keyword page contains List of valid DDS keywords for selected
controlAdd/remove keywords using push buttons
Color page contains:Color to apply
Indicator page contains:Indicator to specify
![Page 11: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/11.jpg)
11
21
Rational Developer for System i
© 2008 IBM Corporation
Property pages for referenced fields
Reference page contains Reference info
Browse button to get info from reference files
Basic page contains info likeNameLocation Override info
22
Rational Developer for System i
© 2008 IBM Corporation
Design tab and source tab
Change between Design editorSource editor
Click on the tab to switch Make changes in one of themChange will be reflected in the other editor
![Page 12: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/12.jpg)
12
23
Rational Developer for System i
© 2008 IBM Corporation
Preview screen
Some functionality still missingApplying Indicator sets
24
Rational Developer for System i
© 2008 IBM Corporation24
Agenda
Remote System Explorer (RSE) Screen Design Editor– Screen Design editor basics
– Creating a screen, adding controls
– Working with the Properties view
– Creating a subfile
![Page 13: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/13.jpg)
13
25
Rational Developer for System i
© 2008 IBM Corporation
How about subfiles ?
Select subfile record on palette viewClick on Design editor to create the subfile records
Subfile record and subfile control record created
26
Rational Developer for System i
© 2008 IBM Corporation
Subfile record
Add controls from palette to subfile record Subfile page size and subfile size can be changed in properties view
Default is 6
![Page 14: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/14.jpg)
14
27
Rational Developer for System i
© 2008 IBM Corporation
Subfile control record
Select control record Add controls from palette to design editor
DDS source that got created for subfile
28
Rational Developer for System i
© 2008 IBM Corporation28
SummaryRemote System Explorer (RSE) LPEX Editor
– Full functional screen design editor – Switch between design editor and source editor – Properties view handles DDS keywords – Use outline view to navigate trough your DDS source– Use screens to assemble multiple records – Create subfiles easily– A great productivity aid for the seasoned or new DDS developer
Lots of resources available to get you started:– RPG Café with RDi hub
• www.ibm.com/software/rational/cafe/community/rpg/rdi– midrange mailing list
– http://lists.midrange.com/mailman/listinfo/wdsci-l– Webcasts and System i magazines– COMMON and IBM Power Technical Conferences– User group meetings
![Page 15: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/15.jpg)
15
29
Rational Developer for System i
© 2008 IBM Corporation
The IBM RationalThe IBM Rational RPG CafRPG Caféé
ibm.com/rational/cafeibm.com/rational/cafe
30
Rational Developer for System i
© 2008 IBM Corporation
![Page 16: RDi Remote System Explorer Screen designer - IBM · 2010-08-13 · – Create subfiles easily – A great productivity aid for the seasoned or new DDS developer Lots of resources](https://reader035.fdocuments.in/reader035/viewer/2022070708/5eb3a004d8848d455e10db3e/html5/thumbnails/16.jpg)
16
31
Rational Developer for System i
© 2008 IBM Corporation31
Trademarks & Disclaimers8 IBM Corporation 1994-2008. All rights reserved.References in this document to IBM products or services do not imply that IBM intends to make them available in every country.The following terms are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both:
Lotus, Freelance Graphics, and Word Pro are registered trademarks of Lotus Development Corporation and/or IBM Corporation.Domino is a trademark of Lotus Development Corporation and/or IBM Corporation.
C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries.SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC. Other company, product and service names may be trademarks or service marks of others.
Information is provided "AS IS" without warranty of any kind.
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.
Information in this presentation concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources and does not constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers are taken from publicly available information, including vendor announcements and vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, or any other claims related to non-IBM products. Questions on the capability of non-IBM products should be addressed to the supplier of those products.
All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Contact your local IBM office or IBM authorized reseller for the full text of the specific Statement of Direction.
Some information in this presentation addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment to specific levels of performance, function or delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented here to communicate IBM's current investment and development activities as a good faith effort to help with our customers' future planning.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here.
Photographs shown are of engineering prototypes. Changes may be incorporated in production models.
AS/400 IBM(logo) i5/OSAS/400e iSeriese (logo) business OS/400IBM System i