當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。