LCG AA Meeting 31 October 2007 The new dynamically and extensively customizable ROOT browser Bertrand Bellenot.

Slides:



Advertisements
Similar presentations
3.02D HTML Overview 3.02 Develop webpages.
Advertisements

© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
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.
© 2010 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
CIS101 Introduction to Computing
Introduction To Form Builder
1 Agenda Overview Review Roles Lists Libraries Columns.
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Web Browser: Netscape Navigator and Internet Explorer By Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore.
Digital Image Processing Lecture3: Introduction to MATLAB.
Bertrand Bellenot root.cern.ch ROOT I/O in JavaScript Reading ROOT files from any web browser ROOT Users Workshop
© 2012 Boise State University1 WordPress Training February 14, 2013.
4.1 JavaScript Introduction
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Sept 11, 2003ROOT Day1, Suzanne Panacek39 ROOT An object oriented HEP analysis framework. Day 1.
ROOT An object oriented HEP analysis framework.. Computing in Physics Physics = experimental science =>Experiments (e.g. at CERN) Planning phase Physics.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
ROOT Tutorials - Session 51 ROOT Tutorials – Session 8 GUI, Signal/Slots, Image Processing, Carrot Fons Rademakers.
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Tutorial 1: Getting Started with Adobe Dreamweaver CS4.
© 2012 Boise State University1 WordPress Training February 14, 2013.
Bertrand Bellenot ROOT Users Workshop Mar ROOT GUI Builder Status & Plans ROOT & External GUI World MFC, FOX, Qt, PVSS… Snapshot of the Future.
Java Programming, 3e Concepts and Techniques Chapter 3 Section 65 – Manipulating Data Using Methods – Java Applet.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
HTML presentation Embedding Graphics in Web Pages n HTML uses an empty tag called the (image tag) n n n or n n n Note: all web production tools do insert.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Presented by Graduate Design Group 2 Meredith, Jennifer, Cammay and Diane.
Dynamic Web Pages & JavaScript. Dynamic Web Pages Dynamic = Change Dynamic Web Pages are web pages that change. More than just moving graphics around.
Active-HDL Interfaces Debugging C Code Course 10.
Writing Extension Modules (Plugins) for JAS 3 Mark Donszelmann Tony Johnson Victor Serbo Max Turri CHEP2004, 27 september-1 october 2004, Interlaken, Switzerland.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit G Using Forms to Control Input.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Designer Basics.
THttpServer for ROOT Bertrand Bellenot, CERN Sergey Linev, GSI Darmstadt
Chapter 1 – Matlab Overview EGR1302. Desktop Command window Current Directory window Command History window Tabs to toggle between Current Directory &
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
CHEP 2013, Amsterdam Reading ROOT files in a browser ROOT I/O IN JAVASCRIPT B. Bellenot, CERN, PH-SFT B. Linev, GSI, CS-EE.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
1 Applets are small applications that are accessed on an Internet server, transported over the internet, automatically installed and run as a part of web.
ROOT I/O in JavaScript Browsing ROOT Files on the Web For more information see: For any questions please use following address:
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
S.Linev: Go4 - J.Adamczewski, H.G.Essel, S.Linev ROOT 2005 New development in Go4.
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Go4 Workshop J.Adamczewski-Musch, S.Linev Go4 advanced features.
LCG AA Meeting 30 June 2004 Ilka Antcheva Graphics User Interface in ROOT.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
LCG AA Meeting 26 April 2006 User Interface Developments in ROOT Ilka Antcheva on behalf of ROOT GUI Work Package.
Tutorial 1 Getting Started with Adobe Dreamweaver CS5.
Installing and Using Evolve Evolve is written in Java and runs on any system with Java 1.6 Download Evolve from Unzip.
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
LCG AA Internal Review 30 March 2005 ROOT Graphical User Interface Ilka Antcheva, Bertrand Bellenot, Valeri Fine, Valeriy Onuchin, Fons Rademakers.
ROOT Event Recording system
MicrosoftTM SharePoint Content Management SystemTutorial
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Distributed object monitoring for ROOT analyses with Go4 v.3
Getting Started with Dreamweaver
Consult America Technology Consulting Services
Dongwhan Kim Annie Zhao Steven Lawrance
Presentation transcript:

LCG AA Meeting 31 October 2007 The new dynamically and extensively customizable ROOT browser Bertrand Bellenot

Bertrand Bellenot LCG AA Meeting 31 October From this…

Bertrand Bellenot LCG AA Meeting 31 October To this

