Generic Event Service for Visual Modeling Pattern Kits
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In visual modeling language environments, developing applications with pattern-based user interfaces can lead to inconsistent user experiences due to the lack of a unified event handling mechanism, resulting in increased complexity and the risk of conflicting global event handlers, which complicates the implementation and maintenance of pattern kits.
Innovation Solution
Implementing a generic service that can resolve events across different patterns, eliminating the need for global event handlers and allowing instance-based event handling, which reduces the complexity of pattern implementation and enhances the reliability of pattern kits by using a central place for generic logic, enabling self-adaptability of the visual modeling environment to new pattern kits.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If global event handlers are used to handle events across different patterns, then event handling coverage is improved, but system complexity increases and reliability decreases due to conflicting handlers
Solution Approach 1:
The patent introduces an event service as an intermediary component that mediates between event sources and event handlers. Instead of using global event handlers that directly interact with multiple patterns, the event service acts as a central mediator that receives events, determines the appropriate handler, and routes events accordingly. This eliminates the need for conflicting global handlers while maintaining comprehensive event handling coverage across different patterns.
Solution Approach 2:
The event service is designed as a universal component that can handle multiple types of events from different patterns through a single unified interface. Rather than having separate global handlers for each pattern, the event service provides multi-functional event handling capabilities, reducing system complexity while maintaining versatility in event handling coverage.
2Manufacturing precision
If separate event resolution procedures are implemented for each pattern, then pattern-specific event handling precision is improved, but device complexity and maintenance difficulty increase
Solution Approach 1:
The patent extracts the common event resolution logic from individual pattern implementations and consolidates it into a centralized event service. Instead of having duplicate event resolution procedures in each pattern, the event service contains the extracted common logic that can be reused across all patterns. This maintains precise event handling while reducing implementation complexity and making the system easier to maintain.
Solution Approach 2:
The event service provides a universal event resolution mechanism that handles different types of events with appropriate precision. Rather than requiring separate implementation procedures for each pattern, the event service offers multi-functional capabilities to resolve various events with the necessary precision for each specific case, thereby reducing overall implementation complexity.
3Adaptability or versatility
If multiple global event handlers are used to support different pattern kits, then adaptability to new patterns is improved, but reliability decreases due to handler conflicts
Solution Approach 1:
The event service acts as a reliable intermediary that manages the interaction between multiple pattern kits and their event handlers. Instead of having multiple global handlers that may conflict with each other, the event service provides a single point of coordination that ensures reliable event handling while maintaining adaptability to new pattern kits. New patterns can be added without introducing conflicting handlers, as the event service manages the routing and coordination.
4Device complexity
If instance-based event handling is used instead of global handlers, then code complexity is reduced, but event handling capability may be limited
Solution Approach 1:
The event service provides a universal event handling mechanism that combines the simplicity of instance-based handling with the versatility of global event coverage. Rather than using complex global handlers, the event service offers a unified instance-based interface that can handle events from multiple patterns, thereby reducing code complexity while maintaining comprehensive event handling capability.
Data Source
AI summary
Methods and apparatus, including computer program products, related to designtime services for multiple patterns of a visual modeling language environment (e.g., generic services to handle events related to pattern components in a designtime environment). Input characterizing events related to patterns components may be received in a visual modeling tool, a type of event may be associated with a service to resolve events related to different patterns having a same type of event, and the service may be initiated to resolve the type of event.


