custom Pages
Status: Beta
Brought to you by:
teknopaul
My proposal is to add the ability of Custom Pages to AntInstaller. This would enable Programmers to create flexible Pages for the GUI.
One possibility would be:
org.tp23.antinstaller.runtime.exe.LoadConfigFilter Line 250
[..]
else if (type.equalsIgnoreCase("text")) {
return new TextPage();
} else {
try {
Class pageClass = Class.forName(type);
Page result = (Page) pageClass.newInstance();
return result;
} catch (Throwable e) {
throw new ConfigurationException("Unknown Page type:" + type);
}
}
So one could create custom pages which inherit from Page.java by using:
<page type="custom.package.CustomPage"
name="customlicense"
[..]