private PackagesNotificationPanel packagesNotificationPanel;
private Project myProject;
public PhoneGapPluginsView(@NotNull Project project) {
myProject = project;
packagesNotificationPanel = new PackagesNotificationPanel();
myPanel = new PhoneGapInstalledPluginsPanel(project, packagesNotificationPanel);
myPanel.setPreferredSize(new Dimension(400, 400));
JPanel wrapper = new JPanel(new BorderLayout());
wrapper.setBorder(IdeBorderFactory.createTitledBorder("Plugins", false));
wrapper.add(FormBuilder.createFormBuilder().addComponent(myPanel).addComponent(packagesNotificationPanel.getComponent()).getPanel());