Loki.yggdrasill.info


Own Javadoc Tags

Posted in development, java by Loki on the August 3rd, 2007

To apply your own javadoc tags, you need only a actual JDK and specially the interface com.sun.tools.doclets.Taglet. Implement this and add a method register like the following:

public static void register(Map tagletMap) {
CustomTag tag = new CustomTag();
Taglet t = (Taglet) tagletMap.get(tag.getName());
if (t != null) {
tagletMap.remove(tag.getName());
}
tagletMap.put(tag.getName(), tag);
}

then you can pack your new taglet class to an jar and try this parameters on javadoc execution -taglet CustomTag -tagletpath /path/to/tagletExt.jar in this example I use no package for the CustomTag class, so the taglet is CustomTag without package prefix

See also for more:

Mediawiki Random Extension

Posted in development, php by Loki on the September 25th, 2006

Finaly I have finished a new Mediawiki extension for Random content intigration, for more details read the infromation page

Search Shortcuts in FF

Posted in development by Loki on the July 10th, 2006

Firefox and other Mozzila based browsers supports the feature to define a shortcut for searches. Like, you type in the adress field (shortcut: STRG + L ) : “g wood” and it will preform a search to “wood” on google. If you say, that is what I need for my own searches, it is very easy. Find out the search string, like “http://www.yourDomain.com/search/Wood” and replace the word you are searching for with “%s“, create a new Link on the Quickserachfolder (e.g. “http://www.yourDomain.com/search/%s” ) and set a Keyword like “yd” for “yourDomain” and now you can preform short search querys like “yd house” or “yd winter”

Eclipse 3.2 final

Posted in development, eclipse, java by Loki on the July 5th, 2006

No information on the Eclipse main page, but there is it … see ;-)

First public release: ExtendetYDatePicker/1006

Posted in development, eclipse, java by Loki on the July 1st, 2006

CalView First release of ExtendetYDatePicker is avalibal under yExSelection1006.jar, Documentation, Example. IE users must be careful with filenameextension jar vs. zip. ExtendetYDatePicker is a SWT widget to select and mark days in your own swt application.

fis2vector

Posted in development by Loki on the May 22nd, 2006

here a short description to plot out a matlab fuzzy vector graphic in eps, ai or other vector formats.

  • % read fis to buffer
  • a = readfis(’H:/test’);
  • % plot first member function of input data from buffer a
  • plotmf(a,’input’,1)
  • % sets x-axis label to “Input: myInputData”
  • xlabel(’Input: myInputData’)

other preferences can be seted in the figure window too. Like titel, grid, arrows, …
see also: FuzzyToolBox, Example.eps

Calendar Maping in SWT

Posted in development, eclipse, java by Loki on the May 19th, 2006

Selection ScreenshotThis is the first development release of the ExtendetYDatePicker. A SWT based Day selection Widget. Public release at least at first of July.