return id + (frameType == null ? "" : "-" + frameType);
}
+ /**
+ * Handle all JalviewLite applet parameters
+ *
+ * @param aparser
+ * @param af
+ */
private void loadAppletParams(ArgsParser aparser, AlignFrame af)
{
Jalview me = this;
JalviewApp app = new JalviewApp()
{
-
@Override
public String getParameter(String name)
{
: "true".equalsIgnoreCase(stn));
}
+ /**
+ * Get the applet-like document base even though this is an application.
+ */
@Override
public URL getDocumentBase()
{
return Platform.getDocumentBase();
}
+ /**
+ * Get the applet-like code base even though this is an application.
+ */
@Override
public URL getCodeBase()
{
return Jalview.getCurrentAlignFrame().getViewport();
}
+ /**
+ * features
+ *
+ */
+ @Override
+ public boolean parseFeaturesFile(String filename,
+ DataSourceType protocol)
+ {
+ return af.parseFeaturesFile(filename, protocol);
+ }
+
+ /**
+ * scorefile
+ *
+ */
@Override
public boolean loadScoreFile(String sScoreFile) throws IOException
{
return true;
}
+ /**
+ * annotations, jpredfile, jnetfile
+ *
+ */
@Override
- public boolean parseFeaturesFile(String filename,
- DataSourceType protocol)
+ public void updateForAnnotations()
{
- return af.parseFeaturesFile(filename, protocol);
+ Jalview.getCurrentAlignFrame().updateForAnnotations();
}
@Override
public void loadTree(NewickFile fin, String treeFile)
throws IOException
{
- // n/a -- already done
+ // n/a -- already done by standard Jalview command line processing
}
@Override
}
@Override
- public void updateForLoader()
- {
- // TODO Auto-generated method stub
-
- }
-
- @Override
public void setFeatureGroupState(String[] groups, boolean state)
{
// TODO Auto-generated method stub