Bertrand Bellenot LCG AA Meeting 31 October Overview Features New layout Plug-in management Available (built-in) plug-ins File browser Canvas Text editor Command redirection HTML browser …

Bertrand Bellenot LCG AA Meeting 31 October New Layout The new browser has three main tabs, separated by horizontal and vertical splitters: Tab 0 (left) Tab 1 (right) Tab 2 (bottom) Splitter

Bertrand Bellenot LCG AA Meeting 31 October Plug-in Management Each Tab can be populated with plug-ins. A plug-in can be a macro or a command, as shown below: Example 1 - create a browser and execute a macro as plugin: Tbrowser b; b.ExecPlugin("MyPlugin", "MyMacro.C"); In this example, the macro “MyMacro.C” creates a TGMainFrame, which will be embedded at the default location (righ tab), creating a new tab element called “MyPlugin”. To be able to use a macro as plug-in, it must create a TGMainFrame, passing “gClient->GetRoot()” as parent window in its constructor, i.e.: fMain = new TGMainFrame(gClient->GetRoot(), 300, 150);

Bertrand Bellenot LCG AA Meeting 31 October Plug-in Management (cont) Example of plug-in using the macro Slider3Demo from ROOT tutorials b.ExecPlugin(0, "gui/Slider3Demo.C");

Bertrand Bellenot LCG AA Meeting 31 October Plug-in Management (cont) Example 2 - create a browser and execute a command as plug-in: Tbrowser b; b.ExecPlugin("Canvas", 0, "new TCanvas()"); In this example, the TCanvas will be embedded at the default location (right tab), creating a new tab element called “Canvas”. This can be achieved with any class creating (or inheriting from) a TGMainFrame. The only requirement is to pass gClient->GetRoot() as parent in the constructor, as shown previously. Plug-in execution is also available from the “Browser” menu:

Bertrand Bellenot LCG AA Meeting 31 October Available (built-in) Plug-ins There are several plug-ins already available in ROOT. They are: File browser (TGFileBrowser). This is the core of the new browser, allowing to browse system directories and ROOT files and execute macros, as in the old browser. Text editor (TGTextEditor) allowing to edit, execute and compile macros. Double-clicking on a macro file in the file browser while the active tab contains a text editor will open the macro in the editor. Canvas (TCanvas). Double-clicking on a graphic object inside a ROOT file will display the histogram in the canvas. Command (I/O) redirection (TGCommandPlugin). This plug-in creates a combo box (populated with root command history) to enter interpreter commands (stdin), and a text view displaying the output (stdout/stderr). HTML browser (TGHtmlBrowser), allowing to browse web pages and to open remote ROOT files (via http protocol). Proof (TSessionViewer), allowing to manage Proof and local sessions GL Viewer, ROOT’s OpenGL viewer.

Bertrand Bellenot LCG AA Meeting 31 October Available (built-in) Plug-ins (cont) The built-in plug-ins to be loaded by the browser at creation time are specified in the ROOT configuration file (system.rootrc or.rootrc) In this file, user can also specify which browser has to be used: Browser.Name: TRootBrowserLite # Browser Options (plugins) # F: File browser E: Text Editor H: HTML browser # C: Canvas I: I/O redirection P: Proof G: GL viewer Browser.Options: FECI Browser.Name: specify the browser real implementation, TRootBrowser being the new browser and TRootBrowserLite being the old one Browser.Options: plug-ins to be included at browser startup time. It is also possible to specify (overwrite) the plug-ins option in the TBrowser constructor, i.e. new TBrowser("Browser", "ROOT Browser", 0, "FEHCI");

Bertrand Bellenot LCG AA Meeting 31 October Examples File browser, canvas and command plug-ins:

Bertrand Bellenot LCG AA Meeting 31 October Examples (cont) File browser, editor and command plug-ins:

Bertrand Bellenot LCG AA Meeting 31 October Examples (cont) File browser, HTML and command plug-ins:

Bertrand Bellenot LCG AA Meeting 31 October Examples (cont) File browser, HTML and command plug-ins, browsing ROOT file via http:

Bertrand Bellenot LCG AA Meeting 31 October Real Application Example Alice Event Viewer (thanks to Matevz Tadel)

Bertrand Bellenot LCG AA Meeting 31 October Conclusions The new browser provides a fully and dynamically configurable interface. It uses a dynamic plug-in mechanism to reduce the code size and to extend its functionality. Any kind of user defined plug-in can be added without too much effort from the user side. Already available in svn trunk (ROOT v ) Users feedback is welcome!