This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setListAdapter(new BaseAdapter() { | |
public int getCount() { | |
return expenses.size(); | |
} | |
public Object getItem(int position) { | |
return expenses.get(position); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<junit fork="yes" printsummary="yes"> | |
<classpath refid="emma.classpath" /> | |
<!-- general stuff --> | |
<classpath> | |
<!-- the test classes. --> | |
<pathelement location="bin" /> | |
<!-- contains junit and other dependencies --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<repository name="myapp-repo:0" > | |
<rule name="app/myapp" > | |
<!-- this line is required by nimble to build the rule and install it --> | |
<req name="builder/primordial.builder" /> | |
<!-- pre-load my known osgi service requirements --> | |
<req name="osgi.service/component" /> | |
<req name="osgi.service/cm" /> | |
<req name="osgi.service/http" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package helloworld; | |
import com.vaadin.Application; | |
import com.vaadin.ui.Label; | |
import com.vaadin.ui.Window; | |
public class HelloWorldApplication extends Application { | |
@Override | |
public void init() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vaadin.osgi; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.net.URL; | |
import java.util.Map; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServlet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vaadin.osgi; | |
import java.util.HashSet; | |
import java.util.Set; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpSession; | |
import javax.servlet.http.HttpSessionEvent; | |
import javax.servlet.http.HttpSessionListener; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bundle-SymbolicName: helloworld | |
Bundle-Version: 1.0.0 | |
Service-Component: helloworld;\ | |
provide:=com.vaadin.Application;\ | |
factory:=vaadin.app;\ | |
implementation:=helloworld.HelloWorldApplication | |
Private-Package: helloworld |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bundle-SymbolicName: helloworld.theme | |
Include-Resource: etc/theme | |
Export-Package: VAADIN.themes.helloworld | |
Fragment-Host: com.vaadin | |
Bundle-Version: 6.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package helloworld; | |
import com.vaadin.Application; | |
import com.vaadin.ui.Label; | |
import com.vaadin.ui.Window; | |
public class HelloWorldApplication extends Application { | |
@Override | |
public void init() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vaadin.osgi; | |
import java.util.Dictionary; | |
import java.util.HashMap; | |
import java.util.HashSet; | |
import java.util.Hashtable; | |
import java.util.Map; | |
import java.util.Set; | |
import javax.servlet.http.HttpServlet; |
OlderNewer