@Override public void apply(NexusStreamParser np) throws Exception {
  ClusterViewer viewer=getViewer();
  np.matchIgnoreCase("select=");
  String target=np.getWordMatchesIgnoringCase("all none invert");
  if (target.equalsIgnoreCase("all"))   viewer.selectAll(true);
 else   if (target.equalsIgnoreCase("invert"))   viewer.selectInverted();
 else   viewer.selectAll(false);
  np.matchIgnoreCase(";");
}

@ Override public void apply ( NexusStreamParser np ) throws Exception { ClusterViewer viewer = getViewer ( ) ; np . matchIgnoreCase ( "select=" ) ; String target = np . getWordMatchesIgnoringCase ( "all none invert" ) ; if ( target . equalsIgnoreCase ( "all" ) ) viewer . selectAll ( true ) ; else if ( target . equalsIgnoreCase ( "invert" ) ) viewer . selectInverted ( ) ; else viewer . selectAll ( false ) ; np . matchIgnoreCase ( ";" ) ; }
parses the given command and executes it
