public static void
main(
String[] args )
{
try{
VuzeFile vf = VuzeFileHandler.getSingleton().create();
Map content = new HashMap();
List commands = new ArrayList();
content.put( "commands", commands );
// home tab
Map command1 = new HashMap();
commands.add( command1 );
List l_args1 = new ArrayList();
//l_args1.add( SkinConstants.VIEWID_HOME_TAB );
command1.put( "type", new Long( COMMAND_SWITCH_TO_TAB ));
command1.put( "args", l_args1 );
// activity tab
Map command2 = new HashMap();
commands.add( command2 );
List l_args2 = new ArrayList();
//l_args2.add( SkinConstants.VIEWID_ACTIVITY_TAB );
command2.put( "type", new Long( COMMAND_SWITCH_TO_TAB ));
command2.put( "args", l_args2 );
// check plugin available
Map command3 = new HashMap();
commands.add( command3 );
List l_args3 = new ArrayList();
command3.put( "type", new Long( COMMAND_CONDITION_CHECK ));
command3.put( "args", l_args3 );
vf.addComponent( VuzeFileComponent.COMP_TYPE_V3_NAVIGATION, content );
vf.write( new File( "C:\\temp\\v3ui.vuze" ));
}catch( Throwable e ){
e.printStackTrace();
}