All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fife.tmm.Keywords2Panel Maven / Gradle / Ivy

Go to download

An application to easily create syntax highlighting for custom languages in RSyntaxTextArea.

The newest version!
package org.fife.tmm;


/**
 * A panel for editing the language's second set of keywords (if any).
 *
 * @author Robert Futrell
 * @version 1.0
 */
class Keywords2Panel extends KeywordsPanel {


	/**
	 * Constructor.
	 *
	 * @param app The parent application.
	 */
	Keywords2Panel(TokenMakerMaker app) {
		super(app);
	}


	/**
	 * {@inheritDoc}
	 */
	@Override
	public void configureTokenMakerInfo(TokenMakerInfo info) {
		info.setKeywords2(keywordsTable.getWords());
	}


	/**
	 * {@inheritDoc}
	 */
	@Override
	public void initializeFrom(TokenMakerInfo info) {
		keywordsTable.setWords(info.getKeywords2());
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy