Issue Details (XML | Word | Printable)

Key: FDT-2568
Type: Improvement Improvement
Status: Confirmed Confirmed
Priority: Minor Minor
Assignee: FDT Team
Reporter: Panel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FDT

Add quickfix for changing field type

Created: 01/Feb/12 10:50 AM   Updated: 25/Jul/12 03:41 PM
Component/s: Quick Fix / Assist, Refactoring
Affects Version/s: FDT 5.0
Fix Version/s: FDT
Security Level: public

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. FDT 5.png
(58 kB)

Review Type: Review by Product Owner


 Description  « Hide
package
{
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	public class Test3 extends Sprite
	{
		private var _view:MovieClip;
		
		public function Test3()
		{
			_view = new Sprite(); //add change field type quickfix
		}
	}
}

BTW
If field type would be changed the type for getters/setters should be also changed



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Alan K (Deprecated) added a comment - 03/May/12 06:03 PM
Add options to change the Type of the field varaible

and

To change the constructor to match the field var;

myVar:Sprite;

///

myVar = new MovieClip; <--- add quick fix to change this to Sprite