Deprecate the old designer's classes

This commit is contained in:
Juan Martín Sotuyo Dodero
2017-11-23 00:39:43 -03:00
parent cbef7a5602
commit a95b2a6d85
5 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import javax.swing.JTextPane;
import net.sourceforge.pmd.lang.ast.Node;
@Deprecated
public class CodeEditorTextPane extends JTextPane implements LineGetter {
private String[] getLines() {

View File

@ -24,6 +24,7 @@ import net.sourceforge.pmd.PMD;
* This class is responsible for creating the contentpanel for the Create Rule
* XML Frame.
*/
@Deprecated
public class CreateXMLRulePanel extends JPanel implements ActionListener {
private JTextField rulenameField = new JTextField(30);

View File

@ -29,6 +29,7 @@ import net.sourceforge.pmd.lang.dfa.DataFlowNode;
import net.sourceforge.pmd.lang.dfa.VariableAccess;
import net.sourceforge.pmd.util.StringUtil;
@Deprecated
public class DFAPanel extends JComponent implements ListSelectionListener {
public static class DFACanvas extends JPanel {

View File

@ -124,6 +124,7 @@ import net.sourceforge.pmd.lang.symboltable.Scope;
import net.sourceforge.pmd.lang.symboltable.ScopedNode;
import net.sourceforge.pmd.lang.xpath.Initializer;
@Deprecated
public class Designer implements ClipboardOwner {
private boolean exitOnClose = true;

View File

@ -4,6 +4,7 @@
package net.sourceforge.pmd.util.designer;
@Deprecated
public interface LineGetter {
String getLine(int number);
}