org.jboss.errai.workspaces.client.framework
Class ToolImpl

java.lang.Object
  extended by org.jboss.errai.workspaces.client.framework.ToolImpl
All Implemented Interfaces:
Tool, WidgetProvider

public class ToolImpl
extends Object
implements Tool


Constructor Summary
ToolImpl(String name, String id, boolean multipleAllowed, com.google.gwt.user.client.ui.Image icon, WidgetProvider component)
           
 
Method Summary
 com.google.gwt.user.client.ui.Image getIcon()
           
 String getId()
           
 String getName()
           
 boolean multipleAllowed()
           
 void provideWidget(ProvisioningCallback callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolImpl

public ToolImpl(String name,
                String id,
                boolean multipleAllowed,
                com.google.gwt.user.client.ui.Image icon,
                WidgetProvider component)
Method Detail

getName

public String getName()
Specified by:
getName in interface Tool

getId

public String getId()
Specified by:
getId in interface Tool

multipleAllowed

public boolean multipleAllowed()
Specified by:
multipleAllowed in interface Tool

getIcon

public com.google.gwt.user.client.ui.Image getIcon()
Specified by:
getIcon in interface Tool

provideWidget

public void provideWidget(ProvisioningCallback callback)
Specified by:
provideWidget in interface WidgetProvider


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.