Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
V
vadere
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 110
    • Issues 110
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 3
    • Merge Requests 3
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • vadere
  • vadere
  • Issues
  • #91

Closed
Open
Opened Jul 02, 2018 by Daniel Lehmberg@hm-lehmbergMaintainer

Remove "reflection" when changing JSON parameters from Topography elements

Problem:

The Stairs class (and possibly others?) includes logic in the constructor (drawing the treads). The constructor is not called again when the attribute parameters are changed in the JSON but instead force-set by reflection.

The strategy is now to remove the reflection and replace it with a new abstract method setAttributes(attributes) in class ScenarioElement. This means the call to setAttributes of ReflectionAttributeModifier should be replaced by a setAttributes of the element in https://gitlab.lrz.de/vadere/vadere/blob/develop/VadereGui/src/org/vadere/gui/components/view/ScenarioElementView.java#L146 ).

This will be implemented in the separate branch remove_reflection.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: vadere/vadere#91