Achievements for Netbeans

draindecorumΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 5 χρόνια και 2 μήνες)

838 εμφανίσεις

Achievements for Netbeans

Achievements for Netbeans is a student’s project for the Special
Topics in Software E
ngineering
lecture ‘
Rich Client Programming
-

Plugging into the NetBeans Platform’ and enables NetB
eans

users
to gain achievements in a style known from popular games like Left 4 Dead.

To co
llect the needed information we
hook into the

logging mechanism

and the NetBeans editor
. It is
easy for developers to use our API for creating own achievements. You only

have to implement the
IAchievement
-
interface
, one of the listener interfaces (IEditorListener, ILogListener)

and provide an
image. A more detailed description
about

how to add your own achievements is provided in the zip
-
file.

For demonstration purposes w
e implemented various achievements to show off the possibilities of
our API. A list of all implemented achievements follows:


To be or not to be

You gain this achievement when you define boolean variables. This achievement is
class based and has a global
summarized achievement.


Strong Character

You gain this achievement when you define char variables. This achievement is class
based and has a global summarized achievement.


Floating away

You gain this achievement when you define float variables. This
achievement is class
based and has a global summarized achievement.


You’re of integrity

奯u g慩a 瑨t猠 慣a楥iem敮琠 睨敮wyou d敦楮攠 楮瑥ge爠 v慲a慢汥献l 周楳T 慣a楥i敭敮琠 楳
捬慳猠扡獥c 慮d⁨慳⁡⁧ oba氠獵lm慲aY敤⁡捨e敶敭敮e.


周楳⁨慳⁡ame瑨td

奯u g慩a
瑨t猠a捨c敶敭敮琠睨敮wyou d敦楮攠m整hod献 周楳Ta捨c敶敭敮琠i猠捬慳猠b慳敤
慮d⁨慳⁡⁧ ob慬a獵sm慲aY敤⁡捨eevem敮琮


䍬C獥搠Door

奯u g慩a 瑨t猠 慣ai敶敭en琠 睨敮 you 捬o獥 晩f敳 or p牯j散e献 周楳T 楳 愠 g汯b慬
慣a楥iem敮琮


佰敮楮d敤

奯u g慩a 瑨t猠
慣a楥iemen琠 睨敮w you op敮e 晩f敳 o爠 p牯橥j瑳⸠ 周楳T 楳i 愠 g汯b慬a
慣a楥iem敮琮


N整b敡湳eLov敲

奯u⁧慩n⁴h楳⁡捨楥vem敮e 睨敮⁹ou⁳瑡牴tNe瑢敡t献s周楳⁩猠愠杬ob慬⁡捨楥vem敮琮


呲T⁢敦o牥⁂畹

奯u g慩a 瑨t猠 a捨c敶敭en琠 睨敮 you d敢eg you爠 慰p汩捡瑩cn. 周楳T
楳 愠 g汯b慬
慣a楥iem敮琮


創Rn敲

奯u⁧慩n⁴h楳⁡捨楥vem敮e 睨敮⁹ou⁲畮 you爠灲og牡m⸠周楳⁩猠愠glob慬⁡捨楥vem敮琮


Safety first

You gain this achievement when you save your files. This is a global achievement


F1

You gain this achievement when you
ask for help. This is a global achievement.


Hasta la Vista Baby

You gain this achievement when you delete characters. This is a file based
achievement and has a global summarized achievement.


Length matters

You gain this achievement when you write ch
aracters. This is a file based achievement
and has a global summarized achievement.


If and only if

You gain this achievement when you use Ifs in your application. This is a file based
achievement and has a global summarized achievement.


For what

You
gain this achievement when you use For
-
loops and Enhanced
-
For
-
loops in your
application. This is a file based achievement and has a global summarized
achievement.


Do it again

You gain this achievement when you use While
-

and Do
-
While
-
loops in your
appli
cation. This is a file based achievement and has a global summarized
achievement.


These above mentioned achievements are displayed in a Tree
-
like manner in a separate window,
which is shown next:


The different levels of an achievement are displayed thr
ough different colorization of the icon as
small golden star symbolizes a maxed out achievement.