| package org.eclipse.papyrus.aceeditor; |
| public class AceCodeEditorConfiguration{ |
| public static final String ACE_BASE = "platform:/plugin/org.eclipse.papyrus.aceeditor/ace-min-noconflict/ace.js"; |
| |
| private String language = "python"; |
| private String theme = "github"; |
| |
| /** |
| * Available: "python", "javascript" |
| * @param language |
| */ |
| public void setLanguage(String language) { |
| this.language = language; |
| } |
| |
| /** |
| * Available: "github", "eclipse" |
| * @param language |
| */ |
| public void setTheme(String theme) { |
| this.theme = theme; |
| } |
| |
| public String getLanguage() { |
| return language; |
| } |
| |
| public String getTheme() { |
| return theme; |
| } |
| |
| } |