Difference between revisions of "ToolBarBoxExtension"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== Methods == Widget getWidget() == getWidget() == Returns the associated widget to the tool box that will be showed when it'll be selected. == Example == <source lang="java"> …')
 
Line 1: Line 1:
 
== Methods ==
 
== Methods ==
Widget getWidget()
+
Widget getWidget()
 +
 
  
 
== getWidget() ==
 
== getWidget() ==
 
Returns the associated widget to the tool box that will be showed when it'll be selected.
 
Returns the associated widget to the tool box that will be showed when it'll be selected.
 +
  
 
== Example ==
 
== Example ==

Revision as of 16:28, 15 June 2010

Methods

Widget getWidget()


getWidget()

Returns the associated widget to the tool box that will be showed when it'll be selected.


Example

public class ToolBarBoxExample extends ToolBarBoxExtension {

		public ToolBarBoxEx(Image img, String text) {
			super(img, text);
		}

		@Override
		public Widget getWidget() {
			// TODO Auto-generated method stub
			return null;
		}
		
	}