aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo/sampler/features/commons
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/demo/sampler/features/commons')
-rw-r--r--src/com/itmill/toolkit/demo/sampler/features/commons/Icons.java8
-rw-r--r--src/com/itmill/toolkit/demo/sampler/features/commons/Tooltips.java8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/com/itmill/toolkit/demo/sampler/features/commons/Icons.java b/src/com/itmill/toolkit/demo/sampler/features/commons/Icons.java
index 58cb756436..c30fd22c57 100644
--- a/src/com/itmill/toolkit/demo/sampler/features/commons/Icons.java
+++ b/src/com/itmill/toolkit/demo/sampler/features/commons/Icons.java
@@ -7,7 +7,7 @@ import com.itmill.toolkit.ui.Component;
public class Icons extends Feature {
-
+ @Override
public String getDescription() {
return "Most components can have an <i>icon</i>,"
+ " which is usually displayed next to the caption.<br/>"
@@ -16,18 +16,18 @@ public class Icons extends Feature {
+ " Beware of overuse, which will have the opposite effect.";
}
-
+ @Override
public APIResource[] getRelatedAPI() {
return new APIResource[] { new APIResource(Component.class) };
}
-
+ @Override
public Class[] getRelatedFeatures() {
// TODO Auto-generated method stub
return null;
}
-
+ @Override
public NamedExternalResource[] getRelatedResources() {
// TODO Auto-generated method stub
return null;
diff --git a/src/com/itmill/toolkit/demo/sampler/features/commons/Tooltips.java b/src/com/itmill/toolkit/demo/sampler/features/commons/Tooltips.java
index 0e701e6899..3644424ebc 100644
--- a/src/com/itmill/toolkit/demo/sampler/features/commons/Tooltips.java
+++ b/src/com/itmill/toolkit/demo/sampler/features/commons/Tooltips.java
@@ -7,7 +7,7 @@ import com.itmill.toolkit.ui.AbstractComponent;
public class Tooltips extends Feature {
-
+ @Override
public String getDescription() {
return "Most components can have a <i>description</i>,"
+ " which is shown as a <i>\"tooltip\"</i>.<br/>"
@@ -18,18 +18,18 @@ public class Tooltips extends Feature {
+ " for that compoenent.)";
}
-
+ @Override
public APIResource[] getRelatedAPI() {
return new APIResource[] { new APIResource(AbstractComponent.class) };
}
-
+ @Override
public Class[] getRelatedFeatures() {
// TODO Auto-generated method stub
return null;
}
-
+ @Override
public NamedExternalResource[] getRelatedResources() {
// TODO Auto-generated method stub
return null;