diff options
Diffstat (limited to 'src/com/itmill/toolkit/demo/sampler/features/windows/WindowNativeNew.java')
-rw-r--r-- | src/com/itmill/toolkit/demo/sampler/features/windows/WindowNativeNew.java | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/com/itmill/toolkit/demo/sampler/features/windows/WindowNativeNew.java b/src/com/itmill/toolkit/demo/sampler/features/windows/WindowNativeNew.java deleted file mode 100644 index a254e4783a..0000000000 --- a/src/com/itmill/toolkit/demo/sampler/features/windows/WindowNativeNew.java +++ /dev/null @@ -1,46 +0,0 @@ -package com.itmill.toolkit.demo.sampler.features.windows;
-
-import com.itmill.toolkit.demo.sampler.APIResource;
-import com.itmill.toolkit.demo.sampler.Feature;
-import com.itmill.toolkit.demo.sampler.NamedExternalResource;
-import com.itmill.toolkit.ui.Window;
-
-public class WindowNativeNew extends Feature {
-
- @Override
- public String getName() {
- return "Native window - Unique";
- }
-
- @Override
- public String getDescription() {
- return "Creates and opens a new native browser window with its own state."
- + "<br>Native browser"
- + " windows can either share the same state (instance) or have their own"
- + " internal state (instance). In practice the former option means that the"
- + " URL of the window will always be same (pointing to the same Window object"
- + ", whereas using the latter option generates a new URL (and Window instance)"
- + " for each new window."
- + "<br>It is essential to remember to remove the closed windows from the"
- + " application e.g. by implementing the Window.CloseListener interface.";
- }
-
- @Override
- public APIResource[] getRelatedAPI() {
- return new APIResource[] { new APIResource(Window.class) };
- }
-
- @Override
- public Class[] getRelatedFeatures() {
- return new Class[] { WindowNativeShared.class, WindowChild.class,
- WindowChildAutosize.class, WindowChildModal.class,
- WindowChildPositionSize.class, WindowChildScrollable.class };
- }
-
- @Override
- public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
- return null;
- }
-
-}
|