private void initAccess() {
   // hide repository popup if necessary
   if (!Users.doesCurrentUserHaveAccess(Users.ACCESS_CLASS_PROJECT_MANAGER)) {
     tabbedPane.removeTabAt(2);
   }
   // if user is not at least advanced data entry set the record to read only
   if (!Users.doesCurrentUserHaveAccess(Users.ACCESS_CLASS_ADVANCED_DATA_ENTRY)) {
     setFormToReadOnly();
     this.getAddNonPreferredNameButton().setVisible(false);
     this.getRemoveNonPreferredNameButton().setVisible(false);
     nameDescriptionType.setEnabled(false);
   }
 }
 /** Method that initializes any embedded plugins that would add an editor */
 private void initPlugins() {
   plugins = ATPluginFactory.getInstance().getEmbeddedNameEditorPlugins();
   if (plugins != null) {
     for (ATPlugin plugin : plugins) {
       plugin.setEditorField(this);
       HashMap pluginPanels = plugin.getEmbeddedPanels();
       for (Object key : pluginPanels.keySet()) {
         String panelName = (String) key;
         JPanel pluginPanel = (JPanel) pluginPanels.get(key);
         tabbedPane.addTab(panelName, pluginPanel);
       }
     }
   }
 }