SlideShare a Scribd company logo
Hello World e4 Application – Part 2
Adding Parts to the Application
Adding a View to Eclipse 4 Application Window
1. Open Application.e4xmi and selected Trimmed Window that is already created under Windows
2. Expand Trimmed Windows, Select Controls, Right Click and Create a Perspective Stack.
3. PerspectiveStack comes with a Perspective, Select the Perspective and Provide a Label for it.
4. Expand the Perspective and again Right Click on Controls to add Part Stack.
5. Provide the PartStack with a Valid ID and Container Data as 40
6. On the PartStack, Right Click and Create a Part.
7. Provide ID, Label.
8. To provide the Class URI, we need to 1st
create the View Class.
a. Create a View Class with default Constructor
b. Add dependency inject @PostContructor and implement a Method called as
createControls(Composite parent)
c. Implement your UI inside this Method.
d. Add dependency injection @PreDestroy and implement a Method called as dispose
e. Add dependency injection @focus and implement a Method called as setFocus.
View Class can also be created using Window Builder.
9. Assign the Class URI.
10. Open your Run Configuration and click on Add Required plugins, Apply, Run.
11. You should now get your View inside the Window
Author : Annamalai C
Date : March 11, 2013 : Updated on January 4th
2015

More Related Content

PDF
Hello World e4 Application Part 3
PDF
Hello World e4 Application Part 7
PDF
Hello world e4 application part 5
PPTX
Hello android example.
PDF
Hello World e4 Application Part 6
PPTX
Installing testflight
PPTX
PhoneCallTools
PPTX
Do (10x) more with extensions
Hello World e4 Application Part 3
Hello World e4 Application Part 7
Hello world e4 application part 5
Hello android example.
Hello World e4 Application Part 6
Installing testflight
PhoneCallTools
Do (10x) more with extensions

What's hot (13)

PPTX
Test framework slideshow
PPTX
Working with windows
PPTX
error code 0 x803f7000 in windows 10
PPTX
How to create a quiz in outlook
PDF
How to Fix Windows 8 Crashes
PDF
I think user manual english
PDF
Certificate
PPTX
02 getting start with android app development
DOC
Selview installation guide
PDF
PDF
New_JoinerTool
PPTX
Android app development tips
PPTX
Add team members to the project
Test framework slideshow
Working with windows
error code 0 x803f7000 in windows 10
How to create a quiz in outlook
How to Fix Windows 8 Crashes
I think user manual english
Certificate
02 getting start with android app development
Selview installation guide
New_JoinerTool
Android app development tips
Add team members to the project
Ad

More from Annamalai Chockalingam (9)

PPT
Design patterns - Strategy Pattern
PPT
Design patterns - Observer Pattern
PPT
Design patterns - Factory Pattern
PPT
Design patterns - Decorator pattern
PPT
Design patterns - Adapter Pattern
PPT
Design patterns - Abstract Factory Pattern
PPT
Eclipse Spykit Project
PPT
Setting up Sphinx Development Environment
PPT
Eclipse Ecosystem in India
Design patterns - Strategy Pattern
Design patterns - Observer Pattern
Design patterns - Factory Pattern
Design patterns - Decorator pattern
Design patterns - Adapter Pattern
Design patterns - Abstract Factory Pattern
Eclipse Spykit Project
Setting up Sphinx Development Environment
Eclipse Ecosystem in India
Ad

Recently uploaded (20)

PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
ai tools demonstartion for schools and inter college
PPTX
L1 - Introduction to python Backend.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Introduction to Artificial Intelligence
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
history of c programming in notes for students .pptx
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Nekopoi APK 2025 free lastest update
Navsoft: AI-Powered Business Solutions & Custom Software Development
How Creative Agencies Leverage Project Management Software.pdf
ai tools demonstartion for schools and inter college
L1 - Introduction to python Backend.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Introduction to Artificial Intelligence
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Reimagine Home Health with the Power of Agentic AI​
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Odoo POS Development Services by CandidRoot Solutions
Which alternative to Crystal Reports is best for small or large businesses.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
history of c programming in notes for students .pptx
How to Choose the Right IT Partner for Your Business in Malaysia
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Upgrade and Innovation Strategies for SAP ERP Customers
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Nekopoi APK 2025 free lastest update

Hello World e4 Application Part 2

  • 1. Hello World e4 Application – Part 2 Adding Parts to the Application Adding a View to Eclipse 4 Application Window 1. Open Application.e4xmi and selected Trimmed Window that is already created under Windows 2. Expand Trimmed Windows, Select Controls, Right Click and Create a Perspective Stack. 3. PerspectiveStack comes with a Perspective, Select the Perspective and Provide a Label for it. 4. Expand the Perspective and again Right Click on Controls to add Part Stack. 5. Provide the PartStack with a Valid ID and Container Data as 40 6. On the PartStack, Right Click and Create a Part. 7. Provide ID, Label. 8. To provide the Class URI, we need to 1st create the View Class. a. Create a View Class with default Constructor b. Add dependency inject @PostContructor and implement a Method called as createControls(Composite parent) c. Implement your UI inside this Method. d. Add dependency injection @PreDestroy and implement a Method called as dispose e. Add dependency injection @focus and implement a Method called as setFocus. View Class can also be created using Window Builder. 9. Assign the Class URI. 10. Open your Run Configuration and click on Add Required plugins, Apply, Run. 11. You should now get your View inside the Window Author : Annamalai C Date : March 11, 2013 : Updated on January 4th 2015