本文整理汇总了Java中com.intellij.application.options.CodeStyleAbstractConfigurable类的典型用法代码示例。如果您正苦于以下问题:Java CodeStyleAbstractConfigurable类的具体用法?Java CodeStyleAbstractConfigurable怎么用?Java CodeStyleAbstractConfigurable使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CodeStyleAbstractConfigurable类属于com.intellij.application.options包,在下文中一共展示了CodeStyleAbstractConfigurable类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createSettingsPage
import com.intellij.application.options.CodeStyleAbstractConfigurable; //导入依赖的package包/类
@NotNull
@Override
public Configurable createSettingsPage(CodeStyleSettings settings, CodeStyleSettings originalSettings) {
return new CodeStyleAbstractConfigurable(settings, originalSettings, "Neos Fusion") {
@Override
protected CodeStyleAbstractPanel createPanel(CodeStyleSettings codeStyleSettings) {
return new FusionCodeStyleMainPanel(getCurrentSettings(), codeStyleSettings);
}
@Nullable
@Override
public String getHelpTopic() {
return null;
}
};
}
示例2: getSelectedPanel
import com.intellij.application.options.CodeStyleAbstractConfigurable; //导入依赖的package包/类
@Nullable
public CodeStyleAbstractPanel getSelectedPanel() {
if (myTab instanceof CodeStyleAbstractConfigurable) {
return ((CodeStyleAbstractConfigurable)myTab).getPanel();
}
return null;
}
示例3: updatePreview
import com.intellij.application.options.CodeStyleAbstractConfigurable; //导入依赖的package包/类
public void updatePreview() {
if (myTab instanceof CodeStyleAbstractConfigurable) {
((CodeStyleAbstractConfigurable)myTab).getPanel().onSomethingChanged();
}
}
示例4: setModel
import com.intellij.application.options.CodeStyleAbstractConfigurable; //导入依赖的package包/类
public void setModel(final CodeStyleSchemesModel model) {
if (myTab instanceof CodeStyleAbstractConfigurable) {
((CodeStyleAbstractConfigurable)myTab).setModel(model);
}
}
示例5: onSomethingChanged
import com.intellij.application.options.CodeStyleAbstractConfigurable; //导入依赖的package包/类
public void onSomethingChanged() {
if (myTab instanceof CodeStyleAbstractConfigurable) {
((CodeStyleAbstractConfigurable)myTab).onSomethingChanged();
}
}
示例6: setLanguageSelector
import com.intellij.application.options.CodeStyleAbstractConfigurable; //导入依赖的package包/类
public void setLanguageSelector(final LanguageSelector langSelector) {
if (myTab instanceof CodeStyleAbstractConfigurable) {
CodeStyleAbstractConfigurable configurable = (CodeStyleAbstractConfigurable)myTab;
configurable.getPanel().setLanguageSelector(langSelector);
}
}
示例7: setLanguage
import com.intellij.application.options.CodeStyleAbstractConfigurable; //导入依赖的package包/类
public void setLanguage(Language language) {
if (myTab instanceof CodeStyleAbstractConfigurable) {
CodeStyleAbstractConfigurable configurable = (CodeStyleAbstractConfigurable)myTab;
configurable.getPanel().setPanelLanguage(language);
}
}