Package org.python.pydev.refactoring.ast.adapters.offsetstrategy

Examples of org.python.pydev.refactoring.ast.adapters.offsetstrategy.BeginOffset


                    offset = strategy.getOffset();

                    break;

                case LOCATION_STRATEGY_FIRST_METHOD:
                    strategy = new BeginOffset(targetClass, pySelection.getDoc(), moduleAdapter.getAdapterPrefs());
                    offset = strategy.getOffset();

                    break;

                default:
View Full Code Here


                break;
            case IOffsetStrategy.BEFORECURRENT:
                this.offsetStrategy = new BeforeCurrentOffset(adapter, this.doc, this.getAdapterPrefs(), scopeAdapter);
                break;
            case IOffsetStrategy.BEGIN:
                this.offsetStrategy = new BeginOffset(adapter, this.doc, this.getAdapterPrefs());
                break;
            case IOffsetStrategy.END:
                this.offsetStrategy = new EndOffset(adapter, this.doc, this.getAdapterPrefs());
                break;

            default:
                this.offsetStrategy = new BeginOffset(adapter, this.doc, this.getAdapterPrefs());
        }
    }
View Full Code Here

TOP

Related Classes of org.python.pydev.refactoring.ast.adapters.offsetstrategy.BeginOffset

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.