Flylib.com
List of Examples
Previous page
Table of content
< Day Day Up >
Chapter 1: Introduction to EMF
Example 1-1: The WorkflowNode interface@model tag
Example 1-2: The x attribute @model tag
Example 1-3: The WorkflowNode to OutputPort reference @model tag
Chapter 2: EMF Examples
Example 2-1: XMI for model of Workflow
Example 2-2: XMI fragment for Workflow class
Example 2-3: Importing the DiagramModel and WorkflowModel
Example 2-4: DiagramModel with references to WorkflowModel objects
Example 2-5: Using nested packages
Example 2-6: Example XML Schema
Example 2-7: EPackage from XML Schema
Example 2-8: EClass for the USAddress type
Example 2-9: EReference for element of complex type
Example 2-10: EClass from simple-typed element
Example 2-11: EAttribute from XML attributes
Example 2-12: Top-level element for WorkflowModel GenModel
Example 2-13: GenModel fragment for EClass Workflow
Example 2-14: Generated NON-NLS markers
Example 2-15: Methods generated for volatile feature
Example 2-16: Modifying the getID() method
Example 2-17: The getText() method of EdgeItemProvider
Example 2-18: Creating instances
Example 2-19: Creating a dynamic model
Example 2-20: Using the reflective API to create dynamic model instances
Example 2-21: Default XMI serialization of a Workflow instance
Example 2-22: Positional references
Example 2-23: Set up the ResourceSet
Example 2-24: Create an XMIResource
Example 2-25: Load an XMIResource
Example 2-26: Add a model object to a resource
Example 2-27: XSD annotation on workflow EPackage
Example 2-28: XSD annotation on comment EAttribute
Example 2-29: XSD annotation on nodes EReference
Example 2-30: XSD annotation on Workflow EClass
Example 2-31: Custom serialization of a Workflow instance
Example 2-32: Using an XMLMap to customize serialization of XMI
Example 2-33: Set object ids via setID()
Example 2-34: Override getId() to generate ids
Example 2-35: Customized XMLHelper
Example 2-36: Overriding the createXMLHelper() method
Example 2-37: A more readable representation of contained objects
Example 2-38: Our version of Header.javajet
Example 2-39: Merge rules for code generation from WorkflowModel
Example 2-40: The jet directive
Example 2-41: JET scriptlet, directive and expression tags
Example 2-42: Concrete example of additional method signatures
Example 2-43: Interface template fragment for additional methods
Example 2-44: Concrete example of additional methods
Example 2-45: Class template fragment for additional methods
Chapter 3: Introduction to GEF
Example 3-1: A standalone Draw2D application
Example 3-2: ExampleGEFEditor.java (initial stage)
Example 3-3: Adding EditDomain to the editor
Example 3-4: Indicating the dirty state of our editor (part 1)
Example 3-5: The CommandStackListener
Example 3-6: Attaching and removing the CommandStackListener
Example 3-7: Update CommandStack on editor save
Example 3-8: Attaching a GraphicalViewer to our editor
Example 3-9: Overwriting the getAdapter method
Example 3-10: Creating a PaletteViewer
Example 3-11: Adding the PaletteViewer to the editor's composite
Example 3-12: Initial PaletteRoot with default tools
Example 3-13: Adding an ActionRegistry to the editor
Example 3-14: Added infrastructure for supporting different actions
Example 3-15: Adding update support for the actions
Example 3-16: Adding actions to the editor
Example 3-17: Making the properties view undoable
Example 3-18: An overview outline page
Example 3-19: Attaching the overview to the editor
Example 3-20: Enabling our editor for keyboard interaction
Chapter 4: GEF Examples
Example 4-1: Configuring a RootEditPart
Example 4-2: Layer creation methods in FreeformGraphicalRootEditPart
Example 4-3: Adding a PrintAction
Example 4-4: Returning the ZoomManager via the IAdapter interface
Example 4-5: Adding ZoomComboContributionItem to the tool bar
Example 4-6: Registering the zoom actions
Example 4-7: Adding a menu for the zoom actions
Example 4-8: Placing a label in the center of a connection
Example 4-9: The
AddFlowContainerAction class
Example 4-10: Modifications to the LogicActionBarContributor class
Example 4-11: Adding a Tools menu in contributeToMenu
Example 4-12: Install the
DIRECT_EDIT_ROLE edit policy
Example 4-13: Calling DirectEditManager.show() in performRequest
Chapter 5: Using GEF with EMF
Example 5-1: NetworkEditPart constructor
Example 5-2: NetworkEditPart's getModelChildren() method
Example 5-3: The createEditPart() method
Example 5-4: NetworkEditPart's createFigure() method
Example 5-5: NodeFigure with child Label for id attribute
Example 5-6: Returning derived objects from getModelSourceConnections()
Example 5-7: The activate() method of NetworkEditPart
Example 5-8: NetworkEditPart refreshing children EditParts
Example 5-9: NetworkNodeEditPart refreshing connected EditParts
Example 5-10: Getting an instance from the ModelManager
Example 5-11: Hooking the model into the GraphicalViewer
Example 5-12: NodeEditPart template
Example 5-13: Using the templates
Chapter 7: Implementing the Sample
Example 7-1: A generic getPropertyDescriptors implementation for EMF classes
Example 7-2: The notifyChanged() implementation in WorkflowNodeEditPart
Example 7-3: The getModelChildren implementation in CompoundTaskEditParts
Example 7-4: Returning a node's connections
Example 7-5: A snippet of the getNewObject() factory method
Example 7-6: Initializing the CreateWorkflowNodeCommand
Example 7-7: Java reference implementation
Example 7-8: Workflow XMI file serialization
Example 7-9: TaskImpl connectTo method
< Day Day Up >
Previous page
Table of content
Eclipse Development Using the Graphical Editing Framework And the Eclipse Modeling Framework
ISBN: 0738453161
EAN: 2147483647
Year: 2004
Pages: 70
Authors:
IBM Redbooks
BUY ON AMAZON
Introducing Microsoft Office InfoPath 2003 (Bpg-Other)
Laying Out Forms
Validating Form Data
Adding Views to a Template
Setting Form Template and Digital Signing Options
Connecting Forms to Databases
Kanban Made Simple: Demystifying and Applying Toyotas Legendary Manufacturing Process
Training
Initial Startup and Common Pitfalls
Appendix B Kanban Supermarkets
Appendix H Case Study 1: Motor Plant Casting Kanban
Appendix I Case Study 2: Rubber Extrusion Plant
Network Security Architectures
DoS Design Considerations
E-Mail
Provisions for E-Commerce and Extranet Design
Real-World Applicability
Organization
A Practitioners Guide to Software Test Design
Boundary Value Testing
State-Transition Testing
Use Case Testing
Exploratory Testing
Appendix A Brown & Donaldson Case Study
The Complete Cisco VPN Configuration Guide
Traffic Issues
IPsec Remote Access
VPN Client Software Updates
Configuring the Windows VPN Client
Easy VPN Server Support for 6.x
Twisted Network Programming Essentials
Adding Twisted Utilities to Your Path
Accepting Connections from Clients
Web Servers
Downloading Mail from a POP3 Server
Downloading Messages from an IMAP Mailbox
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies