SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom...

23
SYSTEM TOOLS WITH CINCOM® OBJECTSTUDIO® By Andreas Hiltner

Transcript of SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom...

Page 1: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

SYSTEM TOOLS WITH CINCOM® OBJECTSTUDIO® By Andreas Hiltner

Page 2: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product
Page 3: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Overview

©2015 Cincom Systems Inc. All Rights Reserved. 3

•  Intention •  Power Capabilities / - State

•  BatteryMeter •  GUID Generator •  Windows

•  Window Spy •  Window Finder

•  Processes •  Process Exlorer •  GDI Log

•  Questions

Page 4: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

INTENTION Produce tools that help test and debug next generation UI windows and controls.

Page 5: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Power Capabilities

©2015 Cincom Systems Inc. All Rights Reserved. 5

Class PowerCapabilities Contains information about the power capabilities of the system. e.g.

•  is there a system power button •  is there a lid present •  is a battery present •  Is a thermal control present •  (…)

Page 6: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Power State

©2015 Cincom Systems Inc. All Rights Reserved. 6

Class PowerState provides a system-wide set of power management features. The class retrives the power status, notify the application of power management events and notify the system of the application‘s power requirements.

Page 7: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Power State (con‘t)

©2015 Cincom Systems Inc. All Rights Reserved. 7

•  Away Mode required •  Display required •  System required •  Suspend / Hibernate •  Announcements for

•  Suspend operations •  Resume from Suspend

•  Battery state (charging/high/low/critical)

Page 8: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Battery Meter

©2015 Cincom Systems Inc. All Rights Reserved. 8

Page 9: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

GUID Generator

©2015 Cincom Systems Inc. All Rights Reserved. 9

Generate GUIDS with different styles.

Page 10: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Window Spy

©2015 Cincom Systems Inc. All Rights Reserved. 10

Window Spy shows all registered windows, that exist at the present time in a hierarchical view. Not just of its own Smalltalk process, but all existing processes, starting with the Windows Desktop. Window Spy also retrieves information about the process, the window belongs to.

Page 11: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Window Spy (con‘t)

©2015 Cincom Systems Inc. All Rights Reserved. 11

Page 12: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Window Spy (con‘t)

©2015 Cincom Systems Inc. All Rights Reserved. 12

Page 13: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Window Finder

©2015 Cincom Systems Inc. All Rights Reserved. 13

Window Finder locates and retrieves styles and extended styles of any open window in the system.

It works in conjunction with Window Spy.

Page 14: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Window Finder (con‘t)

©2015 Cincom Systems Inc. All Rights Reserved. 14

Page 15: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Process Explorer

©2015 Cincom Systems Inc. All Rights Reserved. 15

ProcessExplorer displays all existing processes and information about

•  Process ID (PID)

•  Number of GDI objects

•  Number of User Objects

•  Creation time

•  Time spend in User Mode

•  Time spend in Kernel Mode

•  Search for the Executable Name

Page 16: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Process Explorer (con‘t)

©2015 Cincom Systems Inc. All Rights Reserved. 16

Page 17: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Process Explorer (con‘t)

©2015 Cincom Systems Inc. All Rights Reserved. 17

Page 18: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

Process Explorer (con‘t)

©2015 Cincom Systems Inc. All Rights Reserved. 18

Page 19: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

GDI Log

©2015 Cincom Systems Inc. All Rights Reserved. 19

GDI Log shows the usage of the various GDI resources over time.

It can help to identify resource leaks and indicate, which resources are used during operations.

Page 20: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

GDI Log (con‘t)

©2015 Cincom Systems Inc. All Rights Reserved. 20

Page 21: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

©2015 Cincom Systems Inc. All Rights Reserved. 21

Questions?

Page 22: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

©2015 Cincom Systems Inc. All Rights Reserved. 22

Star Team (Smalltalk Strategic Resources)

–  Suzanne Fortman ([email protected]) Cincom Smalltalk Program Director

–  Arden Thomas ([email protected]) Cincom Smalltalk Product Manager

–  Jeremy Jordan ([email protected]) Cincom Smalltalk Marketing Manager

–  Suzanne Fortman ([email protected]) Cincom Smalltalk Engineering Manager

Contact Information

Page 23: SYSTEM TOOLS WITHesug.org/data/ESUG2015/2 tuesday/1030-1100 Smalltalk driven GUI/… · Cincom Smalltalk Program Director – Arden Thomas (athomas@cincom.com) Cincom Smalltalk Product

©2015 Cincom Systems Inc. All Rights Reserved. 23

Evaluate Cincom Smalltalk:

try.cincomsmalltalk.com    Join our Cincom Smalltalk Developer Program:

develop.cincomsmalltalk.com

Try Cincom Smalltalk