/* Table theme building instructions
*
- * Toolkit scroll table is very complex widget with dozens of features. These
+ * Vaadin scroll table is very complex widget with dozens of features. These
* features set some limitations for theme builder. To keep things working, it
* is safest to try to just override values used in default theme and comfort to
* these instructions.
-<!-- Toolkit components are placed with divs that have matching
+<!-- Vaadin components are placed with divs that have matching
location tag -->
<table>
+ " xsi:schemaLocation=\"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd\">\n";\r
private static final String PORTLET_XML_SECTION = " <portlet>\n"\r
+ " <portlet-name>%PORTLETNAME%</portlet-name>\n"\r
- + " <display-name>IT Mill Toolkit %NAME%</display-name>\n"\r
+ + " <display-name>Vaadin %NAME%</display-name>\n"\r
+ " <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet</portlet-class>\n"\r
+ " <init-param>\n"\r
+ " <name>application</name>\n"\r
+ "<!DOCTYPE display PUBLIC \"-//Liferay//DTD Display 4.0.0//EN\" \"http://www.liferay.com/dtd/liferay-display_4_0_0.dtd\">\n"\r
+ "\n"\r
+ "<display>\n"\r
- + " <category name=\"IT Mill Toolkit\">\n" + "";\r
+ + " <category name=\"Vaadin\">\n" + "";\r
private static final String LIFERAY_DISPLAY_XML_SECTION = " <portlet id=\"%PORTLETNAME%\" />\n";\r
private static final String LIFERAY_DISPLAY_XML_FOOT = "\n"\r
+ " </category>\n" + "</display>";\r
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
- <display-name>IT Mill Toolkit</display-name>
- <description> IT Mill Toolkit examples </description>
+ <display-name>Vaadin</display-name>
+ <description> Vaadin examples </description>
<!--
Turn off productionMode (off by default). Setting productionMode=true
<context-param>
<param-name>productionMode</param-name>
<param-value>false</param-value>
- <description>IT Mill Toolkit production mode</description>
+ <description>Vaadin production mode</description>
</context-param>
<!--
if (contextMenu == null) {
contextMenu = new VContextMenu();
DOM.setElementProperty(contextMenu.getElement(), "id",
- "PID_TOOLKIT_CM");
+ "PID_VAADIN_CM");
}
return contextMenu;
}
- /**
- * @deprecated Use {@link #translateVaadinUri(String)} instead.
- */
- @Deprecated
- public String translateToolkitUri(String vaadinUri) {
- return translateVaadinUri(vaadinUri);
- }
-
/**
* Translates custom protocols in UIDL URI's to be recognizable by browser.
* All uri's from UIDL should be routed via this method before giving them
}
}
- public class SuggestionPopup extends VOverlay implements
- PositionCallback, PopupListener {
+ public class SuggestionPopup extends VOverlay implements PositionCallback,
+ PopupListener {
private static final String Z_INDEX = "30000";
// Add TT anchor point
DOM.setElementProperty(getElement(), "id",
- "TOOLKIT_COMBOBOX_OPTIONLIST");
+ "VAADIN_COMBOBOX_OPTIONLIST");
menu.setSuggestions(currentSuggestions);
final int x = VFilterSelect.this.getAbsoluteLeft();
if (moreItemUIDL.hasAttribute("icon")) {
itemHTML.append("<img src=\""
- + client.translateToolkitUri(moreItemUIDL
+ + client.translateVaadinUri(moreItemUIDL
.getStringAttribute("icon"))
+ "\" align=\"left\" />");
}
if (item.hasAttribute("icon")) {
itemHTML.append("<img src=\""
- + client.translateToolkitUri(item
+ + client.translateVaadinUri(item
.getStringAttribute("icon"))
+ "\" align=\"left\" />");
}
popup.addPopupListener(this);\r
\r
DOM.setElementProperty(calendar.getElement(), "id",\r
- "PID_TOOLKIT_POPUPCAL");\r
+ "PID_VAADIN_POPUPCAL");\r
\r
}\r
\r
*
* @author IT Mill Ltd
*/
-public class VWindow extends VOverlay implements Container,
- ScrollListener {
+public class VWindow extends VOverlay implements Container, ScrollListener {
private static final int MIN_HEIGHT = 100;
String html = "";
if (notification.hasAttribute("icon")) {
final String parsedUri = client
- .translateToolkitUri(notification
+ .translateVaadinUri(notification
.getStringAttribute("icon"));
html += "<img src=\"" + parsedUri + "\" />";
}
test(layout, cb);
final ClassResource flashResource = new ClassResource(
- "itmill_spin.swf", this);
+ "vaadin_spin.swf", this);
final Embedded emb = new Embedded("Embedded " + count++, flashResource);
emb.setType(Embedded.TYPE_OBJECT);
emb.setMimeType("application/x-shockwave-flash");
}
/**
- * Actual URL consists of "/doc/api/com/itmill/toolkit/"+url
+ * Actual URL consists of "http://www.vaadin.com/api/com/vaadin/"+url
*
* @param url
*/
public void setJavadocURL(String url) {
javadoc
- .setValue("<iframe width=\"100%\" src=\"../doc/api/com/itmill/toolkit/"
+ .setValue("<iframe width=\"100%\" src=\"http://www.vaadin.com/api/com/vaadin/"
+ url + "\"></iframe>");
}
final OrderedLayout l = new OrderedLayout();
final ClassResource flashResource = new ClassResource(
- "itmill_spin.swf", getApplication());
+ "vaadin_spin.swf", getApplication());
final Embedded emb = new Embedded("Embedded Caption", flashResource);
emb.setType(Embedded.TYPE_OBJECT);
emb.setMimeType("application/x-shockwave-flash");
ap.replaceWithSelect("heightUnits", units, symbols);
ap.replaceWithSelect("widthUnits", units, symbols);
ap.replaceWithSelect("source", new Object[] { flashResource },
- new Object[] { "itmill_spin.swf" });
+ new Object[] { "vaadin_spin.swf" });
propertyPanel.addProperties("Embedded Properties", ap);
propertyPanel.getField("standby").setDescription(
"The text to display while loading the object.");