Browse files

* removed unused code from RIM application

* moved build config to example file
  • Loading branch information...
1 parent 4994bf7 commit 764deaaee45f59219717387d02e6b204453a14f8 @larsburgess larsburgess committed Jun 25, 2009
View
1 .gitignore
@@ -43,6 +43,7 @@ ABLD.BAT
.cproject
#*.hlp
*.hrh
+nbproject
platform/android/.metadata/*
platform/android/Rhodes/assets
View
3 nbproject/private/private.properties
@@ -1,3 +0,0 @@
-file.reference.rhodes-apps=C:\\work\\rhodes\\apps
-file.reference.rhodes-platform=C:\\work\\rhodes\\platform
-file.reference.rhodes-rhodes=C:\\work\\rhodes\\rhodes
View
4 nbproject/private/private.xml
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
- <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
-</project-private>
View
34 nbproject/private/rake-d.txt
@@ -1,34 +0,0 @@
-build\:android\:all=build all
-build\:android\:rhobundle=Build RhoBundle for android
-build\:android\:rhodes=Build Rhodes for android
-build\:android\:rubyvm=Build RubyVM for android
-build\:bb\:rhobundle=Build rhoBundle
-build\:bb\:rhodes=Build rhodes
-build\:bb\:rubyvm=Build RubyVM
-build\:bundle\:noxruby=
-build\:bundle\:xruby=
-clean\:bb\:all=Clean all
-clean\:bb\:packaged=Clean packaged files
-clean\:bb\:preverified=Clean preverified jars
-clean\:bb\:tempdir=Clean temp dir
-config\:android=
-config\:bb=Sign cod files automatically
-config\:checkbb=
-config\:common=
-device\:android\:debug=build self signed for debug
-device\:android\:production=build unsigned for production
-device\:bb\:dev=Build and package dev for device
-device\:bb\:production=Build and package for production
-device\:bb\:rhobundle=Build and package dev rhobundle for device
-get_version=Get versions
-package\:android=
-package\:bb\:dev=Package all dev (each part in separate package)
-package\:bb\:production=Package all production (all parts in one package)
-package\:bb\:rhobundle=Package rhoBundle
-package\:bb\:rhodes=Package rhodesApp
-package\:bb\:rubyvm=Package rubyVM
-prebuild_mac=Update prebuild binaries on mac
-prebuild_win=Update prebuild binaries on windows
-run\:android=build and launch emulator
-run\:bb=Builds everything, loads and starts sim
-set_version[version]=Set version
View
9 nbproject/project.properties
@@ -1,9 +0,0 @@
-apps.dir=${file.reference.rhodes-apps}
-file.reference.rhodes-apps=apps
-file.reference.rhodes-platform=platform
-file.reference.rhodes-rhodes=rhodes
-main.file=
-platform.active=Ruby
-platform.dir=${file.reference.rhodes-platform}
-source.encoding=UTF-8
-src.dir=${file.reference.rhodes-rhodes}
View
15 nbproject/project.xml
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://www.netbeans.org/ns/project/1">
- <type>org.netbeans.modules.ruby.rubyproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/ruby-project/1">
- <name>Rhodes-Unstable</name>
- <source-roots>
- <root id="src.dir"/>
- <root id="platform.dir"/>
- <root id="apps.dir"/>
- </source-roots>
- <test-roots/>
- </data>
- </configuration>
-</project>
View
33 platform/bb/rhodes/src/rhomobile/RhodesApplication.java
@@ -316,9 +316,6 @@ public void deactivate() {
class CMainScreen extends MainScreen{
private Vector menuItems = new Vector();
-
- // required so we can open links!
- private MenuItem linkOpener = null;
private MenuItem homeItem = new MenuItem(RhodesApplication.LABEL_HOME, 200000, 10) {
public void run() {
@@ -462,10 +459,6 @@ public Vector getMenuItems() {
public void setMenuItems(Vector menuItems) {
this.menuItems = menuItems;
}
-
- public MenuItem getLinkOpener() {
- return linkOpener;
- }
}
private void doStartupWork() {
@@ -855,31 +848,5 @@ public void run() {
}
}
}
-
- public class HyperlinkField extends LabelField
- {
- private String mUrl;
- private MenuItem mGetLinkMenuItem;
-
- public HyperlinkField(String label, long style, String url)
- {
- super(label, style | FOCUSABLE);
- Font font = this.getFont().derive(Font.UNDERLINED);
- setFont(font);
-
- mUrl = url;
-
- mGetLinkMenuItem = new MenuItem("Get Link", 0, 0) {
- public void run() {
- Browser.getDefaultSession().displayPage(mUrl);
- }
- };
- }
-
- public HyperlinkField(String label, String url) {
- this(label, 0, url);
- }
- }
-
}
View
0 rhobuild.yml → rhobuild.yml.example
File renamed without changes.

0 comments on commit 764deaa

Please sign in to comment.