Changes between Initial Version and Version 7 of Ticket #12983
- Timestamp:
- 2016-06-18T00:08:02+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12983
- Property Cc added
- Property Keywords gsoc-core added
- Property Resolution → fixed
- Property Status new → closed
- Property Milestone → 16.06
- Property Type defect → enhancement
-
Ticket #12983 – Description
initial v7 1 1 The Command class should get the active layer from the layer manager. otherwise it does not seem possible to use the command in a test with JOSMTestRules, because "Main.main" is null. 2 2 3 {{{ 4 #!java 3 5 package org.openstreetmap.josm.command: 4 6 5 /**7 /** 6 8 * Creates a new command in the context of the current edit layer, if any 7 9 */ … … 9 11 this.layer = Main.main == null ? null : Main.main.getEditLayer(); 10 12 } 13 }}}