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


Java LibraryEditorComponent类代码示例

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


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

示例1: LibraryPropertiesEditorBase

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
protected LibraryPropertiesEditorBase(final LibraryEditorComponent<P> editorComponent,
                                      T libraryType, @Nullable String editButtonText) {
  myEditorComponent = editorComponent;
  myLibraryType = libraryType;
  updateDescription();
  if (editButtonText != null) {
    myEditButton.setText(UIUtil.replaceMnemonicAmpersand(editButtonText));
  }
  myEditButton.setVisible(!myEditorComponent.isNewLibrary());
  myEditButton.addActionListener(new ActionListener() {
    @Override
    public void actionPerformed(ActionEvent e) {
      edit();
    }
  });
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:17,代码来源:LibraryPropertiesEditorBase.java

示例2: createDownloadableLibraryEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@NotNull
@Override
public LibraryPropertiesEditor createDownloadableLibraryEditor(@NotNull DownloadableLibraryDescription description,
                                                               @NotNull LibraryEditorComponent<LibraryVersionProperties> editorComponent,
                                                               @NotNull DownloadableLibraryType libraryType) {
  return new DownloadableLibraryPropertiesEditor(description, editorComponent, libraryType);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:8,代码来源:DownloadableLibraryServiceImpl.java

示例3: DownloadableLibraryPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
public DownloadableLibraryPropertiesEditor(DownloadableLibraryDescription description,
                                            LibraryEditorComponent<LibraryVersionProperties> editorComponent,
                                            DownloadableLibraryType libraryType) {
  super(editorComponent, libraryType, "Change &Version...");
  myDescription = description;
  myLibraryType = libraryType;
  myCurrentVersionString = myEditorComponent.getProperties().getVersionString();
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:9,代码来源:DownloadableLibraryPropertiesEditor.java

示例4: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Nullable
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<MuleLibraryProperties> libraryEditorComponent)
{
    return null;
}
 
开发者ID:machaval,项目名称:mule-intellij-plugins,代码行数:7,代码来源:MuleLibraryType.java

示例5: createDownloadableLibraryEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@NotNull
public abstract LibraryPropertiesEditor createDownloadableLibraryEditor(@NotNull DownloadableLibraryDescription description,
                                 @NotNull LibraryEditorComponent<LibraryVersionProperties> editorComponent,
                                 @NotNull DownloadableLibraryType libraryType);
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:DownloadableLibraryService.java

示例6: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<LibraryVersionProperties> editorComponent) {
  return DownloadableLibraryService.getInstance().createDownloadableLibraryEditor(myLibraryDescription, editorComponent, this);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:DownloadableLibraryType.java

示例7: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Nullable
public abstract LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<P> editorComponent);
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:3,代码来源:LibraryType.java

示例8: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Nullable
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<DummyLibraryProperties> editorComponent) {
  return null;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:PythonLibraryType.java

示例9: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<RepositoryLibraryProperties> component) {
  return new RepositoryLibraryWithDescriptionEditor(component);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:RepositoryLibraryType.java

示例10: RepositoryLibraryWithDescriptionEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
public RepositoryLibraryWithDescriptionEditor(LibraryEditorComponent<RepositoryLibraryProperties> editorComponent) {
  super(editorComponent, RepositoryLibraryType.getInstance(), null);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:4,代码来源:RepositoryLibraryWithDescriptionEditor.java

示例11: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<DummyLibraryProperties> component) {
    return null;
}
 
开发者ID:shekn-itrtch,项目名称:DLangPlugin,代码行数:5,代码来源:DLangLibraryType.java

示例12: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Nullable
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<LibraryVersionProperties> editorComponent) {
  return null;
}
 
开发者ID:pantsbuild,项目名称:intellij-pants-plugin,代码行数:6,代码来源:PythonLibraryType.java

示例13: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<RepositoryLibraryProperties> component) {
  return new RepositoryLibraryEditor(component, this);
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:5,代码来源:RepositoryLibraryType.java

示例14: RepositoryLibraryEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
public RepositoryLibraryEditor(LibraryEditorComponent<RepositoryLibraryProperties> component, RepositoryLibraryType libraryType) {
  super(component, libraryType, null);
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:4,代码来源:RepositoryLibraryEditor.java

示例15: createPropertiesEditor

import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<DummyLibraryProperties> component) {
  return null;
}
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:5,代码来源:HaxeLibraryType.java


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