本文整理汇总了Java中com.intellij.codeInsight.CodeInsightBundle.message方法的典型用法代码示例。如果您正苦于以下问题:Java CodeInsightBundle.message方法的具体用法?Java CodeInsightBundle.message怎么用?Java CodeInsightBundle.message使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.codeInsight.CodeInsightBundle
的用法示例。
在下文中一共展示了CodeInsightBundle.message方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: AbstractGenerateEqualsWizard
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
public AbstractGenerateEqualsWizard(Project project, Builder<C, M, I> builder) {
super(CodeInsightBundle.message("generate.equals.hashcode.wizard.title"), project);
myBuilder = builder;
myClass = builder.getPsiClass();
myClassFields = builder.getClassFields();
myFieldsToHashCode = builder.getFieldsToHashCode();
myFieldsToNonNull = builder.getFieldsToNonNull();
myEqualsPanel = builder.getEqualsPanel();
myHashCodePanel = builder.getHashCodePanel();
myNonNullPanel = builder.getNonNullPanel();
addTableListeners();
addSteps();
init();
updateButtons();
}
示例2: createCenterPanel
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Nullable
@Override
protected JComponent createCenterPanel() {
JPanel panel = new JPanel();
BoxLayout layout = new BoxLayout(panel, BoxLayout.Y_AXIS);
panel.setLayout(layout);
panel.add(new JLabel(myText));
myOnlyVcsCheckBox = new JCheckBox(CodeInsightBundle.message("process.scope.changed.files"));
boolean lastRunVcsChangedTextEnabled = myLastRunOptions.getLastTextRangeType() == TextRangeType.VCS_CHANGED_TEXT;
myOnlyVcsCheckBox.setEnabled(myContextHasChanges);
myOnlyVcsCheckBox.setSelected(myContextHasChanges && lastRunVcsChangedTextEnabled);
myOnlyVcsCheckBox.setBorder(new EmptyBorder(0, 10 , 0, 0));
panel.add(myOnlyVcsCheckBox);
return panel;
}
示例3: doOKAction
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Override
protected void doOKAction() {
if (!createPropertiesFileIfNotExists()) return;
Collection<PropertiesFile> propertiesFiles = getAllPropertiesFiles();
for (PropertiesFile propertiesFile : propertiesFiles) {
IProperty existingProperty = propertiesFile.findPropertyByKey(getKey());
final String propValue = myValue.getText();
if (existingProperty != null && !Comparing.strEqual(existingProperty.getValue(), propValue)) {
final String messageText = CodeInsightBundle.message("i18nize.dialog.error.property.already.defined.message", getKey(), propertiesFile.getName());
final int code = Messages.showOkCancelDialog(myProject,
messageText,
CodeInsightBundle.message("i18nize.dialog.error.property.already.defined.title"),
null);
if (code == Messages.CANCEL) {
return;
}
}
}
super.doOKAction();
}
示例4: getChooserTitle
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@NotNull
@Override
protected String getChooserTitle(PsiElement sourceElement, String name, int length) {
if (TestFinderHelper.isTest(sourceElement)) {
return CodeInsightBundle.message("goto.test.chooserTitle.subject", name, length);
}
else {
return CodeInsightBundle.message("goto.test.chooserTitle.test", name, length);
}
}
示例5: getFamilyName
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Override
public String getFamilyName() {
return CodeInsightBundle.message("intention.add.annotation.family");
}
开发者ID:stylismo,项目名称:nullability-annotations-inspection,代码行数:5,代码来源:AddPackageInfoWithNullabilityDefaultsFix.java
示例6: getText
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Nls
@NotNull
@Override
public String getText() {
return CodeInsightBundle.message("configure.code.style.on.fragment.dialog.title");
}
示例7: getTemplateDescription
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Override
public String getTemplateDescription() {
return CodeInsightBundle.message("surround.with.parenthesis.template");
}
示例8: getFamilyName
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Override
@NotNull
public String getFamilyName() {
return CodeInsightBundle.message("intention.split.declaration.family");
}
示例9: getTemplateDescription
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
public String getTemplateDescription() {
return CodeInsightBundle.message("surround.with.ifelse.template");
}
示例10: GenerateGetterHandler
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
public GenerateGetterHandler() {
super(CodeInsightBundle.message("generate.getter.fields.chooser.title"));
}
示例11: getFamilyName
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Override
@NotNull
public String getFamilyName() {
return CodeInsightBundle.message("intention.add.override.annotation.family");
}
示例12: HtmlContextType
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
public HtmlContextType() {
super("HTML", CodeInsightBundle.message("dialog.edit.template.checkbox.html"), StdFileTypes.HTML);
}
示例13: getPresentableName
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Override
public String getPresentableName() {
return CodeInsightBundle.message("macro.file.name.without.extension");
}
示例14: getCaption
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Override
public String getCaption(int size) {
return myClass.isInterface()
? CodeInsightBundle.message("goto.implementation.chooserTitle", myClass.getName(), size)
: DaemonBundle.message("navigation.title.subclass", myClass.getName(), size);
}
示例15: getFamilyName
import com.intellij.codeInsight.CodeInsightBundle; //导入方法依赖的package包/类
@Override
@NotNull
public String getFamilyName() {
return CodeInsightBundle.message("intention.add.on.demand.static.import.family");
}