Examples of EpiMaker


Examples of omschaub.episodetracker.epitrack.EpiMaker

            
             name = items[0].getText();
             //lines[2] = items[1].getText();

            
             epiMaker = new EpiMaker();
             lines = epiMaker.commentOpen(pluginInterface, name);
 
            
             inLineEdit(editor);
             //openForEdit(lines, false);
View Full Code Here

Examples of omschaub.episodetracker.epitrack.EpiMaker

        return;
      }
      if (lines[2] == null){
        lines[2] = "Nothing Entered ";
      }
      epiMaker = new EpiMaker();
      epiMaker.commentWriter(pluginInterface, lines);
      shell.close() ;
      shell.dispose();
      readEpifile();
     
    }
  });
 
 
  //Button for Cancel
  Button cancel = new Button(shell, SWT.PUSH);
  gridData = new GridData(GridData.FILL_HORIZONTAL);
  gridData.horizontalSpan = 1;
  cancel.setLayoutData( gridData);
  cancel.setText("Cancel");
    cancel.addListener(SWT.Selection, new Listener() {
    public void handleEvent(Event e) {
      shell.close() ;
      shell.dispose()  ;
    }
  });
 
    //Spacer to increase size even though we are going to call pack
  Label spacer = new Label(shell, SWT.PUSH);
  gridData = new GridData(GridData.FILL_HORIZONTAL);
  gridData.horizontalSpan = 1;
  spacer.setLayoutData( gridData);
  spacer.setText("                                               ");
   
   
    //Listener for 'Enter'
  line2.addKeyListener(new KeyListener() {
    public void keyPressed(KeyEvent e) {
      int escPressed=0;
      switch (e.character){
        case SWT.CR: escPressed=1;break;
      }
      if (escPressed == 1){
        lines[1]=line1.getText();
        lines[2]=line2.getText();
        if (lines[1] == null){
          shell.close();
          shell.dispose();
          return;
        }
        if (lines[2] == null){
          lines[2] = "Nothing Entered ";
        }
        epiMaker = new EpiMaker();
        epiMaker.commentWriter(pluginInterface, lines);
        shell.close() ;
        shell.dispose();
        readEpifile();
      }
View Full Code Here

Examples of omschaub.episodetracker.epitrack.EpiMaker

        }
        if (escPressed == 1){
          lines[1] = item.getText(0);
          lines[2] = text.getText();
          //System.out.println(lines[1] + " | " + lines[2]);
          epiMaker = new EpiMaker();
          epiMaker.commentWriter(pluginInterface, lines);
            Control oldEditor = editor.getEditor();
          if (oldEditor != null)
          {
            oldEditor.dispose();
          }
          if (!item.isDisposed())
          item.setText(1, lines[2])
         
       
        }
      }
      public void keyReleased (KeyEvent e) {

      }
    });
   
    //Focus Listener for Editor
    text.addFocusListener(new FocusAdapter() {
      public void focusLost(FocusEvent e) {
       
        lines[1] = item.getText(0);
        lines[2] = text.getText();
        //System.out.println(lines[1] + " | " + lines[2]);
        epiMaker = new EpiMaker();
        epiMaker.commentWriter(pluginInterface, lines);
          Control oldEditor = editor.getEditor();
        if (oldEditor != null)
        {
          oldEditor.dispose();
View Full Code Here

Examples of omschaub.episodetracker.epitrack.EpiMaker

}

public void deleteFromList(String nameToDie, String episode){
  //System.out.println(nameToDie + episode);
 
  epiMaker = new EpiMaker();
  epiMaker.commentDelete( pluginInterface, nameToDie);
  readEpifile();
}
View Full Code Here

Examples of omschaub.todo.EpiMaker

            
             name = items[0].getText();
             //lines[2] = items[1].getText();

            
             epiMaker = new EpiMaker();
             lines = epiMaker.commentOpen(pluginInterface, name);
 
            
             inLineEdit(editor);
             //openForEdit(lines, false);
View Full Code Here

Examples of omschaub.todo.EpiMaker

        return;
      }
      if (lines[2] == null){
        lines[2] = "Nothing Entered ";
      }
      epiMaker = new EpiMaker();
      epiMaker.commentWriter(pluginInterface, lines);
      shell.close() ;
      shell.dispose();
      readEpifile();
     
View Full Code Here

Examples of omschaub.todo.EpiMaker

        }
        if (escPressed == 1){
          lines[1] = item.getText(0);
          lines[2] = text.getText();
          //System.out.println(lines[1] + " | " + lines[2]);
          epiMaker = new EpiMaker();
          epiMaker.commentWriter(pluginInterface, lines);
            Control oldEditor = editor.getEditor();
          if (oldEditor != null)
          {
            oldEditor.dispose();
View Full Code Here

Examples of omschaub.todo.EpiMaker

}

public void deleteFromList(String nameToDie, String episode){
  //System.out.println(nameToDie + episode);
 
  epiMaker = new EpiMaker();
  epiMaker.commentDelete( pluginInterface, nameToDie);
  readEpifile();
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.