This document provides a basic tutorial on using the Eclipse IDE for Java development, covering topics such as creating and configuring Java projects, using the debugger, searching code, refactoring code, and more. It includes step-by-step instructions and explanations of Java-related features in Eclipse. The table of contents lists over 50 sections covering various aspects of the Java development tools in Eclipse.
Candy - Construction Estimating & Valuations - rev 2.01Jerico Awat
This document provides a table of contents for a course on construction estimating and valuations. The document outlines 12 chapters that will be covered in the course, including importing a bill of quantities, pricing bill items, using subcontractors, adding markups, and post-tender control. Key topics that will be addressed include downloading software, setting up new projects, importing Excel spreadsheets, defining trades, using worksheets to price items, analyzing resources, and using masters for pricing.
This document provides an index and overview of the chapters contained in the Candy Construction Planning & Programming course notes. The chapters cover topics like starting a new company and job in Candy, using the planning and calendar modules, creating and customizing bar charts to plan activities, program analysis using checklists and timelines, reporting on resources, procurement scheduling, and updating progress. The course aims to teach the objectives and logic of Candy planning as well as practical techniques for filtering, sorting, copying and navigating documents.
This document provides an overview and instructions for using Moodle 2.0. It discusses navigating Moodle and managing course content. Key topics covered include logging in, page layouts, adding and arranging blocks, turning on editing, uploading files and creating folders, setting resource and activity visibility, and creating assignments for file uploads. The document is intended to help users understand Moodle basics and essential design elements.
Sap hr implementation config rc - Aditi TarafdarAditi Tarafdar
This document provides configuration instructions for SAP HR recruitment management. It covers settings for integrating recruitment with personnel administration, configuring workforce requirements and advertising, applicant administration, and applicant selection. The document includes screenshots of relevant SAP system navigation screens and configuration screens. It aims to meet Indian business scenarios and requirements for recruitment processes in SAP.
This document is a table of contents for a book titled "A Beginners Introduction to Java 2" by James W. Cooper. The document outlines 27 chapters that cover topics such as how computers work, what Java is, installing and using Java, the syntax of the Java language, object oriented programming in Java, using classes in Java, inheritance, Java visual controls, Swing classes, writing Java programs and applets, files and exceptions in Java, using threads in Java, images in Java, menus and dialogs in Java, and more advanced Java topics including packages, building web pages, JavaScript, servlets, and Java server pages.
Here are the key steps for browsing component classes using the PCB editor panel:
- Select "Component Classes" from the drop down box at the top of the panel. This will list all component classes in the PCB.
- Click on a component class name to select it. The components that belong to that class will then be listed in the lower scroll box.
- You can click on a component name to highlight it in the MiniViewer.
- Click the "Edit" button to open the Edit Component Class dialog box for the selected class. This allows you to modify the class properties.
- Double clicking a component name will also open the Edit Component dialog box for that specific component.
-
This document provides guidance on creating and designing clinical studies in Oracle Clinical. It discusses planning studies, defining data collection instruments (DCMs and DCIs), creating treatment schedules, and other important study design activities. The key steps covered include planning intervals and events, creating sites and patient positions, defining treatments and randomization, and laying out data entry screens.
Candy - Construction Estimating & Valuations - rev 2.01Jerico Awat
This document provides a table of contents for a course on construction estimating and valuations. The document outlines 12 chapters that will be covered in the course, including importing a bill of quantities, pricing bill items, using subcontractors, adding markups, and post-tender control. Key topics that will be addressed include downloading software, setting up new projects, importing Excel spreadsheets, defining trades, using worksheets to price items, analyzing resources, and using masters for pricing.
This document provides an index and overview of the chapters contained in the Candy Construction Planning & Programming course notes. The chapters cover topics like starting a new company and job in Candy, using the planning and calendar modules, creating and customizing bar charts to plan activities, program analysis using checklists and timelines, reporting on resources, procurement scheduling, and updating progress. The course aims to teach the objectives and logic of Candy planning as well as practical techniques for filtering, sorting, copying and navigating documents.
This document provides an overview and instructions for using Moodle 2.0. It discusses navigating Moodle and managing course content. Key topics covered include logging in, page layouts, adding and arranging blocks, turning on editing, uploading files and creating folders, setting resource and activity visibility, and creating assignments for file uploads. The document is intended to help users understand Moodle basics and essential design elements.
Sap hr implementation config rc - Aditi TarafdarAditi Tarafdar
This document provides configuration instructions for SAP HR recruitment management. It covers settings for integrating recruitment with personnel administration, configuring workforce requirements and advertising, applicant administration, and applicant selection. The document includes screenshots of relevant SAP system navigation screens and configuration screens. It aims to meet Indian business scenarios and requirements for recruitment processes in SAP.
This document is a table of contents for a book titled "A Beginners Introduction to Java 2" by James W. Cooper. The document outlines 27 chapters that cover topics such as how computers work, what Java is, installing and using Java, the syntax of the Java language, object oriented programming in Java, using classes in Java, inheritance, Java visual controls, Swing classes, writing Java programs and applets, files and exceptions in Java, using threads in Java, images in Java, menus and dialogs in Java, and more advanced Java topics including packages, building web pages, JavaScript, servlets, and Java server pages.
Here are the key steps for browsing component classes using the PCB editor panel:
- Select "Component Classes" from the drop down box at the top of the panel. This will list all component classes in the PCB.
- Click on a component class name to select it. The components that belong to that class will then be listed in the lower scroll box.
- You can click on a component name to highlight it in the MiniViewer.
- Click the "Edit" button to open the Edit Component Class dialog box for the selected class. This allows you to modify the class properties.
- Double clicking a component name will also open the Edit Component dialog box for that specific component.
-
This document provides guidance on creating and designing clinical studies in Oracle Clinical. It discusses planning studies, defining data collection instruments (DCMs and DCIs), creating treatment schedules, and other important study design activities. The key steps covered include planning intervals and events, creating sites and patient positions, defining treatments and randomization, and laying out data entry screens.
This study utilized the Diffusion of Innovation Theory (DOI), and the Digital Marketing Model (DMM) and proposes a model
to examine the impact of perceived internal and external factors; on the effective implementation
strategies employed by organizations and how they affect Web sustainability.
The document provides an overview and instructions for operating an ER-350 electronic cash register, including descriptions of the keyboard functions and basic features such as registering sales, totaling transactions, and accepting various forms of payment. It also outlines programming options for customizing settings like departments, taxes, clerks, and reports.
The document provides an overview of Apex development for the Winter '13 release of Salesforce:
- It introduces Apex and how it can be used to extend Salesforce with custom application logic. The basic development process is outlined including using sandboxes, writing code, testing, and deployment.
- Core Apex concepts like data types, variables, expressions, and control structures are explained. Invoking Apex via triggers, schedulers, and anonymous blocks is also covered at a high level.
- The document serves as a reference for Apex classes, interfaces, exceptions and standard methods that can be used in development. Debugging and testing techniques are also summarized.
This chapter introduces Joomla, an open source content management system (CMS) used to build websites. Joomla is derived from the Swahili word meaning "all together" and is the result of a discussion between the Mambo Foundation and its development team in 2005. Joomla has seen major version releases over the years including 1.0, 1.5, 1.6, 1.7, and the upcoming long term support (LTS) version 2.5. Joomla is used worldwide on simple homepages and complex corporate websites due to its ease of installation, management, and reliability. While many existing users have upgraded over the years, there are still those unfamiliar with the system.
This document summarizes the applied software engineering assignment for developing a Monopoly game. It includes reverse engineering the original game and analyzing requirements. System requirements and use cases are defined. Class diagrams and state diagrams are created to model the game elements and their relationships. The re-engineering process uses test-driven development, with unit tests created for key components. Some tests are incomplete, demonstrating a need to fully implement testing. The document concludes with a review of test-driven development effectiveness and recommendations to improve the software quality.
This document provides instructions for using the Scrapbook+ application version 2.2. It describes how to install Scrapbook+, start the application, capture pages by autopasting from the clipboard or taking screen captures, save Scrapbook+ files, open existing files, start new files, export pages to individual files, and cut, copy, and paste pages. The manual also contains information on configuring Scrapbook+, deleting pages, moving between pages, and finding pages.
The document summarizes deviations between JScript and ECMAScript Edition 3. It discusses 22 specific deviations across areas like white space handling, future reserved words, string literals, the arguments object, global object handling, and more. For each deviation, it provides an example and the output from running the example on different browsers to illustrate differences in implementation. The goal is to document JScript's non-conformance to the ECMA specification for various language features.
Production scheduling Using Microsoft Dynamics AX 2009
How to implement a production scheduling engine using Microsoft Dynamics AX 2009?
The standard Microsoft Dynamics AX 2009’s production scheduling engine considers the following:
A Route is a set of multiple operations sequentially executed.
The link between these operations can be soft or hard.
Each operation uses a specific work center
You can have several route versions to manufacture an item.
And more
In our production environment, a Production Line is a combination of two types of work centers that are a machine (an extruder) and downstream equipment (tools).We’re currently using a manual production scheduling system because there are some differences between the production module in Microsoft Dynamics AX 2009 and our current manual system. The current production routes registered in the system (in Dynamics AX 2009) are just enumeration of operations that in reality are done once at the time of the production.
This is meanly due to the understanding of the standard requirement of the production routing at the time of the implementation. The result of this mistake was a pure and simple abandon of the production scheduling sub module of Microsoft Dynamics AX 2009. Mainly because it will be too hard to maintain several thousand of routes.
Thus, the management decided to rely on its own experience.
The attempt of this paper is to show how we have tackled this complex issue of production scheduling and the lessons that we have learnt.
This document contains confidential information about a training module for an identity lifecycle manager. It establishes the document as proprietary and for internal use only. The document provides copyright information and disclaims any warranties for the content. It includes a table of contents but the content is not defined, indicating it is a draft or template document.
This document provides an overview and instructions for installing and configuring Slackware Linux. It covers getting and installing Slackware, system requirements, partitioning disks during setup, selecting and compiling kernels, configuring network hardware and network protocols like TCP/IP, and setting up dial-up connections using PPP. The table of contents provides additional details on topics like file system layout, finding files on the system, and managing kernel modules.
This chapter shows how to use the Data Wizard to add data to an existing HTML page template. The tutorial walks through opening the HTML template file, using the Data Wizard to connect to the sample schema and select the necessary data, and saving the file as a JSP. This creates a data model that makes the sample data available for use in generating the Web report.
The tutorial demonstrates how to add components to a new schematic design in DesignSpark. You select the Add Component browser tab and choose a component from the list, such as a resistor. You can then drag the component into the design window and place it by clicking. The tutorial instructs you to add 7 resistors to practice placing multiple components. Panning and zooming tools allow you to view the components closer.
This document provides information about the mia material shader library for architectural visualization and design. It discusses the fundamentals of physically based rendering used by the mia material, describes the material's features like its shading model, BRDF, and parameters for controlling effects like diffuse, reflections, refractions, and more. It also provides tips for simulating common materials like wood, glass, metals, water and optimizing performance.
Red Hat Enterprise Linux 4: Introduction to System Administration is a documentation guide that covers:
1. The philosophy of system administration including automating tasks, documenting processes, communicating with users, understanding resources and security.
2. Resource monitoring on Linux systems using tools like free, top, vmstat and the Sysstat suite to monitor CPU, memory, storage and bandwidth usage.
3. Managing bandwidth and processing power on Linux including monitoring techniques in Red Hat Enterprise Linux and improving performance by addressing bottlenecks.
This document provides a summary of the Spring Framework reference documentation for version 2.5.6. It includes an overview of the framework, descriptions of key components like the IoC container and AOP support, and details on using Spring for enterprise applications with features such as transactions, JDBC, and testing.
This document provides a legal guide for podcasting, covering copyright, publicity rights, trademark, and distribution issues. It explains that permission is generally required to use others' written works but lists exceptions for facts, public domain works, US government works, fair use, and Creative Commons-licensed content. It also discusses using music, video, interviews and one's own written works in podcasts. The guide provides examples of fair use and explains how to license and distribute one's podcast while complying with copyright law.
SMX Social Media Scottsdale - Tools To Maximize Your Social Media EffortsTy Downing
This document provides tips for maximizing social media marketing. It recommends tools for smarter marketing, including Roost.com for Facebook content, timeu.se for determining the best times to post on Twitter and Facebook, and bit.ly/gplusweapon for growing circles and engagement on Google+. It also notes that the biggest spikes in Facebook usage tend to occur on weekdays from 11am to 3pm and 8pm ET based on analyzing 1500 random streams.
This study utilized the Diffusion of Innovation Theory (DOI), and the Digital Marketing Model (DMM) and proposes a model
to examine the impact of perceived internal and external factors; on the effective implementation
strategies employed by organizations and how they affect Web sustainability.
The document provides an overview and instructions for operating an ER-350 electronic cash register, including descriptions of the keyboard functions and basic features such as registering sales, totaling transactions, and accepting various forms of payment. It also outlines programming options for customizing settings like departments, taxes, clerks, and reports.
The document provides an overview of Apex development for the Winter '13 release of Salesforce:
- It introduces Apex and how it can be used to extend Salesforce with custom application logic. The basic development process is outlined including using sandboxes, writing code, testing, and deployment.
- Core Apex concepts like data types, variables, expressions, and control structures are explained. Invoking Apex via triggers, schedulers, and anonymous blocks is also covered at a high level.
- The document serves as a reference for Apex classes, interfaces, exceptions and standard methods that can be used in development. Debugging and testing techniques are also summarized.
This chapter introduces Joomla, an open source content management system (CMS) used to build websites. Joomla is derived from the Swahili word meaning "all together" and is the result of a discussion between the Mambo Foundation and its development team in 2005. Joomla has seen major version releases over the years including 1.0, 1.5, 1.6, 1.7, and the upcoming long term support (LTS) version 2.5. Joomla is used worldwide on simple homepages and complex corporate websites due to its ease of installation, management, and reliability. While many existing users have upgraded over the years, there are still those unfamiliar with the system.
This document summarizes the applied software engineering assignment for developing a Monopoly game. It includes reverse engineering the original game and analyzing requirements. System requirements and use cases are defined. Class diagrams and state diagrams are created to model the game elements and their relationships. The re-engineering process uses test-driven development, with unit tests created for key components. Some tests are incomplete, demonstrating a need to fully implement testing. The document concludes with a review of test-driven development effectiveness and recommendations to improve the software quality.
This document provides instructions for using the Scrapbook+ application version 2.2. It describes how to install Scrapbook+, start the application, capture pages by autopasting from the clipboard or taking screen captures, save Scrapbook+ files, open existing files, start new files, export pages to individual files, and cut, copy, and paste pages. The manual also contains information on configuring Scrapbook+, deleting pages, moving between pages, and finding pages.
The document summarizes deviations between JScript and ECMAScript Edition 3. It discusses 22 specific deviations across areas like white space handling, future reserved words, string literals, the arguments object, global object handling, and more. For each deviation, it provides an example and the output from running the example on different browsers to illustrate differences in implementation. The goal is to document JScript's non-conformance to the ECMA specification for various language features.
Production scheduling Using Microsoft Dynamics AX 2009
How to implement a production scheduling engine using Microsoft Dynamics AX 2009?
The standard Microsoft Dynamics AX 2009’s production scheduling engine considers the following:
A Route is a set of multiple operations sequentially executed.
The link between these operations can be soft or hard.
Each operation uses a specific work center
You can have several route versions to manufacture an item.
And more
In our production environment, a Production Line is a combination of two types of work centers that are a machine (an extruder) and downstream equipment (tools).We’re currently using a manual production scheduling system because there are some differences between the production module in Microsoft Dynamics AX 2009 and our current manual system. The current production routes registered in the system (in Dynamics AX 2009) are just enumeration of operations that in reality are done once at the time of the production.
This is meanly due to the understanding of the standard requirement of the production routing at the time of the implementation. The result of this mistake was a pure and simple abandon of the production scheduling sub module of Microsoft Dynamics AX 2009. Mainly because it will be too hard to maintain several thousand of routes.
Thus, the management decided to rely on its own experience.
The attempt of this paper is to show how we have tackled this complex issue of production scheduling and the lessons that we have learnt.
This document contains confidential information about a training module for an identity lifecycle manager. It establishes the document as proprietary and for internal use only. The document provides copyright information and disclaims any warranties for the content. It includes a table of contents but the content is not defined, indicating it is a draft or template document.
This document provides an overview and instructions for installing and configuring Slackware Linux. It covers getting and installing Slackware, system requirements, partitioning disks during setup, selecting and compiling kernels, configuring network hardware and network protocols like TCP/IP, and setting up dial-up connections using PPP. The table of contents provides additional details on topics like file system layout, finding files on the system, and managing kernel modules.
This chapter shows how to use the Data Wizard to add data to an existing HTML page template. The tutorial walks through opening the HTML template file, using the Data Wizard to connect to the sample schema and select the necessary data, and saving the file as a JSP. This creates a data model that makes the sample data available for use in generating the Web report.
The tutorial demonstrates how to add components to a new schematic design in DesignSpark. You select the Add Component browser tab and choose a component from the list, such as a resistor. You can then drag the component into the design window and place it by clicking. The tutorial instructs you to add 7 resistors to practice placing multiple components. Panning and zooming tools allow you to view the components closer.
This document provides information about the mia material shader library for architectural visualization and design. It discusses the fundamentals of physically based rendering used by the mia material, describes the material's features like its shading model, BRDF, and parameters for controlling effects like diffuse, reflections, refractions, and more. It also provides tips for simulating common materials like wood, glass, metals, water and optimizing performance.
Red Hat Enterprise Linux 4: Introduction to System Administration is a documentation guide that covers:
1. The philosophy of system administration including automating tasks, documenting processes, communicating with users, understanding resources and security.
2. Resource monitoring on Linux systems using tools like free, top, vmstat and the Sysstat suite to monitor CPU, memory, storage and bandwidth usage.
3. Managing bandwidth and processing power on Linux including monitoring techniques in Red Hat Enterprise Linux and improving performance by addressing bottlenecks.
This document provides a summary of the Spring Framework reference documentation for version 2.5.6. It includes an overview of the framework, descriptions of key components like the IoC container and AOP support, and details on using Spring for enterprise applications with features such as transactions, JDBC, and testing.
This document provides a legal guide for podcasting, covering copyright, publicity rights, trademark, and distribution issues. It explains that permission is generally required to use others' written works but lists exceptions for facts, public domain works, US government works, fair use, and Creative Commons-licensed content. It also discusses using music, video, interviews and one's own written works in podcasts. The guide provides examples of fair use and explains how to license and distribute one's podcast while complying with copyright law.
SMX Social Media Scottsdale - Tools To Maximize Your Social Media EffortsTy Downing
This document provides tips for maximizing social media marketing. It recommends tools for smarter marketing, including Roost.com for Facebook content, timeu.se for determining the best times to post on Twitter and Facebook, and bit.ly/gplusweapon for growing circles and engagement on Google+. It also notes that the biggest spikes in Facebook usage tend to occur on weekdays from 11am to 3pm and 8pm ET based on analyzing 1500 random streams.
This document provides an overview and outlines for a 16-lesson tutorial on learning Java and Eclipse. The tutorial uses a sample application for a personal lending library to demonstrate Eclipse features and teach Java concepts. Key topics covered include creating Java classes, writing JUnit tests, using the Eclipse scrapbook, ArrayLists, and developing with a test-first approach. The lessons progress from simple classes to implementing full methods for the lending library application.
This document provides an overview and outline for a tutorial on using Eclipse and Java for beginners. The tutorial covers topics such as creating a first Java class, adding methods, using Eclipse scrapbook, JUnit testing, test-driven development, creating classes like Book and Person, and developing a sample library application using an ArrayList. The document includes lesson outlines, code snapshots, and additional learning resources. The goal is to teach beginners the basics of using Eclipse for Java development and provide a foundation for continuing to learn Java and Eclipse.
This tutorial covers the basics of using FastTrack Schedule, including creating activities, drawing bars, typing dates, drawing milestones, dragging bars, changing the schedule date range, typing to change dates, printing the schedule, and printing the schedule in Calendar View. It introduces key elements of the FastTrack Schedule environment like the timeline, columns, rows, and timescale areas.
This document contains an acknowledgement section thanking contributors to the book including the author's family and website visitors. It also includes a short biography of the author, Dr. Liew Voon Kiong, who has over 15 years of programming experience and created a popular online Visual Basic tutorial. The table of contents provides an overview of the 14 lessons that make up the book, which aim to teach beginners about Visual Basic programming through examples and explanations of concepts like controls, data types, program flow, loops, functions and string manipulation.
This document provides an overview and tutorial on the Java programming language. It begins with an introduction to Java and discusses setting up the Java environment. It then covers Java basics like syntax, object-oriented programming concepts, variables, data types, operators, control flow statements and more. The document also includes tutorials on key Java aspects like strings, dates, numbers, arrays and regular expressions. It aims to give readers a complete understanding of the Java language.
This document provides an overview and tutorial on the Java programming language. It begins with an introduction to Java and discusses setting up a Java environment. It then covers Java basics like syntax, object-oriented programming concepts, variables, data types, operators, control flow statements and more. The document also includes tutorials on key Java aspects like strings, dates, numbers, arrays and regular expressions. It aims to give readers a complete understanding of the Java language.
This document provides an overview and tutorial on the Java programming language. It begins with an introduction to Java and discusses setting up the Java environment. It then covers Java basics like syntax, object-oriented programming concepts, variables, data types, operators, control flow statements and more. The document also includes tutorials on key Java aspects like strings, dates, numbers, arrays and regular expressions. It aims to give readers a complete understanding of the Java language.
This document provides an introduction to business modeling concepts and a comparison of the Unified Modeling Language (UML) and the Integration DEFinition (IDEF) family of languages for business modeling. It defines key terms like business models and processes. It also discusses how business models can provide requirements for information systems and support business improvement vs innovation. The document outlines some important business concepts and the relationship between business and software architecture.
This document provides an overview of the Eclipse Process Framework (EPF) Composer tool. It includes sections on downloading and installing EPF Composer, downloading method content from various sources, an introduction to key concepts and capabilities of EPF Composer, tutorials for using EPF Composer to explore, author, and publish method content, and explanations of key concepts underlying the EPF methodology framework.
The Invest Plus user manual describes the setup wizard that allows users to easily create an Invest Plus database in 6 simple steps. The wizard guides users to enter basic personal details, cash and savings account information, financial year details, trading account and broker information to get started using Invest Plus. It provides an intuitive way to create a new file and set up the necessary master records to manage personal finances.
This document is a tutorial for ModelSim software version 6.4b. It contains 9 chapters that provide conceptual overviews and step-by-step instructions for using ModelSim's basic simulation, project management, waveform analysis, memory viewing, automation, and debugging features. The document also includes examples, figures, and an end-user license agreement.
This document outlines the implementation procedures for United Nations assisted programs in Ethiopia. It details the roles and responsibilities of coordinating bodies like the Ministry of Finance and Economic Development (MOFED) and implementing partners at the federal and regional levels. It covers procedures for annual work plan formulation and approval, implementation arrangements, financial management, monitoring and evaluation, and auditing. The goal is to establish a common set of procedures to govern all UN assisted programs in Ethiopia and reduce transaction costs.
Here are the steps to create an employee master in Tally.ERP 9:
1. Go to Gateway of Tally > Payroll Info > Employee Masters > Create
2. In the Employee Master Creation screen, enter the following details:
- Employee Code (Unique ID)
- Employee Name
- Date of Joining
- Employee Group (select the relevant group created earlier)
3. Press Enter. The Employee Statutory Details screen will be displayed.
4. Enter the relevant statutory details like PF Number, ESI Number etc.
5. Press Enter. The Employee Personal Details screen will be displayed.
6. Enter other details like date of birth, gender, address etc.
7. Press
This document provides an overview of the user interface and functionality for a building design software program. It includes sections on the product range, user interface layout and features, input aids, editing tools, and guidance for first steps like creating a project and views, inserting walls, windows, doors and other building elements, and setting properties of views. The document contains a table of contents listing its various subsections.
This document provides an overview and tutorial on the Java programming language. It discusses Java's history and tools needed, how to set up the Java environment, Java's basic syntax including identifiers, variables, and keywords. It also covers Java's basic data types, variable types, modifiers, operators, loops, decision making, numbers, characters, strings, arrays, date/time, regular expressions, methods, I/O, exceptions, inheritance, polymorphism, abstraction, encapsulation, and interfaces. The tutorial is intended for Java beginners to help them understand concepts from basic to advanced.
This document provides an overview and tutorial on how to set up and use JUnit, a unit testing framework for Java. It discusses JUnit's features and environment setup, including downloading and configuring JUnit. It then covers writing and running basic JUnit tests, including creating test classes, methods, and runners. The document is intended for Java developers new to JUnit looking to learn its basic functionality and implementation.
This document provides an overview and tutorial on how to set up and use JUnit, a unit testing framework for Java. It discusses JUnit's features and environment setup, including downloading and configuring JUnit. It then covers writing and running basic JUnit tests, including creating test classes, methods, and runners. The document aims to teach readers how to incorporate JUnit into their Java projects for unit testing.
Develop a portfolio to demonstrate school leadership and management competenc...Saide OER Africa
The main purpose of this module is to assist you to compile a reflective portfolio with evidence of your competence in school leadership and management. The secondary purpose is to enable you to understand the use of portfolios as an assessment instrument, so that you will be able to promote their use for assessing learners in your school.
This document provides an overview of agile software development methodology. It discusses that agile is used to build software incrementally using short 1-4 week iterations aligned with changing business needs, rather than a single 6-18 month predictive process. It also describes key agile roles like the Scrum Master who facilitates the team and removes blocks, and the Product Owner who prioritizes features. Finally, it explains that agile uses daily stand-ups, demos, and retrospectives to frequently get working software in front of stakeholders for feedback.
Similar to Org.Eclipse.Jdt.Doc.User.I20050627 1435 (20)
5th LF Energy Power Grid Model Meet-up SlidesDanBrown980551
5th Power Grid Model Meet-up
It is with great pleasure that we extend to you an invitation to the 5th Power Grid Model Meet-up, scheduled for 6th June 2024. This event will adopt a hybrid format, allowing participants to join us either through an online Mircosoft Teams session or in person at TU/e located at Den Dolech 2, Eindhoven, Netherlands. The meet-up will be hosted by Eindhoven University of Technology (TU/e), a research university specializing in engineering science & technology.
Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.
Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. It offers a standards-based foundation enabling real-time power systems analysis, simulations of electrical power grids, and sophisticated what-if analysis. In addition, it enables in-depth studies and analysis of the electrical power grid’s behavior and performance. This comprehensive model incorporates essential factors such as power generation capacity, electrical losses, voltage levels, power flows, and system stability.
Power Grid Model is currently being applied in a wide variety of use cases, including grid planning, expansion, reliability, and congestion studies. It can also help in analyzing the impact of renewable energy integration, assessing the effects of disturbances or faults, and developing strategies for grid control and optimization.
What to expect
For the upcoming meetup we are organizing, we have an exciting lineup of activities planned:
-Insightful presentations covering two practical applications of the Power Grid Model.
-An update on the latest advancements in Power Grid -Model technology during the first and second quarters of 2024.
-An interactive brainstorming session to discuss and propose new feature requests.
-An opportunity to connect with fellow Power Grid Model enthusiasts and users.
Essentials of Automations: Exploring Attributes & Automation ParametersSafe Software
Building automations in FME Flow can save time, money, and help businesses scale by eliminating data silos and providing data to stakeholders in real-time. One essential component to orchestrating complex automations is the use of attributes & automation parameters (both formerly known as “keys”). In fact, it’s unlikely you’ll ever build an Automation without using these components, but what exactly are they?
Attributes & automation parameters enable the automation author to pass data values from one automation component to the next. During this webinar, our FME Flow Specialists will cover leveraging the three types of these output attributes & parameters in FME Flow: Event, Custom, and Automation. As a bonus, they’ll also be making use of the Split-Merge Block functionality.
You’ll leave this webinar with a better understanding of how to maximize the potential of automations by making use of attributes & automation parameters, with the ultimate goal of setting your enterprise integration workflows up on autopilot.
How information systems are built or acquired puts information, which is what they should be about, in a secondary place. Our language adapted accordingly, and we no longer talk about information systems but applications. Applications evolved in a way to break data into diverse fragments, tightly coupled with applications and expensive to integrate. The result is technical debt, which is re-paid by taking even bigger "loans", resulting in an ever-increasing technical debt. Software engineering and procurement practices work in sync with market forces to maintain this trend. This talk demonstrates how natural this situation is. The question is: can something be done to reverse the trend?
Driving Business Innovation: Latest Generative AI Advancements & Success StorySafe Software
Are you ready to revolutionize how you handle data? Join us for a webinar where we’ll bring you up to speed with the latest advancements in Generative AI technology and discover how leveraging FME with tools from giants like Google Gemini, Amazon, and Microsoft OpenAI can supercharge your workflow efficiency.
During the hour, we’ll take you through:
Guest Speaker Segment with Hannah Barrington: Dive into the world of dynamic real estate marketing with Hannah, the Marketing Manager at Workspace Group. Hear firsthand how their team generates engaging descriptions for thousands of office units by integrating diverse data sources—from PDF floorplans to web pages—using FME transformers, like OpenAIVisionConnector and AnthropicVisionConnector. This use case will show you how GenAI can streamline content creation for marketing across the board.
Ollama Use Case: Learn how Scenario Specialist Dmitri Bagh has utilized Ollama within FME to input data, create custom models, and enhance security protocols. This segment will include demos to illustrate the full capabilities of FME in AI-driven processes.
Custom AI Models: Discover how to leverage FME to build personalized AI models using your data. Whether it’s populating a model with local data for added security or integrating public AI tools, find out how FME facilitates a versatile and secure approach to AI.
We’ll wrap up with a live Q&A session where you can engage with our experts on your specific use cases, and learn more about optimizing your data workflows with AI.
This webinar is ideal for professionals seeking to harness the power of AI within their data management systems while ensuring high levels of customization and security. Whether you're a novice or an expert, gain actionable insights and strategies to elevate your data processes. Join us to see how FME and AI can revolutionize how you work with data!
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/how-axelera-ai-uses-digital-compute-in-memory-to-deliver-fast-and-energy-efficient-computer-vision-a-presentation-from-axelera-ai/
Bram Verhoef, Head of Machine Learning at Axelera AI, presents the “How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-efficient Computer Vision” tutorial at the May 2024 Embedded Vision Summit.
As artificial intelligence inference transitions from cloud environments to edge locations, computer vision applications achieve heightened responsiveness, reliability and privacy. This migration, however, introduces the challenge of operating within the stringent confines of resource constraints typical at the edge, including small form factors, low energy budgets and diminished memory and computational capacities. Axelera AI addresses these challenges through an innovative approach of performing digital computations within memory itself. This technique facilitates the realization of high-performance, energy-efficient and cost-effective computer vision capabilities at the thin and thick edge, extending the frontier of what is achievable with current technologies.
In this presentation, Verhoef unveils his company’s pioneering chip technology and demonstrates its capacity to deliver exceptional frames-per-second performance across a range of standard computer vision networks typical of applications in security, surveillance and the industrial sector. This shows that advanced computer vision can be accessible and efficient, even at the very edge of our technological ecosystem.
Introduction of Cybersecurity with OSS at Code Europe 2024Hiroshi SHIBATA
I develop the Ruby programming language, RubyGems, and Bundler, which are package managers for Ruby. Today, I will introduce how to enhance the security of your application using open-source software (OSS) examples from Ruby and RubyGems.
The first topic is CVE (Common Vulnerabilities and Exposures). I have published CVEs many times. But what exactly is a CVE? I'll provide a basic understanding of CVEs and explain how to detect and handle vulnerabilities in OSS.
Next, let's discuss package managers. Package managers play a critical role in the OSS ecosystem. I'll explain how to manage library dependencies in your application.
I'll share insights into how the Ruby and RubyGems core team works to keep our ecosystem safe. By the end of this talk, you'll have a better understanding of how to safeguard your code.
Discover top-tier mobile app development services, offering innovative solutions for iOS and Android. Enhance your business with custom, user-friendly mobile applications.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/temporal-event-neural-networks-a-more-efficient-alternative-to-the-transformer-a-presentation-from-brainchip/
Chris Jones, Director of Product Management at BrainChip , presents the “Temporal Event Neural Networks: A More Efficient Alternative to the Transformer” tutorial at the May 2024 Embedded Vision Summit.
The expansion of AI services necessitates enhanced computational capabilities on edge devices. Temporal Event Neural Networks (TENNs), developed by BrainChip, represent a novel and highly efficient state-space network. TENNs demonstrate exceptional proficiency in handling multi-dimensional streaming data, facilitating advancements in object detection, action recognition, speech enhancement and language model/sequence generation. Through the utilization of polynomial-based continuous convolutions, TENNs streamline models, expedite training processes and significantly diminish memory requirements, achieving notable reductions of up to 50x in parameters and 5,000x in energy consumption compared to prevailing methodologies like transformers.
Integration with BrainChip’s Akida neuromorphic hardware IP further enhances TENNs’ capabilities, enabling the realization of highly capable, portable and passively cooled edge devices. This presentation delves into the technical innovations underlying TENNs, presents real-world benchmarks, and elucidates how this cutting-edge approach is positioned to revolutionize edge AI across diverse applications.
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...Alex Pruden
Folding is a recent technique for building efficient recursive SNARKs. Several elegant folding protocols have been proposed, such as Nova, Supernova, Hypernova, Protostar, and others. However, all of them rely on an additively homomorphic commitment scheme based on discrete log, and are therefore not post-quantum secure. In this work we present LatticeFold, the first lattice-based folding protocol based on the Module SIS problem. This folding protocol naturally leads to an efficient recursive lattice-based SNARK and an efficient PCD scheme. LatticeFold supports folding low-degree relations, such as R1CS, as well as high-degree relations, such as CCS. The key challenge is to construct a secure folding protocol that works with the Ajtai commitment scheme. The difficulty, is ensuring that extracted witnesses are low norm through many rounds of folding. We present a novel technique using the sumcheck protocol to ensure that extracted witnesses are always low norm no matter how many rounds of folding are used. Our evaluation of the final proof system suggests that it is as performant as Hypernova, while providing post-quantum security.
Paper Link: https://eprint.iacr.org/2024/257
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsDianaGray10
Join us to learn how UiPath Apps can directly and easily interact with prebuilt connectors via Integration Service--including Salesforce, ServiceNow, Open GenAI, and more.
The best part is you can achieve this without building a custom workflow! Say goodbye to the hassle of using separate automations to call APIs. By seamlessly integrating within App Studio, you can now easily streamline your workflow, while gaining direct access to our Connector Catalog of popular applications.
We’ll discuss and demo the benefits of UiPath Apps and connectors including:
Creating a compelling user experience for any software, without the limitations of APIs.
Accelerating the app creation process, saving time and effort
Enjoying high-performance CRUD (create, read, update, delete) operations, for
seamless data management.
Speakers:
Russell Alfeche, Technology Leader, RPA at qBotic and UiPath MVP
Charlie Greenberg, host
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-und-domino-lizenzkostenreduzierung-in-der-welt-von-dlau/
DLAU und die Lizenzen nach dem CCB- und CCX-Modell sind für viele in der HCL-Community seit letztem Jahr ein heißes Thema. Als Notes- oder Domino-Kunde haben Sie vielleicht mit unerwartet hohen Benutzerzahlen und Lizenzgebühren zu kämpfen. Sie fragen sich vielleicht, wie diese neue Art der Lizenzierung funktioniert und welchen Nutzen sie Ihnen bringt. Vor allem wollen Sie sicherlich Ihr Budget einhalten und Kosten sparen, wo immer möglich. Das verstehen wir und wir möchten Ihnen dabei helfen!
Wir erklären Ihnen, wie Sie häufige Konfigurationsprobleme lösen können, die dazu führen können, dass mehr Benutzer gezählt werden als nötig, und wie Sie überflüssige oder ungenutzte Konten identifizieren und entfernen können, um Geld zu sparen. Es gibt auch einige Ansätze, die zu unnötigen Ausgaben führen können, z. B. wenn ein Personendokument anstelle eines Mail-Ins für geteilte Mailboxen verwendet wird. Wir zeigen Ihnen solche Fälle und deren Lösungen. Und natürlich erklären wir Ihnen das neue Lizenzmodell.
Nehmen Sie an diesem Webinar teil, bei dem HCL-Ambassador Marc Thomas und Gastredner Franz Walder Ihnen diese neue Welt näherbringen. Es vermittelt Ihnen die Tools und das Know-how, um den Überblick zu bewahren. Sie werden in der Lage sein, Ihre Kosten durch eine optimierte Domino-Konfiguration zu reduzieren und auch in Zukunft gering zu halten.
Diese Themen werden behandelt
- Reduzierung der Lizenzkosten durch Auffinden und Beheben von Fehlkonfigurationen und überflüssigen Konten
- Wie funktionieren CCB- und CCX-Lizenzen wirklich?
- Verstehen des DLAU-Tools und wie man es am besten nutzt
- Tipps für häufige Problembereiche, wie z. B. Team-Postfächer, Funktions-/Testbenutzer usw.
- Praxisbeispiele und Best Practices zum sofortigen Umsetzen
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
Org.Eclipse.Jdt.Doc.User.I20050627 1435
1. Basic tutorial
Adam Kiezun
M Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation bo
2. Basic tutorial
Table of Contents
Basic tutorial......................................................................................................................................................1
.
Preparing Eclipse...............................................................................................................................................2
Verifying JRE installation and classpath variables .................................................................................2
Java projects........................................................................................................................................................5
Java builder.........................................................................................................................................................6
Build classpath....................................................................................................................................................7
Classpath variables.............................................................................................................................................8
Java development tools (JDT)
............................................................................................................................9
Debugger............................................................................................................................................................10
Breakpoints
........................................................................................................................................................11
Adding breakpoints.........................................................................................................................................12
Java perspectives...............................................................................................................................................13
Java........................................................................................................................................................13
Java Browsing........................................................................................................................................13
Java Type Hierarchy..............................................................................................................................13
Debug.....................................................................................................................................................13
Java views..........................................................................................................................................................15
Package Explorer view..........................................................................................................................15
Hierarchy view.......................................................................................................................................15
Projects view..........................................................................................................................................15
Packages view........................................................................................................................................15
Types view.............................................................................................................................................15
Members view ........................................................................................................................................15
Changing the appearance of the console view...............................................................................................17
Console view.....................................................................................................................................................18
Stepping through the execution of a Java program......................................................................................19
Step over...............................................................................................................................................19
Step into................................................................................................................................................19
Step into Selection................................................................................................................................19
Step with filters.....................................................................................................................................19
Run to return.........................................................................................................................................19
Run to line.............................................................................................................................................20
i
3. Basic tutorial
Table of Contents
Launching a Java program.............................................................................................................................21
Java editor.........................................................................................................................................................22
Opening an editor for a selected element.......................................................................................................23
Using the Java editor.......................................................................................................................................24
Generating getters and setters........................................................................................................................25
Creating a new class in an existing compilation unit....................................................................................26
Creating a new Java class
................................................................................................................................27
Creating Java elements
....................................................................................................................................28
Creating a new Java project...........................................................................................................................29
Creating a Java project as its own source container....................................................................................30
Creating a Java project with source folders..................................................................................................31
Creating a new source folder..........................................................................................................................33
Java Build Path page........................................................................................................................................34
Source tab ...............................................................................................................................................34
Projects tab.............................................................................................................................................34
Libraries tab...........................................................................................................................................35
Order and Export tab ..............................................................................................................................36
Default output folder..............................................................................................................................36
File actions........................................................................................................................................................37
New Java Project Wizard.................................................................................................................................39
Project name page..................................................................................................................................39
Java settings page...................................................................................................................................39
Java Compiler..................................................................................................................................................41
General..................................................................................................................................................41
JDK Compliance.............................................................................................................................41
Classfile generation.........................................................................................................................41
Building................................................................................................................................................42
General............................................................................................................................................42
Build path problems........................................................................................................................42
Output folder...................................................................................................................................43
Errors/Warnings....................................................................................................................................43
Code style........................................................................................................................................43
Potential programming problems....................................................................................................44
ii
4. Basic tutorial
Table of Contents
Java Compiler
Name shadowing and conflicts ........................................................................................................44
Name shadowing and conflicts ........................................................................................................45
Unnecessary code............................................................................................................................45
J2SE 5.0 options..............................................................................................................................46
Building a Java program.................................................................................................................................49
Building automatically.....................................................................................................................................50
Building manually............................................................................................................................................51
Incremental build..................................................................................................................................51
Incremental project build......................................................................................................................51
Clean and rebuild from scratch (full build)..........................................................................................51
.
Clean and rebuild selected projects .......................................................................................................51
Working with build paths...............................................................................................................................53
Viewing and editing a project's Java build path...........................................................................................54
Adding a JAR file to the build path...............................................................................................................55
Adding a library folder to the build path......................................................................................................56
Creating a new JAR file..................................................................................................................................57
Attaching source to a JAR file........................................................................................................................58
Attaching source to a class path variable......................................................................................................59
Adding a classpath variable to the build path...............................................................................................60
Defining a classpath variable..........................................................................................................................62
Deleting a classpath variable
...........................................................................................................................63
Classpath variables..........................................................................................................................................64
Configurable variables..........................................................................................................................64
Reserved class path variables ................................................................................................................64
Working with JREs
..........................................................................................................................................65
Adding a new JRE definition..........................................................................................................................66
Assigning the default JRE for the workbench..............................................................................................67
iii
5. Basic tutorial
Table of Contents
Choosing a JRE for a launch configuration..................................................................................................68
Running and debugging..................................................................................................................................69
Remote debugging.............................................................................................................................................70
Using the remote Java application launch configuration.............................................................................71
Disconnecting from a VM...............................................................................................................................72
Debug view........................................................................................................................................................73
Local debugging................................................................................................................................................75
Resuming the execution of suspended threads..............................................................................................76
Evaluating expressions....................................................................................................................................77
Suspending threads..........................................................................................................................................78
Catching Java exceptions................................................................................................................................79
Removing breakpoints.....................................................................................................................................80
Enabling and disabling breakpoints
...............................................................................................................81
Applying hit counts..........................................................................................................................................82
Setting method breakpoints............................................................................................................................83
Breakpoints view..............................................................................................................................................84
Managing conditional breakpoints
.................................................................................................................85
Views and editors.............................................................................................................................................86
Changing the appearance of the Hierarchy view..........................................................................................87
Using the Hierarchy view................................................................................................................................88
Opening a type hierarchy on a Java element................................................................................................89
Changing new type hierarchy defaults..........................................................................................................90
Opening a type hierarchy on the current text selection...............................................................................91
iv
6. Basic tutorial
Table of Contents
Opening a type hierarchy in the workbench.................................................................................................92
Opening a type hierarchy in its own perspective..........................................................................................93
Type Hierarchy view........................................................................................................................................94
Type Hierarchy tree pane toolbar buttons .............................................................................................94
Member list pane toolbar buttons.........................................................................................................94
Java....................................................................................................................................................................96
Navigate actions...............................................................................................................................................98
Package Explorer view..................................................................................................................................100
Toolbar buttons..............................................................................................................................................101
Java element filters dialog.............................................................................................................................102
Filtering elements...........................................................................................................................................103
Using the Package Explorer view.................................................................................................................104
Showing and hiding elements
........................................................................................................................105
Showing and hiding system files...................................................................................................................106
Showing and hiding CLASS files generated for inner types......................................................................107
Showing and hiding libraries........................................................................................................................108
Showing single element or whole Java file...................................................................................................109
Java editor......................................................................................................................................................110
Toolbar actions ....................................................................................................................................110
Key binding actions............................................................................................................................110
Viewing documentation and information....................................................................................................112
Viewing Javadoc information.......................................................................................................................113
Using content/code assist...............................................................................................................................114
Scrapbook........................................................................................................................................................115
Creating a Java scrapbook page...................................................................................................................116
v
7. Basic tutorial
Table of Contents
Java scrapbook page......................................................................................................................................117
Displaying the result of evaluating an expression.......................................................................................118
Executing an expression................................................................................................................................119
Inspecting the result of evaluating an expression.......................................................................................120
Viewing runtime exceptions..........................................................................................................................121
Expressions view............................................................................................................................................122
New Java Scrapbook Page Wizard...............................................................................................................123
Viewing compilation errors and warnings..................................................................................................124
Setting execution arguments.........................................................................................................................125
Creating a Java application launch configuration......................................................................................126
Changing the active perspective when launching.......................................................................................128
Debug preferences..........................................................................................................................................130
Preparing to debug........................................................................................................................................132
Run and debug actions..................................................................................................................................133
Java search tab................................................................................................................................................135
Search string .........................................................................................................................................135
Search For............................................................................................................................................135
Limit To...............................................................................................................................................136
Scope....................................................................................................................................................136
Java search......................................................................................................................................................137
Searching Java code.......................................................................................................................................138
Conducting a Java search using pop−up menus.........................................................................................139
Search actions.................................................................................................................................................140
Conducting a Java search using the Search dialog.....................................................................................142
Formatting Java code....................................................................................................................................143
vi
8. Basic tutorial
Table of Contents
Setting code formatting preferences
.............................................................................................................144
Formatting files or portions of code.............................................................................................................145
Source actions.................................................................................................................................................146
Code Formatter..............................................................................................................................................149
Java editor......................................................................................................................................................150
Appearance and Navigation................................................................................................................150
Code assist..........................................................................................................................................151
Syntax Coloring..................................................................................................................................152
List of Quick Assists
........................................................................................................................................154
Quick Fix..........................................................................................................................................................158
JDT actions.....................................................................................................................................................161
Frequently asked questions on JDT.............................................................................................................162
Can I use a Java compiler other than the built−in one (javac for example) with the workbench?.....162
Where do Java packages come from?..........................................................................................162
When do I use an internal vs. an external JAR library file? .........................................................162
When should I use source folders within a Java project? .............................................................162
What are source attachments, How do I define one?...................................................................162
Why are all my resources duplicated in the output folder (bin, for example)?............................162
How do I prevent having my documentation files from being copied to the project's output
folder?....................................................................................................................................163
How do I create a default package? ..............................................................................................163
What is refactoring?.....................................................................................................................163
When do I use code select/code resolve (F3)?.............................................................................163
Is the Java program information (type hierarchy, declarations, references, for example)
produced by the Java builder? Is it still updated when auto−build is off? .............................163
After reopening a workbench, the first build that happens after editing a Java source file
seems to take a long time. Why is that? .................................................................................163
I can't see a type hierarchy for my class. What can I do?............................................................163
How do I turn off "auto compile" and do it manually when I want?...........................................164
When I select a method or a field in the Outline view, only the source for that element is
shown in the editor. What do I do to see the source of the whole file?.................................164
Can I nest source folders?.............................................................................................................164
Can I have separate output folders for each source folder?..........................................................164
Can I have an output or source folder that is located outside of the workspace?.........................164
JDT glossary...................................................................................................................................................165
Edit actions.....................................................................................................................................................167
vii
9. Basic tutorial
Table of Contents
Using Quick Fix..............................................................................................................................................169
Using Quick Assist.........................................................................................................................................170
Quick fix..........................................................................................................................................................171
Java outline.....................................................................................................................................................172
Toolbar buttons...................................................................................................................................172
Restoring a deleted workbench element......................................................................................................173
Using the local history...................................................................................................................................174
Replacing a Java element with a local history edition................................................................................175
Comparing a Java element with a local history edition.............................................................................176
Showing and hiding members........................................................................................................................177
Appearance.....................................................................................................................................................178
Showing full or compressed package names................................................................................................179
Showing and hiding override indicators.......................................................................................................180
Showing and hiding method return types
.....................................................................................................181
Sorting elements in Java views......................................................................................................................182
Java toolbar actions.......................................................................................................................................183
New Java Package Wizard.............................................................................................................................185
Creating a new Java package
........................................................................................................................186
Moving folders, packages, and files..............................................................................................................187
Refactoring support........................................................................................................................................188
Refactoring.....................................................................................................................................................189
Refactoring without preview.........................................................................................................................191
Refactoring with preview..............................................................................................................................192
Previewing refactoring changes....................................................................................................................193
viii
10. Basic tutorial
Table of Contents
Undoing a refactoring operation..................................................................................................................194
Redoing a refactoring operation...................................................................................................................195
Refactor actions..............................................................................................................................................196
Using Structured Selection............................................................................................................................199
Using Surround with Try/Catch...................................................................................................................200
Extracting a method......................................................................................................................................201
Renaming a method.......................................................................................................................................202
Renaming method parameters
......................................................................................................................203
Changing method signature..........................................................................................................................204
Refactoring Dialog.........................................................................................................................................205
Wizard based refactoring user interface.....................................................................................................206
Parameter pages..................................................................................................................................206
Preview page.......................................................................................................................................206
Problem page......................................................................................................................................206
JDT icons........................................................................................................................................................208
Objects................................................................................................................................................208
Object adornments..............................................................................................................................209
Build path............................................................................................................................................210
Code assist..........................................................................................................................................211
Compare..............................................................................................................................................211
Debugger.............................................................................................................................................211
Editor..................................................................................................................................................213
JUnit....................................................................................................................................................213
NLS tools............................................................................................................................................214
Quick fix.............................................................................................................................................214
Refactoring ..........................................................................................................................................215
Search ..................................................................................................................................................215
Search − Occurrences in File..............................................................................................................215
Type hierarchy view...........................................................................................................................215
Dialog based refactoring user interface.......................................................................................................217
Input dialog.........................................................................................................................................217
Preview dialog....................................................................................................................................217
Problem dialog....................................................................................................................................217
ix
11. Basic tutorial
Table of Contents
Override methods
...........................................................................................................................................219
Extract method errors...................................................................................................................................220
Extracting a local variable............................................................................................................................222
Inlining a local variable.................................................................................................................................223
Replacing a local variable with a query.......................................................................................................224
Copying and moving Java elements.............................................................................................................225
Extracting a constant.....................................................................................................................................227
Renaming a package......................................................................................................................................228
Opening a package.........................................................................................................................................229
Showing an element in the Package Explorer view....................................................................................230
Renaming a compilation unit........................................................................................................................231
Creating a new interface in an existing compilation unit...........................................................................232
Creating a new Java interface......................................................................................................................233
Creating a top−level interface.......................................................................................................................234
Creating a nested interface...........................................................................................................................235
Renaming a type.............................................................................................................................................236
Creating a new Java enum............................................................................................................................237
New Java Enum Wizard.................................................................................................................................238
Creating a new Java annotation...................................................................................................................239
New Java Annotation Wizard........................................................................................................................240
Creating a top−level class..............................................................................................................................241
Creating a nested class
...................................................................................................................................243
New Java Class Wizard..................................................................................................................................244
x
12. Basic tutorial
Table of Contents
New Source Folder Wizard............................................................................................................................246
New Java Interface Wizard............................................................................................................................247
Opening a type in the Package Explorer view.............................................................................................248
Organizing existing import statements........................................................................................................249
Adding required import statements.............................................................................................................250
Managing import statements........................................................................................................................251
Setting the order of import statements........................................................................................................252
Organize Imports...........................................................................................................................................253
Renaming a field............................................................................................................................................254
Renaming a local variable..............................................................................................................................255
Parameters page..............................................................................................................................................256
Inlining a method...........................................................................................................................................257
Inlining a constant
..........................................................................................................................................258
Self encapsulating a field...............................................................................................................................259
Pulling members up to superclass................................................................................................................260
Pushing members down to subclasses..........................................................................................................261
Moving static members between types.........................................................................................................262
Moving an instance method to a component...............................................................................................263
Converting a local variable to a field...........................................................................................................264
Converting an anonymous inner class to a nested class.............................................................................265
Converting a nested type to a top level type................................................................................................266
Extracting an interface from a type.............................................................................................................267
Replacing references to a type with references to one of its supertypes...................................................268
xi
13. Basic tutorial
Table of Contents
Replacing a single reference to a type with a reference to one of its supertypes.....................................269
Replacing an expression with a method parameter....................................................................................270
Replacing constructor calls with factory method invocations...................................................................271
Inferring type parameters for generic type references
...............................................................................272
Opening an editor on a type..........................................................................................................................273
Open Type
.......................................................................................................................................................274
Project actions................................................................................................................................................275
Run menu........................................................................................................................................................276
Content/Code Assist.......................................................................................................................................277
Templates........................................................................................................................................................278
Template dialog..................................................................................................................................278
Template variables..............................................................................................................................279
Templates.........................................................................................................................................................281
Using templates..............................................................................................................................................282
Writing your own templates..........................................................................................................................284
Task Tags........................................................................................................................................................285
Code templates...............................................................................................................................................286
Code and Comments............................................................................................................................286
Comment templates.......................................................................................................................286
New Java files template .................................................................................................................286
Catch block body template............................................................................................................287
Method body template...................................................................................................................287
Constructor body template............................................................................................................287
Getter body template.....................................................................................................................287
Setter body template......................................................................................................................287
Code Template dialog..........................................................................................................................287
Code style........................................................................................................................................................289
Naming Conventions...........................................................................................................................289
Code Conventions................................................................................................................................289
Create Getters and Setters............................................................................................................................291
xii
14. Basic tutorial
Table of Contents
String externalization.....................................................................................................................................292
Finding strings to externalize.........................................................................................................................293
Externalizing Strings......................................................................................................................................294
Finding unused and incorrectly used keys in property files.......................................................................295
Using the Externalize Strings Wizard..........................................................................................................296
Key/value page................................................................................................................................................297
...........................................................................................................................................................................298
Property File page...........................................................................................................................................300
Externalize Strings Wizard...........................................................................................................................302
String selection page...........................................................................................................................302
Translation settings page .....................................................................................................................302
Error page............................................................................................................................................303
Preview page.......................................................................................................................................303
Viewing marker help.....................................................................................................................................304
Javadoc location page....................................................................................................................................305
Javadoc generation........................................................................................................................................306
First page.............................................................................................................................................306
Standard doclet arguments..................................................................................................................306
General arguments..............................................................................................................................307
Creating Javadoc documentation..................................................................................................................309
Selecting types for Javadoc generation.........................................................................................................310
Configuring Javadoc arguments for standard doclet..................................................................................312
Configuring Javadoc arguments...................................................................................................................314
Showing and hiding empty packages............................................................................................................316
Showing and hiding empty parent packages................................................................................................317
Showing and hiding Java files
........................................................................................................................318
Showing and hiding non−Java elements.......................................................................................................319
xiii
15. Basic tutorial
Table of Contents
Showing and hiding non−Java projects........................................................................................................320
Showing and hiding import declarations......................................................................................................321
Showing and hiding package declarations
....................................................................................................322
Finding overridden methods.........................................................................................................................323
Display view....................................................................................................................................................325
Variables view................................................................................................................................................326
Show detail pane............................................................................................................................................327
Show detail pane............................................................................................................................................328
Re−launching a program...............................................................................................................................329
Console preferences.......................................................................................................................................330
JRE installations............................................................................................................................................331
Source attachments.........................................................................................................................................332
JAR......................................................................................................................................................332
Variable................................................................................................................................................332
Editing a JRE definition................................................................................................................................334
Deleting a JRE definition..............................................................................................................................335
Overriding the default system libraries for a JRE definition....................................................................336
Installed JREs
.................................................................................................................................................337
Defining the JAR file's manifest...................................................................................................................338
Creating a new manifest.....................................................................................................................338
.
Using an existing manifest..................................................................................................................338
Setting advanced options...............................................................................................................................340
JAR file exporter............................................................................................................................................341
JAR package specification..................................................................................................................341
JAR packaging options.......................................................................................................................341
JAR manifest specification.................................................................................................................342
Creating JAR files..........................................................................................................................................343
xiv
16. Basic tutorial
Table of Contents
Regenerating a JAR file
.................................................................................................................................344
Adding source code as individual files.........................................................................................................345
From a ZIP or JAR file.......................................................................................................................345
From a directory..................................................................................................................................345
Adding a JAR file as a library......................................................................................................................347
Java Compiler page........................................................................................................................................348
Converting line delimiters.............................................................................................................................349
Finding and replacing....................................................................................................................................350
Using the Find/Replace dialog.......................................................................................................................351
Using Incremental Find..................................................................................................................................352
Finding next or previous match.....................................................................................................................353
Changing the encoding used to show the source.........................................................................................354
Commenting and uncommenting lines of code...........................................................................................355
Shifting lines of code left and right
...............................................................................................................356
Exclusion and inclusion filters.......................................................................................................................357
Access rules......................................................................................................................................................358
Creating a new source folder with exclusion filter.....................................................................................359
Starting from scratch............................................................................................................................359
From an existing Java Project..............................................................................................................359
Creating a new source folder with specific output folder..........................................................................361
Creating your first Java project...................................................................................................................362
Getting the Sample Code (JUnit).........................................................................................................362
Creating the project..............................................................................................................................362
Browsing Java elements using the package explorer
..................................................................................366
Opening a Java editor....................................................................................................................................368
Adding new methods
......................................................................................................................................371
xv
17. Basic tutorial
Table of Contents
Using content assist........................................................................................................................................374
Identifying problems in your code
................................................................................................................376
Using code templates
......................................................................................................................................379
Organizing import statements......................................................................................................................382
Using the local history...................................................................................................................................384
Extracting a new method...............................................................................................................................386
Creating a Java class.....................................................................................................................................390
Renaming Java elements...............................................................................................................................398
Moving and copying Java elements...............................................................................................................401
Navigate to a Java element's declaration.....................................................................................................403
Viewing the type hierarchy............................................................................................................................406
Searching the workbench..............................................................................................................................412
Performing a Java search from the workbench...................................................................................412
Searching from a Java view................................................................................................................414
Searching from an editor .....................................................................................................................414
Continuing a search from the search view..........................................................................................415
Performing a file search......................................................................................................................416
Viewing previous search results.........................................................................................................417
Running your programs................................................................................................................................419
Debugging your programs............................................................................................................................424
Evaluating expressions..................................................................................................................................429
Evaluating snippets........................................................................................................................................431
Notices................................................................................................................................................433
About This Content..............................................................................................................................433
License ...........................................................................................................................................434
Using the Java browsing perspective...........................................................................................................435
Writing and running JUnit tests ...................................................................................................................437
Writing Tests
.......................................................................................................................................437
Running Tests.....................................................................................................................................438
Customizing a Test Configuration......................................................................................................439
Debugging a Test Failure....................................................................................................................440
xvi
18. Basic tutorial
Table of Contents
Writing and running JUnit tests
Creating a Test Suite...........................................................................................................................440
Project configuration tutorial.......................................................................................................................442
Detecting existing layout................................................................................................................................443
Layout on file system...........................................................................................................................443
Steps for defining a corresponding project...................................................................................443
.
Sibling products in a common source tree...................................................................................................447
Layout on file system...........................................................................................................................447
Steps for defining corresponding projects.....................................................................................447
Organizing sources.........................................................................................................................................452
Layout on file system...........................................................................................................................452
Steps for defining a corresponding project...................................................................................452
.
Overlapping products in a common source tree.........................................................................................459
Layout on file system...........................................................................................................................459
Steps for defining corresponding "Product1" and "Product2" projects .........................................459
Product with nested tests...............................................................................................................................467
Layout on file system...........................................................................................................................467
Steps for defining a corresponding project...................................................................................467
.
Products sharing a common source framework.........................................................................................475
Layout on file system...........................................................................................................................475
Steps for defining corresponding projects.....................................................................................475
Nesting resources in output directory..........................................................................................................483
Layout on file system...........................................................................................................................483
Steps for defining a corresponding project...................................................................................483
.
Project using a source framework with restricted access..........................................................................493
Layout on file system...........................................................................................................................493
Steps for defining corresponding projects.....................................................................................493
Getting Started with Eclipse 3.1 and J2SE 5.0.............................................................................................504
Prerequisites.........................................................................................................................................504
Compiler Compliance Level.........................................................................................................504
Generic Types......................................................................................................................................506
Annotations..........................................................................................................................................508
Enumerations.......................................................................................................................................509
Autoboxing..........................................................................................................................................509
Enhanced for loop................................................................................................................................510
Other....................................................................................................................................................510
xvii
19. Basic tutorial
Table of Contents
Creating a new Java Scrapbook Page..........................................................................................................512
Parameters page.............................................................................................................................................513
Problems page................................................................................................................................................514
Parameters page.............................................................................................................................................515
Parameters page.............................................................................................................................................516
Parameters page.............................................................................................................................................517
Parameters page.............................................................................................................................................518
Parameters page.............................................................................................................................................519
Parameters page.............................................................................................................................................520
Parameters page.............................................................................................................................................521
..........................................................................................................................................................................522
Parameters page.............................................................................................................................................523
..........................................................................................................................................................................524
Parameters page.............................................................................................................................................525
..........................................................................................................................................................................526
Parameters page.............................................................................................................................................527
..........................................................................................................................................................................528
..........................................................................................................................................................................529
Parameters page.............................................................................................................................................531
..........................................................................................................................................................................532
Building circular projects
..............................................................................................................................533
Building without cleaning the output location............................................................................................534
Attaching source to a library folder.............................................................................................................535
xviii
20. Basic tutorial
Table of Contents
Launching a Java applet...............................................................................................................................536
Launching a Java program in debug mode.................................................................................................537
Inspecting values............................................................................................................................................538
Using code assist.............................................................................................................................................539
Scrapbook error reporting............................................................................................................................540
Viewing compilation errors...........................................................................................................................541
Go to file for breakpoint................................................................................................................................542
Add Java exception breakpoint....................................................................................................................543
Suspend policy................................................................................................................................................544
Hit count.........................................................................................................................................................545
Uncaught.........................................................................................................................................................546
Caught.............................................................................................................................................................547
Modification....................................................................................................................................................548
Access..............................................................................................................................................................549
Exit..................................................................................................................................................................550
Entry................................................................................................................................................................551
Select all..........................................................................................................................................................552
Enable
..............................................................................................................................................................553
Disable.............................................................................................................................................................554
Remove selected breakpoint
..........................................................................................................................555
Remove all breakpoints.................................................................................................................................556
Show qualified names....................................................................................................................................557
Show supported breakpoints........................................................................................................................558
xix
21. Basic tutorial
Table of Contents
Properties........................................................................................................................................................559
Copy................................................................................................................................................................560
Select all..........................................................................................................................................................561
Find/Replace...................................................................................................................................................562
Go to line.........................................................................................................................................................563
Clear................................................................................................................................................................564
Terminate
........................................................................................................................................................565
Inspect.............................................................................................................................................................566
Display.............................................................................................................................................................567
Clear the display............................................................................................................................................568
Select all..........................................................................................................................................................569
Copy variables................................................................................................................................................570
Remove selected expressions.........................................................................................................................571
Remove all expressions..................................................................................................................................572
Change variable value...................................................................................................................................573
Show constants...............................................................................................................................................574
Show static fields............................................................................................................................................575
Show qualified names....................................................................................................................................576
Show type names............................................................................................................................................577
Add/Remove watchpoint...............................................................................................................................578
Inspect.............................................................................................................................................................579
Open declared type........................................................................................................................................580
Show qualified names....................................................................................................................................581
xx
22. Basic tutorial
Table of Contents
Show type names............................................................................................................................................582
Add/Remove watchpoint...............................................................................................................................583
Change variable value...................................................................................................................................584
Inspect.............................................................................................................................................................585
Step commands
...............................................................................................................................................586
JUnit................................................................................................................................................................587
Java Task Tags page.......................................................................................................................................588
Java Build Path page......................................................................................................................................589
Source tab .............................................................................................................................................589
Projects tab...........................................................................................................................................590
Libraries tab.........................................................................................................................................590
Order and Export tab ............................................................................................................................591
Default output folder............................................................................................................................591
Refactoring.....................................................................................................................................................593
Tips and Tricks....................................................................................................................................593
Editing source................................................................................................................................593
Searching.......................................................................................................................................608
Code navigation and reading.........................................................................................................610
Java views ......................................................................................................................................616
Miscellaneous................................................................................................................................621
Debugging.....................................................................................................................................626
What's New in 3.1................................................................................................................................637
J2SE 5.0...............................................................................................................................................637
Java Debugger ......................................................................................................................................652
Java Compiler......................................................................................................................................656
Java Editor...........................................................................................................................................659
General Java Tools ...............................................................................................................................665
xxi
23. Basic tutorial
This tutorial provides a step by step walk−through of the Java development tools.
Basic tutorial 1
24. Preparing Eclipse
In this section, you will verify that Eclipse is properly set up for Java development.
The following is assumed:
• You are starting with a new Eclipse installation with default settings.
• You are familiar with the basic Eclipse workbench mechanisms, such as views and perspectives.
If you're not familiar with the basic workbench mechanisms, please see the Getting Started chapter of the
Workbench User Guide.
Verifying JRE installation and classpath variables
1. If you still see the Eclipse Welcome page, click the arrow icon to begin using Eclipse.
2. Select the menu item Window > Preferences to open the workbench preferences.
3. Select Java > Installed JREs in the tree pane on the left to display the Installed Java Runtime
Environments preference page. Confirm that a JRE has been detected. By default, the JRE used to
run the workbench will be used to build and run Java programs. It should appear with a checkmark in
the list of installed JREs. We recommend that you use a Java SDK instead of a JRE. An SDK is
designed for development and contains the source code for the Java library, easing debugging.
Additional SDKs can be added by searching the hard drive for installed SDKs. To do so, simply click
the Search button and specify a root folder for the search.
4. Select General > Workspace in the tree pane to display the Workspace preference page. Confirm that
the Build automatically option is checked.
Preparing Eclipse 2
25. Basic tutorial
5. Select Java > Build Path in the tree pane to display the Build Path preference page. Confirm that
Source and output folder is set to Project.
6. Select Java > Editor in the tree pane to display the Java Editor preference page. Confirm that option
Report problems as you type is checked.
7. Click on OK to save the preferences.
Java projects
Classpath variables
Build classpath
Verifying JRE installation and classpath variables 3
26. Basic tutorial
Working with build paths
Working with JREs
JRE Installations Preferences
Java Editor Preferences
Verifying JRE installation and classpath variables 4