From 114a878c64ce6f8223cfd22d76a20eb16d177e5e Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../java/app_templates/superwaba/.kdev_ignore | 0 languages/java/app_templates/superwaba/Makefile.am | 16 ++ .../java/app_templates/superwaba/src-Makefile | 226 +++++++++++++++++++++ languages/java/app_templates/superwaba/superwaba | 54 +++++ .../app_templates/superwaba/superwaba.kdevtemplate | 166 +++++++++++++++ .../java/app_templates/superwaba/superwaba.png | Bin 0 -> 1100 bytes languages/java/app_templates/superwaba/sw.filelist | 1 + languages/java/app_templates/superwaba/sw.java | 97 +++++++++ languages/java/app_templates/superwaba/sw.kdevelop | 94 +++++++++ 9 files changed, 654 insertions(+) create mode 100644 languages/java/app_templates/superwaba/.kdev_ignore create mode 100644 languages/java/app_templates/superwaba/Makefile.am create mode 100644 languages/java/app_templates/superwaba/src-Makefile create mode 100644 languages/java/app_templates/superwaba/superwaba create mode 100644 languages/java/app_templates/superwaba/superwaba.kdevtemplate create mode 100644 languages/java/app_templates/superwaba/superwaba.png create mode 100644 languages/java/app_templates/superwaba/sw.filelist create mode 100644 languages/java/app_templates/superwaba/sw.java create mode 100644 languages/java/app_templates/superwaba/sw.kdevelop (limited to 'languages/java/app_templates/superwaba') diff --git a/languages/java/app_templates/superwaba/.kdev_ignore b/languages/java/app_templates/superwaba/.kdev_ignore new file mode 100644 index 00000000..e69de29b diff --git a/languages/java/app_templates/superwaba/Makefile.am b/languages/java/app_templates/superwaba/Makefile.am new file mode 100644 index 00000000..8c27b8d5 --- /dev/null +++ b/languages/java/app_templates/superwaba/Makefile.am @@ -0,0 +1,16 @@ +dataFiles = superwaba.png sw.java src-Makefile sw.kdevelop sw.filelist +templateName = superwaba + +### no need to change below: +template_DATA = $(templateName).kdevtemplate +templatedir = ${appwizarddatadir}/templates + +appwizarddatadir = ${kde_datadir}/kdevappwizard +$(templateName).tar.gz: ${dataFiles} + $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} + $(GZIP_COMMAND) -f9 $(templateName).tar + +archivedir = ${appwizarddatadir} +archive_DATA = $(templateName).tar.gz ${templateName}.png + +CLEANFILES = *.tar.gz \ No newline at end of file diff --git a/languages/java/app_templates/superwaba/src-Makefile b/languages/java/app_templates/superwaba/src-Makefile new file mode 100644 index 00000000..84b55ece --- /dev/null +++ b/languages/java/app_templates/superwaba/src-Makefile @@ -0,0 +1,226 @@ +# Makefile template +# +# for using WABA and SUPERWABA on Linux systems +# +# Doug Lawson (dlawson@cablespeed.com) +# Modified for use with KDevelop by Ian Reinhart Geiser + +# Copyright (c) Doug Lawson 2003 +# developed for classes I teach. +# +# may be distributed under GPL +# (http://www.gnu.org/licenses/gpl.html) +# or any other license that allows it to be freely used. +# +# please let me know about any improvements you make + +VERSION = %{VERSION} +# What are we building? We put the names here at the +# top to make it easy to change + +MAINCLASSNAME = %{APPNAME} + +# ExtraClassList will be blank if the app consists of +# only one class +EXTRACLASSLIST = + +# Is there an icon for this program? If there +# is, create an icon argument for exegen +# +# Exegen will automatically look for icons +# so this may not be needed. Run +# java Exegen /? +# for help on Exegen +# +# If you use this line, make sure to un-comment it! +# +# ICONFLAG = /I Icon + +# Like ICONFLAG, height and width may be specified, or +# you may accept the default. On PalmOS, the app will run +# full-screen by default, which is usually what you want. +# +# If you want the same look on PalmOS as on +# Windows CE, you should specify height and width +# +# run +# java Exegen /? +# for more information, or see the docs. +# +# HEIGHT = /h 160 +# WIDTH = /w 160 + +# CAB Options +# The /Z parameter is used to create eight cab files so your application can +# easily be installed in all compatible Windows CE platforms. You may pass, +# optionally, a .swz file with some global and local libraries used by your +# app. For example, if you need to install the TinyLarge.pdb font and also a +# custom database, E.g. mydata.pdb, you must copy all files to the current +# directory, then create a myapp.swz file with the following contents: +# +# [G]TinyLarge.pdb +# [L]mydata.pdb +# +# The [G] denotes a global library (fonts are always global libraries), and the +# [L] denotes a local library. +# The user will then have two options to start the installation process: +# 1. Run the created xxx_install.bat file, or +# 2. If the cab files are available in the internet, the user may launch the +# browser from inside the device, connect to the site and choose the appropriate +# cab file. The browser will then download and install the file. +# The /Z parameter works on in the Windows platform. +SWZFILE = +CABFLAGS = /Z $(SWZFILE) + +# ------------------------------------------------------ +# Most of the stuff below this line will not change +# very often. If you change Java SDKs or re-install +# waba or superwaba, you may need to change it. + +# first, the locations of the various java components. +# On a *NIX system, they will usually be in something +# like the directories listed here. + + +# The flags and arguments here have been developed for use with +# the SUN jdk v1.3. Read your java documentation carefully, +# don't just blindly assume that what I have here will work +# with your setup. + +JAVADIR = %{JAVADIR} +JAVABINDIR = $(JAVADIR)/bin +JAVAC = $(JAVABINDIR)/javac +JAR = $(JAVABINDIR)/jar + +# Java Compiler flags and arguments. For these makefiles, +# it is easiest if we include the CLASSPATH in the command +# line. +JCFLAGS = -classpath $(CLASSPATH) + +JAVA = $(JAVABINDIR)/java +JAVAFLAGS = -classpath $(CLASSPATH) + +APPLETVIEWER = $(JAVABINDIR)/appletviewer +AVFLAGS = -J-classpath -J$(CLASSPATH) + + +# next, where are all the WABA bits and pieces? +WABADIR = %{WABADIR} +WABABINDIR = $(WABADIR)/superwaba/bin +WABAEXTRADIR = $(WABADIR)/superwaba + +################################################################################ +# You should not have to change anything below this line. +################################################################################ +# the classpath will have to tell java where to find the waba stuff. +# +# the CLASSPATH here is set to let java find +# - the classes it needs to produce the executable class files +# - the waba.applet class, Warp.class, and Exegen.class +# +# This strategy works so far, but it may (conceivably) produce a +# conflict at some point. Be warned. You may want to use a CLASSPATH +# that leaves out waba.applet, Warp and/or Exegen. +# +CLASSPATH = $(WABADIR):$(WABAEXTRADIR):$(WABAEXTRADIR)/classes:$(WABABINDIR):. + +# exegen and warp +# +# exegen is the EXEcutable GENerator. It takes the +# main waba/java class (which usually extends MainWindow) +# and makes it into a program that will automagically run +# itself under waba or superwaba on a PalmOS gadget. +# +# Since the palm program has a .prc extension, it is called +# PRCFILE here. +# +# Exegen also creates a .exe file for Window CE +# +# warp is the Waba Application Resource Packager. +# It bundles the classes and other resources into +# a single PALM database file (which is also used +# by the Win CE executable). This file has a .pdb +# extension. In this makefile it is called PDBFILE +# +# The standard waba SDK has only the MS-Windows *.exe files. +# for exegen and warp +# +# Although there are exegen and warp native binaries for Linux, +# they don't seem to work very well. The solution has been to +# write those programs in Java. +# +# for waba, use the java apps +# from http://www.wn.com.au/rnielsen/wextras/ +# (Rob Nielsen). Getting all the paths to fall into the right +# place takes a little tuning, though (which is why this makefile +# is here, I suppose) +# +# For superwaba, the same programs are included in the +# distribution + + +EXEGEN = $(JAVA) $(JAVAFLAGS) Exegen +EXEGENFLAGS = $(HEIGHT) $(WIDTH) $(ICONFLAG) /L /V $(VERSION) $(CABFLAGS) + +WARP = $(JAVA) $(JAVAFLAGS) Warp +WARPFLAGS = c + +MAINCLASS = $(MAINCLASSNAME).class +EXTRACLASSES = $(EXTRACLASSLIST) + +WEBPAGE = $(MAINCLASSNAME).html + +PRCBASENAME = $(MAINCLASSNAME) +PDBBASENAME = $(MAINCLASSNAME) + +PDBFILE = $(PDBBASENAME).pdb +PRCFILE = $(PRCBASENAME).prc + + +all: $(PDBFILE) $(PRCFILE) + +$(PRCFILE): $(PDBFILE) + $(EXEGEN) $(EXEGENFLAGS) $(PRCBASENAME) $(MAINCLASSNAME) $(PDBBASENAME) + +# you may want to change this one so that Warp only handles +# the classes you tell it to (instead of using the wildcard '*.class') +# Use the second pair of lines below, which are commented out. +# +# Note that there is a potential problem if your program generates +# inner classes (which have names like +# 'ClockPanel$SettingsWindow.class'. +# If that is the case, the wildcard *.class filespec is guaranteed to +# include them in the make dependency. + +$(PDBFILE): $(MAINCLASS) $(EXTRACLASSES) + $(WARP) $(WARPFLAGS) $(PDBBASENAME) *.class + +# $(PDBFILE): $(MAINCLASS) $(EXTRACLASSES) +# $(WARP) $(WARPFLAGS) $(PDBBASENAME) $(MAINCLASS) $(EXTRACLASSES) + +# Below, we just tell make how to create foo.class if it can find +# foo.java + +%.class: %.java + $(JAVAC) $(JCFLAGS) $< + +# note that the 'test' target DOES NOT INCLUDE A DEPENDENCY +# for the java classes. This way, you can keep doing tests of the old +# class while you rewrite the source (foo.java). + +test: + echo "running this test does not rebuild any of the targets" ;\ + $(JAVA) $(JAVAFLAGS) waba.applet.Applet $(MAINCLASSNAME) + +# Since I haven't (yet) got the code written to generate the +# web page, target 'applettest' is commented out. If you want +# to create the web page by hand and test it, be my guest. + +# applettest: $(WEBPAGE) +# $(APPLETVIEWER) $(AVFLAGS) $(webpage) + +clean: + rm -f *.class *.pdb *.prc *.lnk + +jar: $(MAINCLASS) $(EXTRACLASSES) + $(JAR) -cvfm $(MAINCLASSNAME).jar $(MAINCLASSNAME).mft $(MAINCLASS) $(EXTRACLASSES) diff --git a/languages/java/app_templates/superwaba/superwaba b/languages/java/app_templates/superwaba/superwaba new file mode 100644 index 00000000..eea98775 --- /dev/null +++ b/languages/java/app_templates/superwaba/superwaba @@ -0,0 +1,54 @@ +# KDE Config File +[General] +Name=SuperWaba +Name[fr]=Une application SuperWaba +Icon=superwaba.png +Category=Java +Comment=A simple template for building SuperWaba Java based apps on WinCE and PalmOS. More information can be found at http://www.superwaba.org +Comment[fr]=Génère un simple modéle d'application JAVA en utilisant SuperWaba pour les environnements WinCE et PalmOS. Plus d'informations peuvent être trouvé à l'URL suivante : http://www.superwaba.org. +FileTemplates=java +ShowFilesAfterGeneration=APPNAME.java +Archive=superwaba.tar.gz + +[JAVA] +Type=value +Value=JAVA +Comment=Path to your java root +Default=/usr/lib/java +ValueType=QString + +[WABA] +Type=value +Value=WABA +Comment=Path to your SuperWaba root +Default=/usr/lib +ValueType=QString + +[GNU] +Type=install archive +Source=%{kdevelop}/template-common/gnu.tar.gz +Dest=%{dest} + +[PROJECT] +Type=install +Source=%{src}/sw.kdevelop +Dest=%{dest}/%{APPNAMELC}.kdevelop + +[FILELIST] +Type=install +Source=%{src}/sw.filelist +Dest=%{dest}/%{APPNAMELC}.filelist + +[MAKEFILE] +Type=install +Source=%{src}/src-Makefile +Dest=%{dest}/Makefile + +[SOURCE] +Type=install +Source=%{src}/sw.java +Dest=%{dest}/%{APPNAME}.java + +[MESSAGE] +Type=Message +Comment=Your application is setup to build. Edit the make targets to customize the file. diff --git a/languages/java/app_templates/superwaba/superwaba.kdevtemplate b/languages/java/app_templates/superwaba/superwaba.kdevtemplate new file mode 100644 index 00000000..a963caac --- /dev/null +++ b/languages/java/app_templates/superwaba/superwaba.kdevtemplate @@ -0,0 +1,166 @@ +# KDE Config File +[General] +Name=SuperWaba +Name[ne]=सà¥à¤ªà¤°à¤µà¤¾à¤­à¤¾ +Icon=superwaba.png +Category=Java +Comment=A simple template for building SuperWaba Java based apps on WinCE and PalmOS. More information can be found at http://www.superwaba.org +Comment[ca]=Una simple plantilla per a construir aplicacions basades en SuperWaba Java per a WinCE i PalmOS. Podeu trobar més informació a http://www.superwaba.org +Comment[da]=En simpel skabelon til at bygge SuperWaba Java baserede programmer pÃ¥ WinCE og PalmOS. Mere information kan findes pÃ¥ http://www.superwaba.org +Comment[de]=Eine einfache Vorlage zum Erstellen von auf Java basierenden SuperWaba-Anwendungen unter WinCE und PalmOS. Weitere Informationen erhalten Sie auf http://www.superwaba.org. +Comment[el]=Ένα απλό Ï€Ïότυπο για την κατασκευή εφαÏμογών SuperWaba Java για τα WinCE και PalmOS. ΠεÏισσότεÏες πληÏοφοÏίες μποÏοÏν να βÏεθοÏν στο http://www.superwaba.org +Comment[es]=Una plantilla sencilla para crear aplicaciones basadas en SuperWaba Java para WinCE y PalmOS. Puede encontrar más información en http://www.superwaba.org +Comment[et]=Lihtne mall rakenduste loomiseks SuperWaba Java põhjal WinCE ja PalmOS'i tarbeks. Rohkem infot annab http://www.superwaba.org +Comment[eu]=WinCE eta PalmOS sistema eragileetan SuperWaba Javan oinarritutako aplikazioak sortzeko txantiloi sinple bat. Informazio gehiagorako: http://www.superwaba.org +Comment[fa]=یک قالب ساده برای ساختن کاربردهای بر مبنای SuperWaba جاوا روی WinCE Ùˆ PalmOS. اطلاعات بیشتر می‌تواند در http://www.superwaba.org یاÙت شود +Comment[fr]=Un modèle simple pour construire des applications basées sur Java SuperWaba pour WinCE et PalmOS. Vous trouverez plus d'informations sur http://www.superwaba.org +Comment[gl]=Un modelo sinxelo para crear aplicacións SuperWaba baseadas en Java para WinCE e PalmOS. Pode atopar máis información en http://www.superwaba.org +Comment[hu]=Egyszerű sablon SuperWaba Java-alkalmazások készítéséhez, WinCE és PalmOS platformra. Részletes információ itt található: http://www.superwaba.org +Comment[it]=Un semplice modello per compilare applicazioni Java SuperWaba basato su WinCE e PalmOS. Ulteriori informazioni possono essere trovate visitando http://www.superwaba.org/ +Comment[nds]=En eenfach Vörlaag för't Opstellen vun op WinCE un PalmOS opbuut SuperWaba-Programmen. Mehr Informatschonen laat sik op http://www.superwaba.org finnen +Comment[ne]=WinCE र PalmOS मा सà¥à¤ªà¤°à¤µà¤¾à¤­à¤¾ जाभा आधारित अनà¥à¤ªà¥à¤°à¤¯à¥‹à¤— निरà¥à¤®à¤¾à¤£à¤•à¤¾ लागि साधारण टेमà¥à¤ªà¥à¤²à¥‡à¤Ÿ । बढी जानकारी http://www.superwaba.org मा फेला पारà¥à¤¨ सकिनà¥à¤› । +Comment[nl]=Een eenvouidg sjabloon voor het bouwen van SuperWaba Java-gebaseerde toepassingen op WinCE en PalmOS. Meer informatie vindt u op http://www.superwaba.org. +Comment[pl]=Prosty szablon do budowania programów w Javie wykorzystujÄ…cych SuperWaba w Å›rodowiskach WinCE oraz PalmOS. WiÄ™cej informacji można znaleźć na stronie http://www.superwaba.org +Comment[pt]=Um modelo simples para criara aplicações Java, baseadas no SuperWaba, para o WinCE e o PalmOS. Poderá encontrar mais informações em http://www.superwaba.org +Comment[pt_BR]=Um modelo simples para criara aplicações Java, baseadas no SuperWaba, para o WinCE e o PalmOS. Poderá encontrar mais informações em http://www.superwaba.org +Comment[ru]=Создание Ð¿Ñ€Ð¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ SuperWaba Java Ð´Ð»Ñ ÑƒÑтройÑтв WinCE и PalmOS. Дополнительную информацию можно найти на http://www.superwaba.org +Comment[sk]=Jednoduchá Å¡ablóna pre vytváranie SuperWaba Java Aplikácií na WinCE a PalmOS. Viac informácií môžte nájsÅ¥ na http://www.superwaba.org +Comment[sr]=ЈедноÑтаван шаблон за градњу SuperWaba програма на оÑнову Java-е, за WinCE и PalmOS. Више информација на http://www.superwaba.org +Comment[sr@Latn]=Jednostavan Å¡ablon za gradnju SuperWaba programa na osnovu Java-e, za WinCE i PalmOS. ViÅ¡e informacija na http://www.superwaba.org +Comment[sv]=En enkel mall för att bygga SuperWaba Java-baserade program pÃ¥ WinCE och PalmOS. Mer information hittas pÃ¥ http://www.superwaba.org. +Comment[tr]=WinCE ve PalmOS üstünde SuperWaba tabanlı Java uygulamarı yapmak için basit bir ÅŸablon. Daha fazla bilgi http://www.superwaba.org/ adresinde bulunabilir. +Comment[zh_CN]=在 WinCE å’Œ PalmOS 上构建基于 SuperWaba Java 应用程åºçš„简å•æ¨¡æ¿ã€‚更多信æ¯å¯ä»¥åœ¨ http://www.superwaba.org 找到 +Comment[zh_TW]=一個簡單的建立在 WinCE 與 PalmOS 上執行的 SuperWaba Java 應用程å¼ã€‚您å¯ä»¥åœ¨ http://www.superwaba.org å–得更多資訊。 +FileTemplates=java +ShowFilesAfterGeneration=%{dest}/%{APPNAME}.java +Archive=superwaba.tar.gz + +[JAVA] +Type=value +Value=JAVA +Comment=Path to your java root +Comment[ca]=Ruta cap a la vostra arrel Java +Comment[da]=Sti til din java-rod +Comment[de]=Pfad zum Stammordner von Java +Comment[el]=ΔιαδÏομή στο κατάλογό σας της java +Comment[es]=Ruta a su carpeta raíz Java +Comment[et]=Java juurkataloogi asukoht +Comment[eu]=Zure java erroaren bide-izena +Comment[fa]=مسیر ریشۀ جاوای شما +Comment[fr]=Chemin vers votre racine Java +Comment[gl]=Ruta a súa instalación de java +Comment[hu]=A Java-alapkönyvtár elérési útja +Comment[it]=Percorso alla radice java +Comment[ja]=Java ルートã¸ã®ãƒ‘ス +Comment[nds]=Padd na Dien Java-Wörtelorner +Comment[ne]=तपाईà¤à¤•à¥‹ जाभा रूटको मारà¥à¤— +Comment[nl]=Pad naar uw Java-hoofdmap +Comment[pl]=Åšcieżka do głównego katalogu Javy +Comment[pt]=A localização de base do seu Java +Comment[pt_BR]=A localização de base do seu Java +Comment[ru]=Путь к корневому каталогу Java +Comment[sk]=Cesta ku java koreňu +Comment[sr]=Путања до вашег корена Java-е +Comment[sr@Latn]=Putanja do vaÅ¡eg korena Java-e +Comment[sv]=Sökväg till Java-rotkatalog +Comment[zh_CN]=您的 Java 根路径 +Comment[zh_TW]=您的 java 根路徑 +Default=/usr/lib/java +ValueType=QString + +[WABA] +Type=value +Value=WABA +Comment=Path to your SuperWaba root +Comment[ca]=Ruta cap a la vostra arrel SuperWaba +Comment[da]=Sti til din SuperWaba-rod +Comment[de]=Pfad zum Stammordner von SuperWaba +Comment[el]=ΔιαδÏομή στο κατάλογό σας της SuperWaba +Comment[es]=Ruta a su carpeta raíz de SuperWaba +Comment[et]=SuperWaba juurkataloogi asukoht +Comment[eu]=Zure SuperWaba erroaren bide-izena +Comment[fa]=مسیر ریشۀ SuperWaba شما +Comment[fr]=Chemin vers votre racine SuperWaba +Comment[gl]=Ruta a súa instalación de SuperWaba +Comment[hu]=A SuperWaba-alapkönyvtár elérési útja +Comment[it]=Percorso alla radice SuperWaba +Comment[ja]=SuperWaba ルートã¸ã®ãƒ‘ス +Comment[nds]=Padd na Dien SuperWaba-Wörtelorner +Comment[ne]=तपाईà¤à¤•à¥‹ सà¥à¤ªà¤°à¤µà¤¾à¤­à¤¾ रूटको मारà¥à¤— +Comment[nl]=Pad naar uw SuperWaba-hoofdmap +Comment[pl]=Åšcieżka do głównego katalogu SuperWaba +Comment[pt]=A localização de base do seu SuperWaba +Comment[pt_BR]=A localização de base do seu SuperWaba +Comment[ru]=Путь к корневому каталогу SuperWaba +Comment[sk]=Cesta ku SuperWaba koreňu +Comment[sr]=Путања до вашег корена SuperWaba-е +Comment[sr@Latn]=Putanja do vaÅ¡eg korena SuperWaba-e +Comment[sv]=Sökväg till SuperWaba-rotkatalog +Comment[tr]=SuperWaba kök dizininizin yolu +Comment[zh_CN]=您的 SuperWaba 根路径 +Comment[zh_TW]=您的 SuperWaba 根路徑 +Default=/usr/lib +ValueType=QString + +[GNU] +Type=install archive +Source=%{kdevelop}/template-common/gnu.tar.gz +Dest=%{dest} + +[PROJECT] +Type=install +EscapeXML=true +Source=%{src}/sw.kdevelop +Dest=%{dest}/%{APPNAMELC}.kdevelop + +[FILELIST] +Type=install +Source=%{src}/sw.filelist +Dest=%{dest}/%{APPNAMELC}.filelist + +[MAKEFILE] +Type=install +Source=%{src}/src-Makefile +Dest=%{dest}/Makefile + +[SOURCE] +Type=install +Source=%{src}/sw.java +Dest=%{dest}/%{APPNAME}.java + +[MESSAGE] +Type=Message +Comment=Your application is setup to build. Edit the make targets to customize the file. +Comment[ca]=La vostra aplicació està llesta per a ser construïda. Editeu els objectius de make per a personalitzar el fitxer. +Comment[da]=Dit program er parat til at blive bygget. Redigér make targets for at indstille filen. +Comment[de]=Ihre Anwendung ist bereit für das Erstellen. Bearbeiten Sie die Make-Targets, um die Datei an Ihre Bedürfnisse anzupassen. +Comment[el]=Η εφαÏμογή σας έχει Ïυθμιστεί για κατασκευή. ΕπεξεÏγαστείτε τους Ï€ÏοοÏισμοÏÏ‚ κατασκευής για την Ï€ÏοσαÏμογή του αÏχείου. +Comment[en_GB]=Your application is setup to build. Edit the make targets to customise the file. +Comment[es]=Su aplicación está lista para ser construída. Edite los objetivos make para personalizar el archivo. +Comment[et]=Rakendus on ehitamiseks valmis. Faili kohandamiseks redigeeri ehitamise sihtmärke. +Comment[eu]=Zure aplikazioa eraikitzeko konfiguratu da. Editatu make-en helburuak fitxategia pertsonalizatzeko. +Comment[fa]=کاربرد شما برای ساختن برپا می‌شود. برای سÙارشی کردن پرونده، هدÙهای make را ویرایش کنید. +Comment[fr]=Votre application est prête à être construite. Modifiez les cibles de « make » pour personnaliser le fichier. +Comment[gl]=A súa aplicación esta configurada para compilar. Edite os obxectivos make para persoalizalo ficheiro. +Comment[hu]=Az alkalmazás készen áll a lefordításra. A make-célpontok szerkeszthetÅ‘k, ha szükséges. +Comment[it]=L'applicazione è configurata per compilare. Modifica i target di make per personalizzare il file. +Comment[nds]=Dien Programm kann opstellt warrn. Bewerk de "Make"-Telen för't Topassen vun de Datei. +Comment[ne]=तपाईà¤à¤•à¥‹ अनà¥à¤ªà¥à¤°à¤¯à¥‹à¤— निरà¥à¤®à¤¾à¤£ गरà¥à¤¨à¤•à¤¾ लागि सेटअप भà¤à¤•à¥‹ छ । फाइललाई अनà¥à¤•à¥‚ल गरà¥à¤¨à¤•à¤¾ लागि मेक तारà¥à¤—ेटलाई समà¥à¤ªà¤¾à¤¦à¤¨ गरà¥à¤¨à¥à¤¹à¥‹à¤¸à¥ । +Comment[nl]=Uw toepassing kan worden gebouwd. Bewerk de make targets om het bestand naar eigen inzicht aan te passen. +Comment[pl]=Program skonfigurowany. Dostosowanie pliku do wÅ‚asnych potrzeb jest możliwe przez modyfikacjÄ™ celów make. +Comment[pt]=A sua aplicação está preparada para ser compilada. Edite os alvos do 'make' para personalizar o ficheiro. +Comment[pt_BR]=A sua aplicação está preparada para ser compilada. Edite os alvos do 'make' para personalizar o ficheiro. +Comment[ru]=Ваше приложение готово Ð´Ð»Ñ Ñборки. +Comment[sk]=Aplikácia je pripravená na build. Môžte si prispôsobiÅ¥ make ciele. +Comment[sr]=Ваш програм је Ñпреман за градњу. Уредите циљеве Ñправљача да биÑте прилагодили фајл. +Comment[sr@Latn]=VaÅ¡ program je spreman za gradnju. Uredite ciljeve spravljaÄa da biste prilagodili fajl. +Comment[sv]=Programmet är inställt att byggas. Redigera byggmÃ¥len för att anpassa filen. +Comment[tr]=Uygulamanız derlenmeye hazır. Dosyayı özelleÅŸtirmek için make hedeflerini düzenleyin. +Comment[zh_CN]=您的应用程åºå·²è®¾ç½®ä¸ºæž„建。编辑 make 目标å¯è‡ªå®šä¹‰æ–‡ä»¶ã€‚ +Comment[zh_TW]=您的應用程å¼å·²è¨­å®šå¥½å¯å»ºç«‹äº†ã€‚請編輯 make 目標來調整檔案。 +Archive=superwaba.tar.gz + +[GNU] +Type=include +File=%{kdevelop}/template-common/gnu.kdevtemplate + diff --git a/languages/java/app_templates/superwaba/superwaba.png b/languages/java/app_templates/superwaba/superwaba.png new file mode 100644 index 00000000..3492333d Binary files /dev/null and b/languages/java/app_templates/superwaba/superwaba.png differ diff --git a/languages/java/app_templates/superwaba/sw.filelist b/languages/java/app_templates/superwaba/sw.filelist new file mode 100644 index 00000000..f219d672 --- /dev/null +++ b/languages/java/app_templates/superwaba/sw.filelist @@ -0,0 +1 @@ +%{APPNAME}.java diff --git a/languages/java/app_templates/superwaba/sw.java b/languages/java/app_templates/superwaba/sw.java new file mode 100644 index 00000000..e1c9927c --- /dev/null +++ b/languages/java/app_templates/superwaba/sw.java @@ -0,0 +1,97 @@ + +/** An example that shows the new user interface gadgets for grayscale */ + +import waba.fx.*; +import waba.sys.*; +import waba.ui.*; + +public class %{APPNAME} extends MainWindow +{ + MenuBar mbar; + Button pushB; + +public %{APPNAME}() +{ + super( "%{APPNAME}", TAB_ONLY_BORDER ); + + setDoubleBuffer( true ); + // use native style? + if ( waba.sys.Settings.platform.equals( "PalmOS" ) ) + { + waba.sys.Settings.setPalmOSStyle( true ); + } + // if we are a color device then we can use a nice color + // otherwise WHITE is the most readable + if ( !waba.sys.Settings.isColor ) + { + Color.defaultBackColor = Color.WHITE; + waba.ui.MainWindow.getMainWindow().setBackColor( Color.WHITE ); + } + else + { + Color.defaultBackColor = new Color( 213, 210, 205 ); + waba.ui.MainWindow.getMainWindow().setBackColor( new Color( 213, 210, 205 ) ); + } +} + +public void onStart() +{ + + initGUI(); + Settings.appSecretKey = "installed"; +} + +// Called by the system to pass events to the application. +public void onEvent( Event event ) +{ + if ( event.type == ControlEvent.WINDOW_CLOSED ) + { + if ( event.target == mbar ) + { + switch ( mbar.getSelectedMenuItem() ) + { + case 1: + quitApp(); + break; + case 101: + showAbout(); + break; + default : + break; + } + } + } + else if ( event.type == ControlEvent.PRESSED ) + { + if ( event.target == pushB ) + { + showAbout(); + } + } +} + +private void showAbout( ) +{ + MessageBox mb = new MessageBox( "%{APPNAME}", "This is a small test app." ); + mb.setDoubleBuffer( true ); + popupBlockingModal( mb ); +} + +private void quitApp() +{ + exit( 0 ); +} + + +private void initGUI() +{ + String col0[] = { "File","Exit..."}; + String col1[] = { "Help","About" }; + + pushB = new Button( "Push me" ); + add(pushB, CENTER, CENTER); + setMenuBar( mbar = new MenuBar( new String[][]{ col0, col1 }) ); + +} + +} diff --git a/languages/java/app_templates/superwaba/sw.kdevelop b/languages/java/app_templates/superwaba/sw.kdevelop new file mode 100644 index 00000000..bddee282 --- /dev/null +++ b/languages/java/app_templates/superwaba/sw.kdevelop @@ -0,0 +1,94 @@ + + + + %{AUTHOR} + %{EMAIL} + %{VERSION} + KDevCustomProject + Java + + KDevDebugger + + + Java + Code + + + + + make test + + true + + + + + make + + + + true + 1 + false + + + + + + + + + + + + + + bash + bash_bugs + c++_bugs_gcc + clanlib + w3c-dom-level2-html + fortran_bugs_gcc + gnome1 + gnustep + gtk + gtk_bugs + haskell + haskell_bugs_ghc + kde2book + libc + libstdc++ + opengl + pascal_bugs_fp + php + php_bugs + perl + perl_bugs + python + python_bugs + qt-kdev3 + ruby + ruby_bugs + sdl + stl + w3c-svg + w3c-uaag10 + wxwidgets_bugs + + + Guide to the Qt Translation Tools + Qt Assistant Manual + Qt Designer Manual + Qt Reference Documentation + qmake User Guide + + + KDE Libraries (Doxygen) + + + + + + + + -- cgit v1.2.1