java: deprecated APIs dropped

This commit is contained in:
Roman Shevchenko
2013-11-12 11:11:49 +01:00
parent 1efaeea95f
commit bc6f0908a7
45 changed files with 46 additions and 379 deletions
@@ -1,76 +0,0 @@
/*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intellij.ui;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.PackageChooser;
import com.intellij.openapi.ui.SplitterProportionsData;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiType;
import com.intellij.util.Function;
import com.intellij.util.containers.Convertor;
import com.intellij.util.ui.Table;
import com.intellij.ui.treeStructure.treetable.TreeTable;
import javax.swing.*;
import javax.swing.table.TableCellRenderer;
import javax.swing.tree.TreeCellRenderer;
import javax.swing.tree.TreePath;
import java.awt.*;
/** @deprecated to remove in IDEA 13 */
@SuppressWarnings({"UnusedDeclaration", "deprecation"})
public interface UIHelper {
void installToolTipHandler(JTree tree);
void installToolTipHandler(JTable table);
void installEditSourceOnDoubleClick(JTree tree);
void installEditSourceOnDoubleClick(TreeTable tree);
void installEditSourceOnDoubleClick(Table table);
void installTreeTableSpeedSearch(TreeTable treeTable);
void installTreeTableSpeedSearch(TreeTable treeTable, Convertor<TreePath, String> convertor);
void installTreeSpeedSearch(JTree tree);
void installTreeSpeedSearch(JTree tree, Convertor<TreePath, String> convertor);
void installListSpeedSearch(JList list);
void installListSpeedSearch(JList list, Function<Object, String> elementTextDelegate);
void installEditSourceOnEnterKeyHandler(JTree tree);
SplitterProportionsData createSplitterProportionsData();
TableCellRenderer createPsiElementRenderer(PsiElement psiElement, Project project);
TreeCellRenderer createHighlightableTreeCellRenderer();
void drawDottedRectangle(Graphics g, int x, int y, int i, int i1);
void installSmartExpander(JTree tree);
void installSelectionSaver(JTree tree);
TextComponent createTypedTextField(final String text, PsiType type, PsiElement context, final Project project);
PackageChooser createPackageChooser(String title, Project project);
}