1.1 --- a/mylyn-suite/module1/src/org/apidesign/listbundles/ListBndsl.java Mon Oct 19 20:34:59 2009 +0200
1.2 +++ b/mylyn-suite/module1/src/org/apidesign/listbundles/ListBndsl.java Fri Feb 05 18:38:28 2010 +0100
1.3 @@ -22,9 +22,8 @@
1.4 import org.openide.DialogDisplayer;
1.5 import org.openide.NotifyDescriptor;
1.6 import org.osgi.framework.Bundle;
1.7 -
1.8 +// BEGIN: netbinox.mylyn.listbundles
1.9 public final class ListBndsl implements ActionListener {
1.10 -
1.11 public void actionPerformed(ActionEvent e) {
1.12 StringBuilder sb = new StringBuilder();
1.13 for (Bundle b : Installer.bc.getBundles()) {
1.14 @@ -34,6 +33,9 @@
1.15 sb.append(b.getSymbolicName());
1.16 sb.append("\n");
1.17 }
1.18 - DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(sb));
1.19 + DialogDisplayer.getDefault().notify(
1.20 + new NotifyDescriptor.Message(sb)
1.21 + );
1.22 }
1.23 }
1.24 +// END: netbinox.mylyn.listbundles