ToolBarBoxExtension

From OpenKM Documentation
Revision as of 21:10, 13 November 2010 by Jllort (talk | contribs)

Jump to: navigation, search

Methods

Widget getWidget()
String getExtensionUUID()

getWidget()

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

getExtensionUUID()

Return unique extension id

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;
		}

                @Override
        	public String getExtensionUUID() {
	    	        return String.valueOf("d9dab640-d098-11df-bd3b-0800200c9a66");
         	}
	}