当前位置: 首页>>代码示例>>Java>>正文


Java ColorDescriptor类代码示例

本文整理汇总了Java中com.intellij.openapi.options.colors.ColorDescriptor的典型用法代码示例。如果您正苦于以下问题:Java ColorDescriptor类的具体用法?Java ColorDescriptor怎么用?Java ColorDescriptor使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ColorDescriptor类属于com.intellij.openapi.options.colors包,在下文中一共展示了ColorDescriptor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
@Override
public ColorDescriptor[] getColorDescriptors() {
    log.info("Returning empty Color Descriptor.");

    return ColorDescriptor.EMPTY_ARRAY;
}
 
开发者ID:SlalomConsulting,项目名称:sutr-io,代码行数:8,代码来源:SutrColorSettingsPage.java

示例2: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@Override
@NotNull
public ColorDescriptor[] getColorDescriptors() {
  // todo: make preview for it

  final ColorKey[] colorKeys = XmlTagTreeHighlightingColors.getColorKeys();
  final ColorDescriptor[] colorDescriptors = new ColorDescriptor[colorKeys.length];

  for (int i = 0; i < colorDescriptors.length; i++) {
    colorDescriptors[i] = new ColorDescriptor(OptionsBundle.message("options.html.attribute.descriptor.tag.tree", i + 1),
                                              colorKeys[i], ColorDescriptor.Kind.BACKGROUND);
  }

  return colorDescriptors;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:16,代码来源:HTMLColorsPage.java

示例3: apply

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
public static void apply() {
  final EditorColorsScheme defaultScheme = getCurrentSchemeForCurrentUITheme();
  final EditorColorsScheme globalScheme = EditorColorsManagerImpl.getInstance().getGlobalScheme();
  for (final ColorDescriptor descriptor : DESCRIPTORS) {
    defaultScheme.setColor(descriptor.getKey(), globalScheme.getColor(descriptor.getKey()));
  }
  ((AbstractColorsScheme) defaultScheme).setSaveNeeded(true);


  for (final Project project : ProjectManager.getInstance().getOpenProjects()) {
    FileStatusManager.getInstance(project).fileStatusesChanged();
  }
}
 
开发者ID:ChrisRM,项目名称:material-theme-jetbrains,代码行数:14,代码来源:MTFileColorsPage.java

示例4: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
@Override
public ColorDescriptor[] getColorDescriptors() {
  return new ColorDescriptor[]{
      new ColorDescriptor(MaterialThemeBundle.message("MTColorForm.background"), null, null)
  };
}
 
开发者ID:ChrisRM,项目名称:material-theme-jetbrains,代码行数:8,代码来源:MTCustomColorsProvider.java

示例5: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
public ColorDescriptor[] getColorDescriptors() {
  // todo: make preview for it

  final ColorKey[] colorKeys = XmlTagTreeHighlightingColors.getColorKeys();
  final ColorDescriptor[] colorDescriptors = new ColorDescriptor[colorKeys.length];

  for (int i = 0; i < colorDescriptors.length; i++) {
    colorDescriptors[i] = new ColorDescriptor(OptionsBundle.message("options.html.attribute.descriptor.tag.tree", i + 1),
                                              colorKeys[i], ColorDescriptor.Kind.BACKGROUND);
  }

  return colorDescriptors;
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:15,代码来源:HTMLColorsPage.java

示例6: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@Override
@Nonnull
public ColorDescriptor[] getColorDescriptors() {
  return new ColorDescriptor[] {
          new ColorDescriptor(OptionsBundle.message("options.java.attribute.descriptor.recursive.call"), DebuggerColors.RECURSIVE_CALL_ATTRIBUTES, ColorDescriptor.Kind.BACKGROUND)
  };
}
 
开发者ID:consulo,项目名称:consulo,代码行数:8,代码来源:DebuggerColorsPage.java

示例7: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
@Override
public ColorDescriptor[] getColorDescriptors() {
    return ColorDescriptor.EMPTY_ARRAY;
}
 
开发者ID:CouleeApps,项目名称:TS-IJ,代码行数:6,代码来源:TSColorSettingsPage.java

示例8: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
@Override
public ColorDescriptor[] getColorDescriptors() {
  return ColorDescriptor.EMPTY_ARRAY;
}
 
开发者ID:ant-druha,项目名称:AppleScript-IDEA,代码行数:6,代码来源:AppleScriptColorsAndFontsPage.java

示例9: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
@Override
public ColorDescriptor[] getColorDescriptors() {
	return ColorDescriptor.EMPTY_ARRAY;
}
 
开发者ID:xylo,项目名称:intellij-postfix-templates,代码行数:6,代码来源:CptColorSettingsPage.java

示例10: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
@Override
public ColorDescriptor[] getColorDescriptors() {
    return new ColorDescriptor[0];
}
 
开发者ID:machaval,项目名称:mule-intellij-plugins,代码行数:6,代码来源:MelColorSettingsPage.java

示例11: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@Override
@NotNull
public ColorDescriptor[] getColorDescriptors() {
    return new ColorDescriptor[0];
}
 
开发者ID:internetisalie,项目名称:lua-for-idea,代码行数:6,代码来源:LuaColorsPage.java

示例12: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
public ColorDescriptor[] getColorDescriptors() {
    return ColorDescriptor.EMPTY_ARRAY;
}
 
开发者ID:Tirke,项目名称:cup-plugin,代码行数:5,代码来源:CupColorSettingsPage.java

示例13: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
/**
 * Method returns empty color descriptors array, no information is available
 *
 * @return empty array
 */
@NotNull
@Override
public ColorDescriptor[] getColorDescriptors() {
    return ColorDescriptor.EMPTY_ARRAY;
}
 
开发者ID:bzixilu,项目名称:dotplugin,代码行数:11,代码来源:DotColorSettingsPage.java

示例14: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@Override
@NotNull
public ColorDescriptor[] getColorDescriptors() {
  return ColorDescriptor.EMPTY_ARRAY;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:JavaColorSettingsPage.java

示例15: getColorDescriptors

import com.intellij.openapi.options.colors.ColorDescriptor; //导入依赖的package包/类
@NotNull
public ColorDescriptor[] getColorDescriptors() {
  return new ColorDescriptor[] {
    new ColorDescriptor(OptionsBundle.message("options.java.attribute.descriptor.recursive.call"), DebuggerColors.RECURSIVE_CALL_ATTRIBUTES, ColorDescriptor.Kind.BACKGROUND)
  };
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:DebuggerColorsPage.java


注:本文中的com.intellij.openapi.options.colors.ColorDescriptor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。