Package org.eclipse.jdt.internal.ui.refactoring.contentassist

Examples of org.eclipse.jdt.internal.ui.refactoring.contentassist.CompletionContextRequestor


        fSuperClassDialogField.doFillIntoGrid(composite, nColumns);
        Text text = fSuperClassDialogField.getTextControl(null);
        LayoutUtil.setWidthHint(text, getMaxFieldWidth());

        JavaTypeCompletionProcessor superClassCompletionProcessor = new JavaTypeCompletionProcessor(false, false, true);
        superClassCompletionProcessor.setCompletionContextRequestor(new CompletionContextRequestor() {
            @Override
            public StubTypeContext getStubTypeContext() {
                return getSuperClassStubTypeContext();
            }
        });
View Full Code Here


                    checkSelectable();
                }
            }
        };
        JavaTypeCompletionProcessor superInterfaceCompletionProcessor = new JavaTypeCompletionProcessor(false, false, true);
        superInterfaceCompletionProcessor.setCompletionContextRequestor(new CompletionContextRequestor() {
            @Override
            public StubTypeContext getStubTypeContext() {
                return getSuperInterfacesStubTypeContext();
            }
        });
View Full Code Here

    final JavaTypeResolver helper = new JavaTypeResolver(javaProject);
    final IPackageFragment defaultPackageFragment = getDefaultPackageFragment(javaProject);

    if (defaultPackageFragment != null) {
      processor
          .setCompletionContextRequestor(new CompletionContextRequestor() {
            public StubTypeContext getStubTypeContext() {
              return TypeContextChecker
                  .createSuperClassStubTypeContext(
                      JavaTypeCompletionProcessor.DUMMY_CLASS_NAME,
                      null, defaultPackageFragment);
View Full Code Here

        fSuperClassDialogField.doFillIntoGrid(composite, nColumns);
        Text text = fSuperClassDialogField.getTextControl(null);
        LayoutUtil.setWidthHint(text, getMaxFieldWidth());

        JavaTypeCompletionProcessor superClassCompletionProcessor = new JavaTypeCompletionProcessor(false, false, true);
        superClassCompletionProcessor.setCompletionContextRequestor(new CompletionContextRequestor() {
            @Override
            public StubTypeContext getStubTypeContext() {
                return getSuperClassStubTypeContext();
            }
        });
View Full Code Here

                    checkSelectable();
                }
            }
        };
        JavaTypeCompletionProcessor superInterfaceCompletionProcessor = new JavaTypeCompletionProcessor(false, false, true);
        superInterfaceCompletionProcessor.setCompletionContextRequestor(new CompletionContextRequestor() {
            @Override
            public StubTypeContext getStubTypeContext() {
                return getSuperInterfacesStubTypeContext();
            }
        });
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.refactoring.contentassist.CompletionContextRequestor

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.