際際滷

際際滷Share a Scribd company logo
Tigerstripe Richard Craddock, Eric Dillon (Cisco) Integrated Model-Driven Engineering
Need a bit of context? Technology Incubation Project Focus on Model Driven Engineering Existing User Community from Telecom Industry Stabilizing after 1 st  year as Eclipse project Initial contribution by Cisco in Dec07 Used in production Telecom Standards for OSS/BSS Interfaces Model-Driven Network Mgmt Platforms (E.g. Cisco ANA)
User Environment Big, detailed models for everything Devices, Network Equipment, Technologies, Protocols Service Performance, Policies, etc Software packages, Systems, Configurations Models shared across Eco-System Standard Bodies Vendors Partners Integrators
So! MDE Tooling needs to... Enable distributed modeling Distributed Teams & Organizations Enforce Conventions Fine grain control on model content/sharing Allow componentized models Strong versioning across lifecycle Manage dependencies, builds, deployments
For modelers: Workbench UML-based Metamodel Class Diagrams, Instance Diagrams Model Scoping, validation Integrated Code/Content Generation For Developers: base Framework APIs, Ext. Points to customize env. Headless, Buckminster, Maven, Ant  Annotation Framework EMF-based Model/Resource Annotation Tigerstripe Framework
IntroducingThe Workbench references
Model Scoping Out  of  Scope
Template-based Code/Content Generation
Instance-based vs. Class-based Generation
Beyond the Workbench Use APIs to Import/Export models Customize model auditing, naming conventions, decorations Enhance modeling palette with templates Continuous Model build Environment Headless generation, Maven, Ant driven Buckminster Integration Materialize components, build them.
Flexible Model Annotations Stereotypes vs. Annotations Stereotypes: part of the model Intrinsic model information Annotations: decorations, separate from the model Additional info related to specific use of the model Namespace based
Annotations: A Closer Look Principles Associate Arbitrary EMF object with URI Independent of Tigerstripe Core Allow for custom UI, both as property view or on GMF diagrams Control where they are persisted package org.eclipse.tigerstripe.annotation.core; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EObject; public interface Annotation  extends EObject {  URI getUri(); void setUri(URI value);  EObject getContent(); void setContent(EObject value);  String getId(); void setId(String value); } // Annotation
Install Annotations   and annotate the model. Selection-based view Native EditPart on GMF Diagrams Annotation routed to .ann file
Customized Workbench
Wrap-up Achievements EMF-Based Annotation Framework Partial framework-ization of existing code Buckminster integration Whats next? Continue on the path of framework-ization Tigerstripe Specifics through EMF-APIs Expand Communities
More details? Questions? http://www.eclipse.org/tigerstripe http://wiki.eclipse.org/TigerstripeAtEclipseSummit08

More Related Content

Eclipse Summit Nov08 Final

  • 1. Tigerstripe Richard Craddock, Eric Dillon (Cisco) Integrated Model-Driven Engineering
  • 2. Need a bit of context? Technology Incubation Project Focus on Model Driven Engineering Existing User Community from Telecom Industry Stabilizing after 1 st year as Eclipse project Initial contribution by Cisco in Dec07 Used in production Telecom Standards for OSS/BSS Interfaces Model-Driven Network Mgmt Platforms (E.g. Cisco ANA)
  • 3. User Environment Big, detailed models for everything Devices, Network Equipment, Technologies, Protocols Service Performance, Policies, etc Software packages, Systems, Configurations Models shared across Eco-System Standard Bodies Vendors Partners Integrators
  • 4. So! MDE Tooling needs to... Enable distributed modeling Distributed Teams & Organizations Enforce Conventions Fine grain control on model content/sharing Allow componentized models Strong versioning across lifecycle Manage dependencies, builds, deployments
  • 5. For modelers: Workbench UML-based Metamodel Class Diagrams, Instance Diagrams Model Scoping, validation Integrated Code/Content Generation For Developers: base Framework APIs, Ext. Points to customize env. Headless, Buckminster, Maven, Ant Annotation Framework EMF-based Model/Resource Annotation Tigerstripe Framework
  • 7. Model Scoping Out of Scope
  • 10. Beyond the Workbench Use APIs to Import/Export models Customize model auditing, naming conventions, decorations Enhance modeling palette with templates Continuous Model build Environment Headless generation, Maven, Ant driven Buckminster Integration Materialize components, build them.
  • 11. Flexible Model Annotations Stereotypes vs. Annotations Stereotypes: part of the model Intrinsic model information Annotations: decorations, separate from the model Additional info related to specific use of the model Namespace based
  • 12. Annotations: A Closer Look Principles Associate Arbitrary EMF object with URI Independent of Tigerstripe Core Allow for custom UI, both as property view or on GMF diagrams Control where they are persisted package org.eclipse.tigerstripe.annotation.core; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EObject; public interface Annotation extends EObject { URI getUri(); void setUri(URI value); EObject getContent(); void setContent(EObject value); String getId(); void setId(String value); } // Annotation
  • 13. Install Annotations and annotate the model. Selection-based view Native EditPart on GMF Diagrams Annotation routed to .ann file
  • 15. Wrap-up Achievements EMF-Based Annotation Framework Partial framework-ization of existing code Buckminster integration Whats next? Continue on the path of framework-ization Tigerstripe Specifics through EMF-APIs Expand Communities
  • 16. More details? Questions? http://www.eclipse.org/tigerstripe http://wiki.eclipse.org/TigerstripeAtEclipseSummit08