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 111
    • Issues 111
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 4
    • Merge Requests 4
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • vadere
  • vadere
  • Issues
  • #91

Closed
Open
Created 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 an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None