mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
@NotNull
This commit is contained in:
@@ -270,6 +270,7 @@ public abstract class MasterDetailsComponent implements Configurable, DetailsCom
|
||||
return new Dimension(800, 600);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public JComponent createComponent() {
|
||||
reInitWholePanelIfNeeded();
|
||||
|
||||
|
||||
@@ -753,6 +753,7 @@ public class Tree extends JTree implements ComponentWithEmptyText, ComponentWith
|
||||
UIUtil.setLineStyleAngled(this);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public <T> T[] getSelectedNodes(Class<T> nodeType, @Nullable NodeFilter<T> filter) {
|
||||
TreePath[] paths = getSelectionPaths();
|
||||
if (paths == null) return (T[])Array.newInstance(nodeType, 0);
|
||||
|
||||
Reference in New Issue
Block a user