Java Code Examples for org.netbeans.modules.php.api.phpmodule.PhpModule#getPreferences()

The following examples show how to use org.netbeans.modules.php.api.phpmodule.PhpModule#getPreferences() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SmartyPhpFrameworkProvider.java    From netbeans with Apache License 2.0 5 votes vote down vote up
@CheckForNull
@SuppressWarnings("NP_BOOLEAN_RETURN_NULL")
private static Boolean getSmartyPropertyEnabled(PhpModule phpModule) {
    Preferences preferences = phpModule.getPreferences(SmartyPhpFrameworkProvider.class, true);
    String available = preferences.get(PROP_SMARTY_AVAILABLE, null);
    if (available == null) {
        return null;
    } else {
        return Boolean.valueOf(available);
    }
}
 
Example 2
Source File: PhpDocPreferences.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule phpModule) {
    return phpModule.getPreferences(PhpDocPreferences.class, false);
}
 
Example 3
Source File: SymfonyPreferences.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(SymfonyPhpFrameworkProvider.class, true);
}
 
Example 4
Source File: AtoumPreferences.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(AtoumTestingProvider.class, true);
}
 
Example 5
Source File: PhpUnitPreferences.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(PhpUnitTestingProvider.class, true);
}
 
Example 6
Source File: ApiGenPreferences.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule phpModule) {
    return phpModule.getPreferences(ApiGenPreferences.class, false);
}
 
Example 7
Source File: SymfonyPhpModuleCustomizerExtender.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(SymfonyPhpFrameworkProvider.class, true);
}
 
Example 8
Source File: Doctrine2Preferences.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(Doctrine2PhpFrameworkProvider.class, true);
}
 
Example 9
Source File: SmartyPhpModuleCustomizerExtender.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(SmartyPhpFrameworkProvider.class, true);
}
 
Example 10
Source File: TesterPreferences.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(TesterTestingProvider.class, true);
}
 
Example 11
Source File: Nette2Preferences.java    From netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(Nette2FrameworkProvider.class, true);
}
 
Example 12
Source File: CakePHP3Preferences.java    From cakephp3-netbeans with Apache License 2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule phpModule) {
    return phpModule.getPreferences(CakePHP3Preferences.class, true);
}
 
Example 13
Source File: CIPreferences.java    From nb-ci-plugin with GNU General Public License v2.0 4 votes vote down vote up
private static Preferences getPreferences(PhpModule module) {
    return module.getPreferences(CIPhpFrameworkProvider.class, true);
}