Commit 264f79b4 authored by Nikolay Chashnikov's avatar Nikolay Chashnikov Committed by intellij-monorepo-bot
Browse files

[Java FX] get rid of reference to class from 'properties' plugin from the main...

[Java FX] get rid of reference to class from 'properties' plugin from the main part of the plugin (IDEA-269139)

JavaFX plugin has optional dependency on Properties plugin, so it may use its classes only from the corresponding part.

(cherry picked from commit 4a67fc51e4b299697c82a73985b40f7366e7f33e)

IJ-CR-9210

GitOrigin-RevId: dab1ed7a63d00d807551ac519e1f62babb88f027
parent 45d95774
Branches unavailable Tags unavailable
No related merge requests found
Showing with 1 addition and 2 deletions
+1 -2
......@@ -3,7 +3,6 @@ package org.jetbrains.plugins.javaFX.packaging;
import com.intellij.execution.util.ListTableWithButtons;
import com.intellij.ide.highlighter.HtmlFileType;
import com.intellij.lang.properties.PropertiesFileType;
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory;
import com.intellij.openapi.project.Project;
......@@ -62,7 +61,7 @@ public class JavaFxArtifactPropertiesEditor extends ArtifactPropertiesEditor {
super();
myProperties = properties;
JavaFxApplicationClassBrowser.appClassBrowser(project, artifact).setField(myAppClass);
final FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFileDescriptor(PropertiesFileType.INSTANCE);
final FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFileDescriptor("properties");
myHtmlParams.addBrowseFolderListener(JavaFXBundle.message("javafx.artifact.properties.editor.choose.file.standalone.title" ), JavaFXBundle.message("javafx.artifact.properties.editor.choose.file.standalone.description"), project, descriptor);
myParams.addBrowseFolderListener(JavaFXBundle.message("javafx.artifact.properties.editor.choose.file.run.in.browser.title"), JavaFXBundle.message("javafx.artifact.properties.editor.choose.file.run.in.browser.description"), project, descriptor);
myHtmlTemplate.addBrowseFolderListener(JavaFXBundle.message("javafx.artifact.properties.editor.choose.html.file.title"), JavaFXBundle.message("javafx.artifact.properties.editor.choose.html.file.description"), project,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment