mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
javafx: fix compilation
GitOrigin-RevId: b4f4d62e76e2c8cb3902e3700321400ebb6acbb3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
033dc1ab2b
commit
8fa404f0ea
@@ -1,152 +0,0 @@
|
||||
inspection.javafx.color.component.out.of.range.problem=Color component has to be a number between 0.0 and 1.0, inclusively
|
||||
inspection.javafx.default.tag.could.be.removed=Default property tag could be removed
|
||||
inspection.javafx.default.tag.unwrap.tag.fix.family.name=Unwrap tag
|
||||
inspection.javafx.default.tag.unwrap.tag.fix.name=Unwrap ''{0}''
|
||||
inspection.javafx.event.handler.ambiguous.problem=Ambiguous event handler name: more than one matching method found
|
||||
inspection.javafx.event.handler.change.parameter.type=Change parameter type of event handler method
|
||||
inspection.javafx.event.handler.create.options.panel=Detect event handler method having non-void return type
|
||||
inspection.javafx.event.handler.incompatible.generic.parameter.problem=Incompatible generic parameter of event handler argument: {0} is not assignable from {1}
|
||||
inspection.javafx.event.handler.incompatible.handler.argument=Incompatible event handler argument: {0} is not assignable from {1}
|
||||
inspection.javafx.event.handler.return.type.problem=Return type of event handler should be void
|
||||
inspection.javafx.redundant.property.values.problem=Attribute is redundant because it contains default value
|
||||
inspection.javafx.redundant.property.values.redundant.tag.problem=Tag is redundant because it contains default value
|
||||
inspection.javafx.unresolved.fx.id.reference.problem=Unresolved fx:id reference
|
||||
inspection.javafx.unused.imports.problem=Unused import
|
||||
|
||||
javafx.annotator.duplicate.child.added=Duplicate child added
|
||||
javafx.annotator.page.language.not.specified=Page language not specified.
|
||||
javafx.annotator.property.is.read.only=Property ''{0}'' is read-only
|
||||
javafx.annotator.should.be.public=\ should be public
|
||||
javafx.annotator.should.be.public.or.fxml.annotated=\ should be public or annotated with @FXML
|
||||
javafx.annotator.value.not.found={0} not found
|
||||
|
||||
javafx.app.dialog.linux.icon=&Linux Icon
|
||||
javafx.app.dialog.mac.icon=&Mac Icon
|
||||
javafx.app.dialog.windows.icon=&Windows Icon
|
||||
|
||||
javafx.application.icons.choose.icons=Choose Application Icons
|
||||
javafx.application.icons.file.should.be.inside.project.content={0} icon file should be inside the project content
|
||||
javafx.application.icons.icon.file.should.exist={0} icon file should exist
|
||||
javafx.application.icons.select.icon.file.description=Select icon file (*.{0}) for the resulting application
|
||||
javafx.application.icons.select.icon.file.title=Choose Icon File
|
||||
|
||||
javafx.artifact.properties.editor.application.class=A&pplication class:
|
||||
javafx.artifact.properties.editor.application.icon=Application icon
|
||||
javafx.artifact.properties.editor.application.parameters=Application Pa&rameters:
|
||||
javafx.artifact.properties.editor.build.output.level=Build output level:
|
||||
javafx.artifact.properties.editor.choose.file.run.in.browser.description=Parameters for the resulting application to run in the browser.
|
||||
javafx.artifact.properties.editor.choose.file.run.in.browser.title=Choose Properties File
|
||||
javafx.artifact.properties.editor.choose.file.standalone.description=Parameters for the resulting application to run standalone.
|
||||
javafx.artifact.properties.editor.choose.file.standalone.title=Choose Properties File
|
||||
javafx.artifact.properties.editor.choose.html.file.description=HTML template for application entry point to run in browser
|
||||
javafx.artifact.properties.editor.choose.html.file.title=Choose HTML File
|
||||
javafx.artifact.properties.editor.convert.css.to.bin.option=Convert css to bin
|
||||
javafx.artifact.properties.editor.custom.manifest.attributes=Custom manifest attributes
|
||||
javafx.artifact.properties.editor.description=&Description:
|
||||
javafx.artifact.properties.editor.edit.attributes.button=Edit &Attributes
|
||||
javafx.artifact.properties.editor.edit.certificates.button=Edit &Certificates
|
||||
javafx.artifact.properties.editor.edit.custom.manifest.attributes=Edit Custom Manifest Attributes
|
||||
javafx.artifact.properties.editor.edit.icons.button=Edit Ico&ns
|
||||
javafx.artifact.properties.editor.height=&Height:
|
||||
javafx.artifact.properties.editor.html.parameters=HTM&L Parameters:
|
||||
javafx.artifact.properties.editor.html.placeholder.id=HTML Placeh&older Id:
|
||||
javafx.artifact.properties.editor.html.template=HT&ML Template:
|
||||
javafx.artifact.properties.editor.native.bundle=Nat&ive bundle:
|
||||
javafx.artifact.properties.editor.signing.option=Enable &signing
|
||||
javafx.artifact.properties.editor.title=&Title:
|
||||
javafx.artifact.properties.editor.update.in.background.option=Update in &background
|
||||
javafx.artifact.properties.editor.vendor=&Vendor:
|
||||
javafx.artifact.properties.editor.version=V&ersion:
|
||||
javafx.artifact.properties.editor.width=&Width:
|
||||
|
||||
javafx.certificates.dialog.alias.should.be.non.empty.error=Alias should be non-empty
|
||||
javafx.certificates.dialog.choose.certificate.title=Choose Certificate
|
||||
javafx.certificates.dialog.keystore.file.should.exist.error=Keystore file should exist
|
||||
javafx.certificates.dialog.passwords.should.be.set.error=Passwords should be set
|
||||
javafx.certificates.dialog.path.to.keystore.file.error=Path to the keystore file should be set
|
||||
javafx.certificates.dialog.select.file.with.generated.keys=Select file containing generated keys
|
||||
|
||||
javafx.collapse.subtag.to.attribute.intention=Collapse tag ''{0}'' to attribute
|
||||
javafx.collapse.subtag.to.attribute.intention.family.name=Collapse tag to attribute
|
||||
javafx.create.new.fxml.file.description=Create New FXML File
|
||||
javafx.create.new.fxml.file.title=FXML File
|
||||
javafx.edit.certificates.dialog.alias=&Alias:
|
||||
javafx.edit.certificates.dialog.keypass=K&eypass:
|
||||
javafx.edit.certificates.dialog.keystore=Ke&ystore:
|
||||
javafx.edit.certificates.dialog.self.signed.radio=&Self signed
|
||||
javafx.edit.certificates.dialog.signed.by.key.radio=Signed by &key
|
||||
javafx.edit.certificates.dialog.signed.storepass=Store&pass:
|
||||
javafx.entry.point.javafx.app=JavaFX Applications
|
||||
javafx.expand.attribute.to.tag.intention=Expand ''{0}'' to tag
|
||||
javafx.expand.attribute.to.tag.intention.family.name=Expand attribute to tag
|
||||
javafx.failed.to.start.scene.builder.error=Failed to start SceneBuilder: {0}
|
||||
javafx.field.to.property.intention.search.for.usages=Searching for Usages of ''{0}''
|
||||
javafx.inject.page.language.intention.family.name=Specify page language
|
||||
javafx.preloader.artifact.properties.editor.preloader.class=&Preloader class:
|
||||
javafx.project.sdk.setup.validator.runtime.not.configured.error=The JavaFX runtime is not configured. Either use a JDK that has the JavaFX built in, or add a JavaFX library to the classpath
|
||||
javafx.property.rename.handler.error.message=Cannot rename built-in property
|
||||
javafx.property.rename.handler.error.title=Cannot rename
|
||||
javafx.refactoring.property.element.type.name=property
|
||||
javafx.root.tag.descriptor.cannot.resolve.class=Cannot resolve class {0}
|
||||
|
||||
javafx.scene.builder.editor.download.scene.builder.kit=Download Scene Builder Kit
|
||||
javafx.scene.builder.editor.download.javafx=Download JavaFX
|
||||
javafx.scene.builder.editor.failed.to.download.kit.error=Failed to download Scene Builder Kit
|
||||
javafx.scene.builder.editor.failed.to.open.file.error=Failed to open the file in the Scene Builder.
|
||||
javafx.scene.builder.editor.scene.builder.edit.operation=JavaFX Scene Builder edit operation
|
||||
|
||||
javafx.settings.configurable.path.to.scenebuilder=&Path to SceneBuilder:
|
||||
javafx.settings.configurable.scene.builder.configuration.description=Select path to SceneBuilder executable
|
||||
javafx.settings.configurable.scene.builder.configuration.title=SceneBuilder Configuration
|
||||
|
||||
javafx.wrap.id.with.fx.define.intention=Wrap \"{0}\" with fx:define
|
||||
javafx.wrap.with.fx.define.intention.family.name=Wrap with fx:define
|
||||
inspection.java.fx.event.handler.display.name=Event handler method signature problems
|
||||
inspection.java.fx.color.rgb.display.name=Color component is out of range
|
||||
inspection.java.fx.redundant.property.value.display.name=JavaFX redundant property values
|
||||
inspection.java.fx.unused.imports.display.name=JavaFX unused imports
|
||||
inspection.java.fx.unresolved.fx.id.reference.display.name=Unresolved fx:id attribute reference
|
||||
inspection.java.fx.default.tag.display.name=Unnecessary default tag
|
||||
action.OpenInSceneBuilder.text=Open In SceneBuilder
|
||||
javafx.application.title=JavaFx application
|
||||
javafx.preloader.title=JavaFx preloader
|
||||
intention.family.name.convert.to.javafx.property=Convert to JavaFX property
|
||||
command.name.convert.to.javafx.property=Convert ''{0}'' to JavaFX Property
|
||||
popup.title.choose.component.with.fx.id=<html>Choose component with fx:id <b>{0}<b></html>
|
||||
intention.name.change.parameter.type.to=Change parameter type of ''{0}'' to {1}
|
||||
conversion.between.unrelated.types.error=Conversion between unrelated types, {0} to {1}
|
||||
unable.to.coerce.error=Unable to coerce {0} to {1}
|
||||
inspection.message.copy.constructor.not.found=Copy constructor not found for ''{0}''
|
||||
inspection.message.fx.controller.can.only.be.applied.to.root.element='fx:controller' can only be applied to root element
|
||||
unable.to.instantiate=Unable to instantiate
|
||||
spaces.not.allowed.before.property.or.expression=Spaces aren't allowed before property or expression
|
||||
invalid.value.unable.to.coerce=Invalid value: unable to coerce to {0}
|
||||
no.controller.specified.for.top.level.element=No controller specified for top level element
|
||||
incorrect.expression.syntax=Incorrect expression syntax
|
||||
unable.to.coerce=Unable to coerce to {0}
|
||||
invalid.enumerated.value=Invalid enumerated value
|
||||
inspection.message.fx.root.valid.only.as.root.node.fxml.document='<fx:root>' is valid only as the root node of an FXML document
|
||||
label.selected.module.output.would.to.be.included.in.artifact=Selected module output would to be included in the artifact
|
||||
dialog.title.select.module.for.artifact=Select Module
|
||||
action.from.module.artifact.text=From module...
|
||||
action.from.modules.artifact.text=From module ''{0}''
|
||||
dialog.title.choose.preloader.class=Choose Preloader Class
|
||||
dialog.title.choose.application.class=Choose Application Class
|
||||
column.name.artifact.manifest.property.name=Name
|
||||
column.name.artifact.manifest.property.value=Value
|
||||
java.fx.artifacts.tab.name=Java FX
|
||||
javafx.preloader.tab.name=JavaFX Preloader
|
||||
scene.builder.editor.tab.name=Scene Builder
|
||||
constant.not.found=Constant ''{0}'' is not found
|
||||
cannot.class.name.to.field.name=Cannot set {0} to field ''{1}''
|
||||
enum.constant.not.found=No enum constant ''{0}'' in {1}
|
||||
dialect.display.name=Java FX
|
||||
group.name.javafx=JavaFX
|
||||
inspection.java.fx.resource.property.value.display.name=The value from properties file is incompatible with the attribute type
|
||||
bundled.ant.not.found=Bundled ant not found.
|
||||
javafx.sign.task.has.failed.for.0=JavaFX sign task has failed for: {0}.
|
||||
javafx.generate.certificate.task.has.failed=JavaFX generate certificate task has failed.
|
||||
unable.to.build.javafx.artifact.not.specified=Unable to build JavaFX artifact. {0} should be specified in artifact''s settings.
|
||||
fx.deploy.task.has.failed=fx:deploy task has failed.
|
||||
cant.build.artifact.fx.deploy.is.not.available.in.this.jdk=Can't build artifact - fx:deploy is not available in this JDK
|
||||
java.version.7.or.higher.is.required.to.build.javafx.package=Java version 7 or higher is required to build JavaFX package
|
||||
@@ -0,0 +1,6 @@
|
||||
bundled.ant.not.found=Bundled ant not found.
|
||||
javafx.sign.task.has.failed.for.0=JavaFX sign task has failed for: {0}.
|
||||
javafx.generate.certificate.task.has.failed=JavaFX generate certificate task has failed.
|
||||
unable.to.build.javafx.artifact.not.specified=Unable to build JavaFX artifact. ''{0}'' should be specified in artifact''s settings.
|
||||
fx.deploy.task.has.failed=fx:deploy task has failed.
|
||||
cant.build.artifact.fx.deploy.is.not.available.in.this.jdk=Can't build artifact - fx:deploy is not available in this JDK
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package org.jetbrains.plugins.javaFX;
|
||||
|
||||
import com.intellij.DynamicBundle;
|
||||
import com.intellij.AbstractBundle;
|
||||
import org.jetbrains.annotations.Nls;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -9,11 +9,11 @@ import org.jetbrains.annotations.PropertyKey;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public final class JavaFXBundle extends DynamicBundle {
|
||||
@NonNls private static final String BUNDLE = "messages.JavaFXBundle";
|
||||
private static final JavaFXBundle INSTANCE = new JavaFXBundle();
|
||||
public class JavaFXCommonBundle extends AbstractBundle {
|
||||
@NonNls private static final String BUNDLE = "messages.JavaFXCommonBundle";
|
||||
private static final JavaFXCommonBundle INSTANCE = new JavaFXCommonBundle();
|
||||
|
||||
private JavaFXBundle() {
|
||||
private JavaFXCommonBundle() {
|
||||
super(BUNDLE);
|
||||
}
|
||||
|
||||
@@ -23,7 +23,8 @@ public final class JavaFXBundle extends DynamicBundle {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static Supplier<@Nls String> messagePointer(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key, Object @NotNull ... params) {
|
||||
public static Supplier<@Nls String> messagePointer(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key,
|
||||
Object @NotNull ... params) {
|
||||
return INSTANCE.getLazyMessage(key, params);
|
||||
}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ import com.intellij.util.PathUtilRt;
|
||||
import com.intellij.util.io.ZipUtil;
|
||||
import org.jetbrains.annotations.Nls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.plugins.javaFX.JavaFXBundle;
|
||||
import org.jetbrains.plugins.javaFX.JavaFXCommonBundle;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@@ -103,7 +103,7 @@ public abstract class AbstractJavaFxPackager {
|
||||
try {
|
||||
final String taskDefJar = homePath + "/lib/ant-javafx.jar";
|
||||
if (!new File(taskDefJar).exists()) {
|
||||
registerJavaFxPackagerError(JavaFXBundle.message("cant.build.artifact.fx.deploy.is.not.available.in.this.jdk"));
|
||||
registerJavaFxPackagerError(JavaFXCommonBundle.message("cant.build.artifact.fx.deploy.is.not.available.in.this.jdk"));
|
||||
return;
|
||||
}
|
||||
final StringBuilder buf = new StringBuilder();
|
||||
@@ -127,7 +127,7 @@ public abstract class AbstractJavaFxPackager {
|
||||
}
|
||||
}
|
||||
else {
|
||||
registerJavaFxPackagerError(JavaFXBundle.message("fx.deploy.task.has.failed"));
|
||||
registerJavaFxPackagerError(JavaFXCommonBundle.message("fx.deploy.task.has.failed"));
|
||||
}
|
||||
}
|
||||
finally {
|
||||
@@ -152,7 +152,7 @@ public abstract class AbstractJavaFxPackager {
|
||||
|
||||
private boolean checkNotEmpty(final String text, final String title) {
|
||||
if (StringUtil.isEmptyOrSpaces(text)) {
|
||||
registerJavaFxPackagerError(JavaFXBundle.message("unable.to.build.javafx.artifact.not.specified", title));
|
||||
registerJavaFxPackagerError(JavaFXCommonBundle.message("unable.to.build.javafx.artifact.not.specified", title));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
@@ -171,7 +171,7 @@ public abstract class AbstractJavaFxPackager {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
registerJavaFxPackagerError(JavaFXBundle.message("javafx.generate.certificate.task.has.failed"));
|
||||
registerJavaFxPackagerError(JavaFXCommonBundle.message("javafx.generate.certificate.task.has.failed"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,7 +186,7 @@ public abstract class AbstractJavaFxPackager {
|
||||
|
||||
final int signedResult = startProcess(signCommandLine);
|
||||
if (signedResult != 0) {
|
||||
registerJavaFxPackagerError(JavaFXBundle.message("javafx.sign.task.has.failed.for.0", jar2Sign));
|
||||
registerJavaFxPackagerError(JavaFXCommonBundle.message("javafx.sign.task.has.failed.for.0", jar2Sign));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -317,7 +317,7 @@ public abstract class AbstractJavaFxPackager {
|
||||
private int startAntTarget(String buildText, String javaHome) {
|
||||
final String antHome = getAntHome();
|
||||
if (antHome == null) {
|
||||
registerJavaFxPackagerError(JavaFXBundle.message("bundled.ant.not.found"));
|
||||
registerJavaFxPackagerError(JavaFXCommonBundle.message("bundled.ant.not.found"));
|
||||
return -1;
|
||||
}
|
||||
final ArrayList<String> commands = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user