Search in sources :

Example 1 with OTRPreferences

use of org.jivesoftware.spark.otrplug.pref.OTRPreferences in project Spark by igniterealtime.

the class OTRPlugin method initialize.

@Override
public void initialize() {
    // Create OTRManager singleton
    _manager = OTRManager.getInstance();
    // The following will add an Entry into the Spark Preferences Window
    Preference mypreference = new OTRPreferences();
    SparkManager.getPreferenceManager().addPreference(mypreference);
}
Also used : OTRPreferences(org.jivesoftware.spark.otrplug.pref.OTRPreferences) Preference(org.jivesoftware.spark.preference.Preference)

Aggregations

OTRPreferences (org.jivesoftware.spark.otrplug.pref.OTRPreferences)1 Preference (org.jivesoftware.spark.preference.Preference)1