@ Override protected void init ( Object target , PropertyInfo propInfo , PropertyGrid propGrid ) { propInfo . getConfig ( ) . setProperty ( "readonly" , Boolean . toString ( ! SecurityUtil . hasDebugRole ( ) ) ) ; super . init ( target , propInfo , propGrid ) ; List < IAction > actions = new ArrayList <> ( ActionRegistry . getRegisteredActions ( ActionScope . BOTH ) ) ; Collections . sort ( actions , ActionUtil . comparator ) ; for ( IAction action : actions ) { appendItem ( action . toString ( ) , action . getId ( ) ) ; } }
Initialize the list from the action registry .