本文整理汇总了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();
}
});
}
示例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);
}
示例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();
}
示例4: createPropertiesEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Nullable
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<MuleLibraryProperties> libraryEditorComponent)
{
return null;
}
示例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);
示例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);
}
示例7: createPropertiesEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Nullable
public abstract LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<P> editorComponent);
示例8: createPropertiesEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Nullable
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<DummyLibraryProperties> editorComponent) {
return null;
}
示例9: createPropertiesEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<RepositoryLibraryProperties> component) {
return new RepositoryLibraryWithDescriptionEditor(component);
}
示例10: RepositoryLibraryWithDescriptionEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
public RepositoryLibraryWithDescriptionEditor(LibraryEditorComponent<RepositoryLibraryProperties> editorComponent) {
super(editorComponent, RepositoryLibraryType.getInstance(), null);
}
示例11: createPropertiesEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<DummyLibraryProperties> component) {
return null;
}
示例12: createPropertiesEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Nullable
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<LibraryVersionProperties> editorComponent) {
return null;
}
示例13: createPropertiesEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<RepositoryLibraryProperties> component) {
return new RepositoryLibraryEditor(component, this);
}
示例14: RepositoryLibraryEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
public RepositoryLibraryEditor(LibraryEditorComponent<RepositoryLibraryProperties> component, RepositoryLibraryType libraryType) {
super(component, libraryType, null);
}
示例15: createPropertiesEditor
import com.intellij.openapi.roots.libraries.ui.LibraryEditorComponent; //导入依赖的package包/类
@Override
public LibraryPropertiesEditor createPropertiesEditor(@NotNull LibraryEditorComponent<DummyLibraryProperties> component) {
return null;
}