Package at.ssw.coco.ide.features.refactoring.core

Examples of at.ssw.coco.ide.features.refactoring.core.ReformatInfo


    ATGEditor atgEditor = (ATGEditor) HandlerUtil.getActiveEditor(event);
   
    ISelection selection = HandlerUtil.getCurrentSelection(event);
   
    if( selection != null && selection instanceof ITextSelection ) {
      info = new ReformatInfo(atgEditor,
          getTabWidth(),
          ((ITextSelection)selection).getOffset(),
          ((ITextSelection)selection).getLength());
      if (((ITextSelection)selection).getLength() > 0) {
        info.setReformatAllProductions(false);
      }
    } else {
      info = new ReformatInfo(atgEditor,
          getTabWidth());
    }
   
    if (saveAll()) {
      openWizard();
View Full Code Here

TOP

Related Classes of at.ssw.coco.ide.features.refactoring.core.ReformatInfo

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.