Examples of addDirectoryParameter2()


Examples of org.gudy.azureus2.plugins.ui.model.BasicPluginConfigModel.addDirectoryParameter2()

   
      // default dir
   
    String def = device_manager.getDefaultWorkingDirectory().getAbsolutePath();
   
    final DirectoryParameter def_work_dir = configModel.addDirectoryParameter2( "device.config.xcode.workdir", "device.config.xcode.workdir", def );
   
    def_work_dir.setValue( def );
   
    def_work_dir.addListener(
      new ParameterListener()
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.model.BasicPluginConfigModel.addDirectoryParameter2()

    config_model.addStringParameter2("AzTrackerFind_url_password", "AzTrackerFind.url.password", "password");
    config_model.addBooleanParameter2("AzTrackerFind_autoinsert","AzTrackerFind.autoinsert",false);
    config_model.addBooleanParameter2("MilitaryTime", "AzTrackerFind.military.time", false);
    BooleanParameter enable = config_model.addBooleanParameter2("AutoDownload","AzTrackerFind.auto.download",false);
    String default_dir = pluginInterface.getPluginDirectoryName() + System.getProperty("file.separator") + "torrents";
    DirectoryParameter enabled_dir = config_model.addDirectoryParameter2("AutoDownload_dir","AzTrackerFind.autodownload.dir",default_dir);
    enable.addEnabledOnSelection( enabled_dir );
    if (utils.isLinux())
        {
      config_model.addStringParameter2("AzTrackerFind_url_commandline", "AzTrackerFind.url.commandline","firefox");
        }
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.model.BasicPluginConfigModel.addDirectoryParameter2()

   
        //Directory setup:  in the format of
        //"key" (which is how I call it later) ,
        //"Messages.properties key" to call from that file so you can word it how you want ,
        //default value -- here I use the plugin directory.
        config_model.addDirectoryParameter2("Directory_to_use","textalert.directory",pluginInterface.getPluginDirectoryName());
    config_model.addStringParameter2("File_to_use","textalert.file","completed.txt");
   
   
    //Call the listener so that we can listen for changes in the states of the torrents
        downloadListener();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.