Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan. 2013 Control System Studio Training - Extension Points:

Slides:



Advertisements
Similar presentations
Extending Eclipse Kai-Uwe Mätzel IBM OTI Labs Zurich
Advertisements

Control System Studio (CSS)
Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: First Steps Kay Kasemir ORNL/SNS June 2014.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April, 2013 Getting Started with CSS.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Authentication,
Views Dwight Deugo Nesa Matic
1 Plug-in Development Environment (PDE) Guide. 2 Introduction to PDE l What is PDE: »a tool designed to help you develop platform plug-ins while working.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Alarm System Use.
CRSX plug-in development. Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Alarm System Use.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS 2012, April at SLAC Eclipse Products, Features, Plugins,
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Workspaces, Shared.
Control System Studio (CSS)‏ Kunal Shroff EPICS Training Meeting 07/10/2010.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
What you always wanted to know about Developing for Eclipse/CSS but were afraid to ask Kay Kasemir June 2010.
Met Alert Tool (MAT). Introduction What is MAT? –Met Alert Tool (MAT) monitors and alerts the user to weather conditions exceeding thresholds (for example,
Jan Hatje, DESY CSS ITER March 2009: Alarm System, Authorization, Remote Management XFEL The European X-Ray Laser Project X-Ray Free-Electron.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS July 2011 at Control System Studio - CSS - Overview.
Project confidential Page 1 20-Jan-09 Integrated Project – EC FP AspireRFID Developers First CodeCamp Athens Information Technology Nikos Kefalakis.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS July 2011 at Control System Studio - CSS - Overview.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Web OPI.
Arc: AddIns Dr Andy Evans. Java Direct access to ArcObjects Framework inside and outside Arc. Ability to add components to the GUI. Ability to communicate.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: BOY Kay Kasemir ORNL/SNS A lot of material from.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Control System Studio (CSS) Overview Kay Kasemir, July 2009.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Archive System Setup.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
Jan Hatje, DESY CSS GSI Feb. 2009: Alarm System, Authorization, Remote Management XFEL The European X-Ray Laser Project X-Ray Free-Electron.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS With slides from Xihui Chen May 2014 Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Development Setup.
CSS – Control System Studio
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Introduction 2 nd.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Matthias Clausen, DESY CSS GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April Control System Studio Training - Development.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Not Yet Another EPICS Display Manager!? Kay Kasemir, Xihui Chen Kobe EPICS Meeting October.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio, CSS Overview.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Applications Kay Kasemir ORNL/SNS Using Information and pictures from Matthias Clausen, Jan Hatje, and Helge Rickens (DESY) October 2007.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
ORNL is managed by UT-Battelle for the US Department of Energy CSS: OPI Views Kay Kasemir, Jan
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting EPICS Training Client Tools EPICS collaboration meeting 2008.
CSS Synoptic Display Comments Kay Kasemir, July 2009.
Plug-In Architecture Pattern. Problem The functionality of a system needs to be extended after the software is shipped The set of possible post-shipment.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS May 2014 Control System Studio Training - Hierarchical Preferences.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
Managed by UT-Battelle for the Department of Energy Quest for the Best Ever Alarm System Tool Kay Kasemir Oct
BOY, A Modern Graphical Operator Interface Editor and Runtime Xihui Chen, Kay Kasemir RAD Control Group.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
Control System Studio (CSS)
Plug-In Architecture Pattern
Presentation transcript:

Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Extension Points: Logbook Example

2Managed by UT-Battelle for the Department of Energy Extension points Eclipse: –menus, online help, preferences, views, editors, toolbar buttons, … CSS: –live data, archived data, logbook, … Dummy Logbook: Example for basic mechanism

3Managed by UT-Battelle for the Department of Energy Example CSS Product No “Logbook”. Why? No “Logbook”. Why? In principle, BOY displays and Data Browser support the Logbook …

4Managed by UT-Battelle for the Department of Energy The only constant is Change… Examples refer to a “logbookfactory”, an API for writing simple log entries. BNL/FRIB right now triggering update to a more elaborate “logclientfactory” API for reading and writing more elaborate log entries. The following will soon be outdated, it’s meant as a simple example.

5Managed by UT-Battelle for the Department of Energy Terms org.csstudio.logbook logbookfactory org.csstudio.logbook logbookfactory mylogbookfactory ….logbook.mysite Defines Extension Point “logbookfactory”. Can query Eclipse Registry for available implementations. Defines Extension Point “logbookfactory”. Can query Eclipse Registry for available implementations. Plugs into point “logbookfactory”. Implements logbook access for my site. Plugs into point “logbookfactory”. Implements logbook access for my site. opibuilder databrowser alarm gui Plugins that try to access the logbook

6Managed by UT-Battelle for the Department of Energy No Logbook Implementation!  There’s one for..sns, but not YourSite

7Managed by UT-Battelle for the Department of Energy Create org.csstudio.logbook.mybook File, New, Plug-In Project –Enter name –Next, … Finish

8Managed by UT-Battelle for the Department of Energy Configure org.csstudio.logbook.mybook MANIFEST.MF editor should open –On the “Overview”, check “This plug-in is a singleton” –Select “Dependencies” –Add org.csstudio.logbook

9Managed by UT-Battelle for the Department of Energy About “Logbookfactory” Extension Point We could –Open org.csstudio.logbook/ plugin.xml –In the “Extension Points” tab, locate the “logbookfactory” and read its description –Study the ILogbookFactory interface –Study one of the supplied implementations Or: Just Do It –And let Eclipse help on the way

10Managed by UT-Battelle for the Department of Energy Make..mybook extend logbookfactory  In editor for..mylogbook/MANIFEST.MF –Select “Extensions” –Pick..logbookfactory –Finish

11Managed by UT-Battelle for the Department of Energy Configure your logbookfactory If we had read the extension point description, we would know that we need an –ID –Name of our Java class The extensions editor helps us to provide these. Finally, click on the “class*:” link

12Managed by UT-Battelle for the Department of Energy  Eclipse –suggests required Java Interface –Provides skeleton –JavaDoc Implement LogbookFactory

13Managed by UT-Battelle for the Department of Energy Finally: Do need to write code

14Managed by UT-Battelle for the Department of Energy Try it  Include in run configuration There it is!

15Managed by UT-Battelle for the Department of Energy Troubleshooting  Was the plugin included in the run configuration?  In product, check Help, About, Installation Details, Plug-Ins –Is it really loaded?

16Managed by UT-Battelle for the Department of Energy Extension Points  There are many! –Read Eclipse RCP Books –See Eclipse IDE online help – –Study CSS Sources  Code is nicely decoupled and “packaged”