本文整理汇总了Java中org.jetbrains.android.util.AndroidBundle.message方法的典型用法代码示例。如果您正苦于以下问题:Java AndroidBundle.message方法的具体用法?Java AndroidBundle.message怎么用?Java AndroidBundle.message使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.jetbrains.android.util.AndroidBundle
的用法示例。
在下文中一共展示了AndroidBundle.message方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getErrorMessage
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
@Override
public String getErrorMessage(@Nullable String s, ConvertContext context) {
if (s != null) {
String message = ResourceNameValidator.create(false, ResourceFolderType.VALUES).getErrorText(s);
if (message != null) {
return message;
}
}
return AndroidBundle.message("invalid.resource.name.error", s);
}
示例2: AndroidLintIllegalResourceRefInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintIllegalResourceRefInspection() {
super(AndroidBundle.message("android.lint.inspections.illegal.resource.ref"), ManifestDetector.ILLEGAL_REFERENCE);
}
示例3: AndroidLintTypographyOtherInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintTypographyOtherInspection() {
super(AndroidBundle.message("android.lint.inspections.typography.other"), TypographyDetector.OTHER);
}
示例4: AndroidLintMenuTitleInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintMenuTitleInspection() {
super(AndroidBundle.message("android.lint.inspections.menu.title"), TitleDetector.ISSUE);
}
示例5: AndroidLintButtonCaseInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintButtonCaseInspection() {
super(AndroidBundle.message("android.lint.inspections.button.case"), ButtonDetector.CASE);
}
示例6: AndroidLintIconLauncherShapeInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintIconLauncherShapeInspection() {
super(AndroidBundle.message("android.lint.inspections.icon.launcher.shape"), IconDetector.ICON_LAUNCHER_SHAPE);
}
示例7: AndroidLintLongLogTagInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintLongLogTagInspection() {
super(AndroidBundle.message("android.lint.inspections.long.log.tag"), LogDetector.LONG_TAG);
}
示例8: getCommandName
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
@Override
protected String getCommandName() {
return AndroidBundle.message("android.inline.style.command.name", myStyleName);
}
示例9: AndroidLintAddJavascriptInterfaceInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintAddJavascriptInterfaceInspection() {
super(AndroidBundle.message("android.lint.inspections.add.javascript.interface"), AddJavascriptInterfaceDetector.ISSUE);
}
示例10: AndroidLintSpUsageInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintSpUsageInspection() {
super(AndroidBundle.message("android.lint.inspections.sp.usage"), PxUsageDetector.DP_ISSUE);
}
示例11: getCommandName
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
@Override
protected String getCommandName() {
return AndroidBundle.message("new.typed.resource.command.name", myResourceType);
}
示例12: AndroidLintGrantAllUrisInspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintGrantAllUrisInspection() {
super(AndroidBundle.message("android.lint.inspections.grant.all.uris"), SecurityDetector.OPEN_PROVIDER);
}
示例13: getName
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
@NotNull
@Override
public String getName() {
return AndroidBundle.message("android.lint.fix.convert.to.dp");
}
示例14: AndroidLintUseAlpha2Inspection
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
public AndroidLintUseAlpha2Inspection() {
super(AndroidBundle.message("android.lint.inspections.use.alpha2"), LocaleFolderDetector.USE_ALPHA_2);
}
示例15: getCommandName
import org.jetbrains.android.util.AndroidBundle; //导入方法依赖的package包/类
@Override
protected String getCommandName() {
return AndroidBundle.message("new.resource.dir.command.name");
}