Package org.trzcinka.intellitrac.dto

Examples of org.trzcinka.intellitrac.dto.Template


  public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
    if (!(value instanceof Template)) {
      throw new IllegalArgumentException();
    }
    Template template = (Template) value;
    return super.getListCellRendererComponent(list, template.getName(), index, isSelected, cellHasFocus);
  }
View Full Code Here


    Editor editor = FileEditorManager.getInstance(project).getSelectedTextEditor();
    VirtualFile file = event.getData(DataKeys.VIRTUAL_FILE);

    if (project != null && editor != null && file != null) {
      String selection;
      Template template;
      int line;

      if (editor.getSelectionModel().hasSelection()) {
        template = project.getComponent(ConfigurationComponent.class).getSendCodePointerSettings().getSelectionTemplate();
        selection = editor.getSelectionModel().getSelectedText();
View Full Code Here

TOP

Related Classes of org.trzcinka.intellitrac.dto.Template

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.