Search in sources :

Example 11 with AttributePlugin

use of com.ramussoft.common.attribute.AttributePlugin in project ramus by Vitaliy-Yakovchuk.

the class FileIEngineImpl method getAllPluginNames.

private String[] getAllPluginNames(List<Plugin> plugins) {
    String[] data = new String[plugins.size()];
    for (int i = 0; i < plugins.size(); i++) {
        Plugin plugin = plugins.get(i);
        String name = plugin.getName();
        if (plugin instanceof AttributePlugin)
            name = "Attribute." + name + "." + ((AttributePlugin) plugin).getTypeName();
        data[i] = name;
    }
    return data;
}
Also used : AttributePlugin(com.ramussoft.common.attribute.AttributePlugin) AttributePlugin(com.ramussoft.common.attribute.AttributePlugin)

Aggregations

AttributePlugin (com.ramussoft.common.attribute.AttributePlugin)11 Attribute (com.ramussoft.common.Attribute)5 FindObject (com.ramussoft.common.attribute.FindObject)5 RowMapper (com.ramussoft.jdbc.RowMapper)5 ResultSet (java.sql.ResultSet)5 SQLException (java.sql.SQLException)5 ArrayList (java.util.ArrayList)5 Persistent (com.ramussoft.common.persistent.Persistent)4 PersistentField (com.ramussoft.common.persistent.PersistentField)4 PersistentRow (com.ramussoft.common.persistent.PersistentRow)4 PersistentWrapper (com.ramussoft.common.persistent.PersistentWrapper)4 List (java.util.List)3 Element (com.ramussoft.common.Element)1 Plugin (com.ramussoft.common.Plugin)1 PluginFactory (com.ramussoft.common.PluginFactory)1 Qualifier (com.ramussoft.common.Qualifier)1 Transaction (com.ramussoft.common.persistent.Transaction)1 GUIPlugin (com.ramussoft.gui.common.GUIPlugin)1 Hashtable (java.util.Hashtable)1 JScrollPane (javax.swing.JScrollPane)1