mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-20 04:27:48 -05:00
* #2660 Now Playing panel with events and messages are all recreated as JavaFX panels * #2660 Talker alias cleanup across the decoders * #2660 Talker alias cleanup across the decoders --------- Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
|
||||
package io.github.dsheirer.identifier.alias;
|
||||
|
||||
import io.github.dsheirer.identifier.Form;
|
||||
import io.github.dsheirer.identifier.Identifier;
|
||||
import io.github.dsheirer.identifier.IdentifierClass;
|
||||
import io.github.dsheirer.identifier.IdentifierCollection;
|
||||
import io.github.dsheirer.identifier.MutableIdentifierCollection;
|
||||
import io.github.dsheirer.identifier.Role;
|
||||
@@ -116,6 +118,16 @@ public class TalkerAliasManager
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Current FROM radio in the identifier collection
|
||||
* @param identifierCollection to inspect
|
||||
* @return FROM radio identifier, or null
|
||||
*/
|
||||
public static Identifier getFromRadio(IdentifierCollection identifierCollection)
|
||||
{
|
||||
return identifierCollection.getIdentifier(IdentifierClass.USER, Form.RADIO, Role.FROM);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a summary listing of talker aliases
|
||||
* @return summary.
|
||||
|
||||
Reference in New Issue
Block a user