Commit Graph
193 Commits
Author SHA1 Message Date
Pavel Dolgov 74e42ee761 Javafx: "Wrap field with JavaFx property" intention - added test for adding/deleting FXML files (IDEA-102430) 2016-10-28 14:59:42 +03:00
Pavel Dolgov 1556430784 Javafx: "Wrap field with JavaFx property" intention - use ProgressIndicator and TransactionGuard when performing the refactoring (IDEA-102430) 2016-10-26 21:34:39 +03:00
Pavel Dolgov 5706a80f78 Javafx: "Wrap field with JavaFx property" intention (IDEA-102430) 2016-10-17 20:13:40 +03:00
Pavel Dolgov cf47b17b49 Javafx: Migration to JDK 9 (IDEA-157536) 2016-10-07 17:35:35 +03:00
Pavel Dolgov 0024b81709 Javafx: Allow to use fx:id of a node in expressions within the same node - test added (IDEA-161627) 2016-10-06 13:16:30 +03:00
Pavel Dolgov 12d71ce0d4 Javafx: Created inspection that validates attribute values provided in a resource bundle (IDEA-100213) 2016-09-14 14:46:34 +03:00
Pavel Dolgov c703152ebf Javafx: Support resolution of resource keys (IDEA-100213) 2016-09-13 12:54:59 +03:00
Pavel Dolgov 5813976925 Javafx: Don't show number format error for resource keys (IDEA-160452) 2016-09-12 13:01:25 +03:00
Pavel Dolgov 49fd96c74a Javafx: Rename nested controller field along with the corresponding fx:id attribute or field (IDEA-153810) 2016-06-17 19:39:10 +03:00
Pavel Dolgov 528c63497e Javafx: Resolve $null symbol and ${null} expression in FXML (IDEA-112153) 2016-06-14 16:18:53 +03:00
Pavel Dolgov 85c75a9f79 Javafx: Don't report default tag problem when the default tag is a collection and its contents is also a collection. Move a reused method to utility class. Tests added. (IDEA-153662) 2016-05-18 16:23:02 +03:00
Pavel Dolgov 0777e2e8ab Javafx: Take into account member visibility settings when creating event handler method for FXML. Tests added. (IDEA-151695) 2016-05-13 12:04:12 +03:00
Pavel Dolgov 259435bbc8 Javafx: Highlighting for private event handler methods marked with @FXML (IDEA-151633) 2016-05-12 19:46:18 +03:00
Pavel Dolgov b185aaf61e Javafx: Update FXML when renaming private event handler method in controller's superclass. Test added. Introduced fixture-based common superclass for rename tests. (IDEA-154116) 2016-05-10 18:02:15 +03:00
Pavel Dolgov 708074dec9 Javafx: Search static property occurrences in FXML using plain text search, remove redundant index. (IDEA-105038, IDEA-105231) 2016-04-28 19:54:53 +03:00
Pavel Dolgov 06c8b177bc Javafx: Rename static FXML property and corresponding static Java method simultaneously. Add index of FXML imports. Add searcher for Java methods referenced in FXML. Move reusable code to base class. Tests added. (IDEA-105038, IDEA-105231) 2016-04-27 18:50:53 +03:00
Pavel Dolgov 3f508d40d6 Javafx: Rename static FXML property and corresponding static Java method simultaneously. Add index of FXML imports. Add searcher for Java methods referenced in FXML. Tests added (IDEA-105038, IDEA-105231) 2016-04-27 18:50:53 +03:00
Pavel Dolgov 2ec46ccccc Javafx: Don't allow renaming built-in $controller property, take two. Fixed boolean getter generation and renaming. Utility methods simplified. Tests added (IDEA-153758, IDEA-153751) 2016-04-22 12:07:00 +03:00
Pavel Dolgov 1cde5021be Javafx: Fix highlighting and completion for css file names in FXML stylesheets property, both attribute and tag. Tests added (IDEA-154244) 2016-04-08 13:00:39 +03:00
Pavel Dolgov b7fe0c4c96 Javafx: Don't highlight absolute (remote) URL as invalid in FXML. Test added (IDEA-154132) 2016-04-07 19:15:45 +03:00
Pavel Dolgov ab14d9220f Javafx: Allow fx:value attribute's value to start with $ character. Test added (IDEA-154239) 2016-04-07 16:48:03 +03:00
Pavel Dolgov 6415c4cd8a Javafx: Fixed highlighting and imports of nested classes and enums in FXML. Test added (IDEA-154131) 2016-04-07 12:53:02 +03:00
Pavel Dolgov fc27b307b4 Javafx: Regression fixed - allow enum constants in fx:value attribute. Tests added 2016-04-06 17:32:26 +03:00
Pavel Dolgov d449cb57fa Javafx: In FXML completion for event handler take care of superclasses' generic parameters (IDEA-154115) 2016-04-05 18:16:07 +03:00
Pavel Dolgov e52eb35339 Javafx: In FXML completion for event handler show methods from controller's superclasses (IDEA-154115) 2016-04-05 16:30:33 +03:00
Pavel Dolgov 03e8a8751c Javafx: In FXML event handler inspection provide possibility to change the type of the field mentioned in fx:id to match the event handler signature (IDEA-153637) 2016-04-04 16:04:46 +03:00
Pavel Dolgov 0f7e621918 Javafx: Don't show private methods as unresolved, show them as not accessible from FXML (IDEA-153671) 2016-04-01 17:28:43 +03:00
Pavel Dolgov e0e5ef5655 Javafx: Validate type of constants and factory methods in FXML attributes fx:constant and fx:factory (IDEA-153811) 2016-04-01 15:17:32 +03:00
Anna.Kozlova bf5998c1f5 javafx: allow to insert inner class import in tests 2016-04-01 14:11:05 +02:00
Pavel Dolgov 8c21082956 Javafx: In completion for fx:constant attribute offer constants from superclass (IDEA-153813) 2016-04-01 11:28:17 +03:00
Pavel Dolgov 7f9f2761bd Javafx: Regression test added for the RGB color components inspection (IDEA-153647) 2016-03-31 18:51:22 +03:00
Pavel Dolgov 7959524d1b Javafx: In quickfix that creates FXML event handler don't specify unresolved genetic parameters in argument type. Tests added (IDEA-153589) 2016-03-31 18:02:08 +03:00
Pavel Dolgov 77b5d5469c Javafx: Fixed resolving variables and getter chains in FXML property expressions. Tests added (IDEA-153754) 2016-03-30 20:04:28 +03:00
Pavel Dolgov 2d4988586f Javafx: Fix NPE in FXML completion. Test added (IDEA-153746) 2016-03-29 15:52:51 +03:00
Pavel Dolgov 40d8250dbd Javafx: FXML tag name completion fix - don't suggest type parameter of raw collection. Cache property types when computing completion list. Test added, similar tests simplified. (IDEA-153663) 2016-03-29 13:42:44 +03:00
Pavel Dolgov 3bc362a03d Javafx: Improve completion for property tags: offer names of non-abstract class compatible with the property type. Test added. (IDEA-103596) 2016-03-25 16:23:08 +03:00
Pavel Dolgov 413c43eb5f Javafx: Validate property tags. Check that value provided by property's nested tag(s) is compatible with or convertible to the property type. Show warning for conversion of unrelated types: technically it might work, but usually not in the way the user expects. Validate enum constants provided in fx:value attribute. Tests added. (IDEA-103596) 2016-03-25 15:10:09 +03:00
Pavel Dolgov 4112f22f44 Javafx: FXML inspection that validates event handler methods' signature. Code cleanup, move reused methods to utility class. Tests updated. (IDEA-151694) 2016-03-23 13:51:13 +03:00
Pavel Dolgov b0326abca2 Javafx: Handle wildcard event type in the quick fix that creates event handler method. Add test for that. (IDEA-151694) 2016-03-21 21:21:22 +03:00
Pavel Dolgov bbc9b62df0 Javafx: Simplify tests on event handler methods' signature. Implement quick fix that corrects the event handler method's signature. Move reused code to utility class. Add tests for the quick fix. (IDEA-151694) 2016-03-21 20:50:14 +03:00
Pavel Dolgov 29826da46c Javafx: FXML inspection that validates event handler methods' signature. Use full generic event type in quickfix that creates event handler method. Use multi-reference for navigating to ambiguous event handler methods. (IDEA-151694) 2016-03-18 15:02:45 +03:00
Pavel Dolgov ae45842678 Javafx: Move RemoveTagIntentionFix to the XMl plug-in for further reuse, don't do code formatting after removing tag to avoid excessive changes. Tests updated 2016-03-11 19:55:01 +03:00
Pavel Dolgov 5bc0d94602 Javafx: Add inspection in FXML to validate that RGB color components are in valid range (IDEA-103956) 2016-03-11 18:22:45 +03:00
Pavel Dolgov be184e9339 Javafx: Reduce code duplication by handling FXML property tags and property attributes in the same way, compute properties from both fields and getter/setter methods. Cache per class the properties available in FXML (IDEA-103956) 2016-03-11 16:29:48 +03:00
Anna Kozlova 245548a97a javafx mock replaced with jar from the jdk on which tests are run 2016-03-10 09:08:15 +01:00
Pavel Dolgov b1a2b1e838 javafx: Inspection of FXML attributes and tags which contain default values and therefore are redundant (IDEA-102276) 2016-03-02 19:59:27 +03:00
Pavel Dolgov c3a34f9372 javafx: Use modern API for sorting completion suggestions, store completion suggestions in cache (IDEA-150446) 2016-02-25 16:48:09 +03:00
Pavel Dolgov 66f6600ea2 javafx: Don't highlight as error the built-in "$controller" field and its properties visible in FXML (IDEA-150446) 2016-02-24 17:39:26 +03:00
Pavel Dolgov a94982d8f4 javafx: In FXML fx:id completion offer accessible fields of controller's superclasses, and make sure the field's type fits the tag where fx:id is located (IDEA-142634) 2016-02-17 20:34:37 +03:00
Pavel Dolgov a64610c052 javafx: Added more tests for "Unresolved fx:id reference" inspection quickfix (IDEA-141033) 2016-02-15 16:26:10 +03:00