org.jowidgets.examples.common.workbench.widgets
Class SingleViewComponent

java.lang.Object
  extended by org.jowidgets.examples.common.workbench.base.AbstractDemoComponent
      extended by org.jowidgets.examples.common.workbench.widgets.SingleViewComponent
All Implemented Interfaces:
org.jowidgets.workbench.api.IComponent, org.jowidgets.workbench.api.IDisposeCallback

public class SingleViewComponent
extends AbstractDemoComponent
implements org.jowidgets.workbench.api.IComponent


Field Summary
static String DEFAULT_LAYOUT_ID
           
static String MASTER_FOLDER_ID
           
 
Constructor Summary
SingleViewComponent(org.jowidgets.workbench.api.IComponentContext context, Class<? extends org.jowidgets.workbench.api.IView> viewClass, String id, String label)
           
 
Method Summary
 org.jowidgets.workbench.api.IView createView(String viewId, org.jowidgets.workbench.api.IViewContext context)
           
 
Methods inherited from class org.jowidgets.examples.common.workbench.base.AbstractDemoComponent
onActivation, onDeactivation, onDispose, onFolderCreated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jowidgets.workbench.api.IComponent
onActivation, onDeactivation, onFolderCreated
 
Methods inherited from interface org.jowidgets.workbench.api.IDisposeCallback
onDispose
 

Field Detail

DEFAULT_LAYOUT_ID

public static final String DEFAULT_LAYOUT_ID
See Also:
Constant Field Values

MASTER_FOLDER_ID

public static final String MASTER_FOLDER_ID
See Also:
Constant Field Values
Constructor Detail

SingleViewComponent

public SingleViewComponent(org.jowidgets.workbench.api.IComponentContext context,
                           Class<? extends org.jowidgets.workbench.api.IView> viewClass,
                           String id,
                           String label)
Method Detail

createView

public org.jowidgets.workbench.api.IView createView(String viewId,
                                                    org.jowidgets.workbench.api.IViewContext context)
Specified by:
createView in interface org.jowidgets.workbench.api.IComponent


Copyright © 2012. All Rights Reserved.