// TODO Auto-generated method stub
}
});
- JMenuItem writeFeatures = new JMenuItem("Write Jalview features");
- writeFeatures
- .setToolTipText("Create attributes in Chimera for features in Jalview");
+ JMenuItem writeFeatures = new JMenuItem(
+ MessageManager.getString("label.create_chimera_attributes"));
+ writeFeatures.setToolTipText(MessageManager
+ .getString("label.create_chimera_attributes_tip"));
writeFeatures.addActionListener(new ActionListener()
{
@Override
viewerActionMenu.add(writeFeatures);
}
+ /**
+ * Send a command to Chimera to create residue attributes for Jalview features
+ * <p>
+ * The syntax is: setattr r <attName> <attValue> <atomSpec>
+ * <p>
+ * For example: setattr r jv:chain "Ferredoxin-1, Chloroplastic" #0:94.A
+ */
protected void sendFeaturesToChimera()
{
- // TODO Auto-generated method stub
-
+ jmb.sendFeaturesToChimera(getAlignmentPanel());
}
/**