Commit Graph
151 Commits
Author SHA1 Message Date
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
Anna.Kozlova ec759dcab2 javafx: regroup tests so only one javafx plugin is on the classpath 2016-03-30 19:00:21 +02: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 dc6432c9e0 Javafx: Refactor tests: get rid of cumbersome helper method (IDEA-150446) 2016-03-25 16:23:08 +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 9c7465fb1e javafx: Add properties defined with @NamedArg to the resources for inspection of redundant FXML attributes and tags, don't add to the resources properties having ambiguous definitions (IDEA-102276) 2016-03-18 19:05:59 +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
Anna Kozlova 245548a97a javafx mock replaced with jar from the jdk on which tests are run 2016-03-10 09:08:15 +01:00
Anna Kozlova e236142e42 javafx: extract common setup for javafx library 2016-03-10 09:08:15 +01:00
Pavel Dolgov f62c7fee85 javafx: Improve comparison of primitive values in the inspection of redundant FXML attributes and tags, test renamed to match the inspection name (IDEA-102276) 2016-03-04 13:23:30 +03:00
Pavel Dolgov 9d0faa9992 javafx: Simplify resources for inspection of redundant FXML attributes and tags, fixed resource reloading after GC, move reused code to utility class (IDEA-102276) 2016-03-03 16:15:59 +03: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 bf23fe420b javafx: Rename JavaFxCommonClassNames to JavaFxCommonNames, move Java-related constant from FxmlConstants (which is about FXML) to JavaFxCommonNames (IDEA-150446) 2016-02-24 19:36:01 +03:00
Pavel Dolgov ded93e9573 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
Pavel Dolgov 6cd5ffbfd7 javafx: "Unresolved fx:id reference" inspection quickfix add @FXML annotation only when needed, and use field visibility from project settings (IDEA-141033) 2016-02-15 15:33:33 +03:00
Anna Kozlova 1880e18fba javafx: accept imports in fx:root tags (IDEA-147975) 2015-11-17 09:34:45 +01:00
Alexey Kudravtsev fdb7afe963 notnull 2015-07-15 16:48:49 +03:00
Anna Kozlova eeded09c18 javafx: unable to coerce check does not make sense for pane's node elements 2015-06-17 20:12:20 +03:00
Anna Kozlova a97341973c EA-69415 - CCE: FxmlReferencesContributor$MyJavaClassReferenceProvider$JavaClassReferenceWrapper.bindToElement 2015-06-15 09:56:01 +03:00
nik 5e1a42ad00 disable JavaFXQuickfixTest on Mac 2015-06-04 21:52:19 +03:00
nik bd3c91a92c disable all JavaFX tests on Mac 2015-06-04 20:54:27 +03:00
nik e6bd840ec1 corrected mistakenly committed local changes 2015-06-04 10:09:22 +03:00
nik 592be88cbd ignore JavaFX tests on Mac properly 2015-06-03 22:02:28 +03:00
nik bb01a50d11 JavaFXHighlightingTest disabled on Mac to avoid crashes 2015-06-03 18:33:51 +03:00
nik 5de81e674e LightFixtureCompletionTestCase moved to testFramework-java to remove dependencies on 'java-tests' from 'javaFX' modules 2015-06-03 18:33:50 +03:00
nik 92008a098c disable all tests from JavaFXCollapseSubtagToAttributeTest on Mac to avoid craches 2015-05-29 11:37:42 +03:00
nik 5e79ca7b39 test which crashes on Mac disabled 2015-05-27 15:48:20 +03:00
Anna Kozlova cf9caecd5e javafx: check coercing according to resolved refs (IDEA-140244) 2015-05-19 11:07:48 +02:00
Anton Makeev 68a23c5b28 TargetElementUtilBase is deprecated, please use TargetElementUtil 2015-05-11 15:07:39 +02:00