congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MoveMembersWizard$MoveMembersInputPage$3
Code IndexAdd Tabnine to your IDE (free)

How to use
MoveMembersWizard$MoveMembersInputPage$3
in
org.eclipse.jdt.internal.ui.refactoring

Best Java code snippets using org.eclipse.jdt.internal.ui.refactoring.MoveMembersWizard$MoveMembersInputPage$3 (Showing top 4 results out of 1,395)

origin: org.eclipse.jdt/org.eclipse.jdt.ui

private void handleDestinationChanged() {
  IType declaring= getMoveProcessor().getDeclaringType();
  IJavaProject javaProject= declaring.getJavaProject();
  IStatus status= JavaConventionsUtil.validateJavaTypeName(fDestinationField.getText(), javaProject);
  if (status.getSeverity() == IStatus.ERROR){
    error(status.getMessage());
  } else {
    try {
      IType resolvedType= javaProject.findType(fDestinationField.getText());
      if (resolvedType == null)
        resolvedType= javaProject.findType(declaring.getPackageFragment().getElementName(), fDestinationField.getText());
      IStatus validationStatus= validateDestinationType(resolvedType, fDestinationField.getText());
      if (validationStatus.isOK()){
        setErrorMessage(null);
        setPageComplete(true);
      } else {
        error(validationStatus.getMessage());
      }
    } catch(JavaModelException ex) {
      JavaPlugin.log(ex); //no ui here
      error(RefactoringMessages.MoveMembersInputPage_invalid_name);
    }
  }
}
private void error(String message){
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

private void handleDestinationChanged() {
  IType declaring= getMoveProcessor().getDeclaringType();
  IJavaProject javaProject= declaring.getJavaProject();
  IStatus status= JavaConventionsUtil.validateJavaTypeName(fDestinationField.getText(), javaProject);
  if (status.getSeverity() == IStatus.ERROR){
    error(status.getMessage());
  } else {
    try {
      IType resolvedType= javaProject.findType(fDestinationField.getText());
      if (resolvedType == null)
        resolvedType= javaProject.findType(declaring.getPackageFragment().getElementName(), fDestinationField.getText());
      IStatus validationStatus= validateDestinationType(resolvedType, fDestinationField.getText());
      if (validationStatus.isOK()){
        setErrorMessage(null);
        setPageComplete(true);
      } else {
        error(validationStatus.getMessage());
      }
    } catch(JavaModelException ex) {
      JavaPlugin.log(ex); //no ui here
      error(RefactoringMessages.MoveMembersInputPage_invalid_name);
    }
  }
}
private void error(String message){
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public void modifyText(ModifyEvent e) {
  handleDestinationChanged();
}
private void handleDestinationChanged() {
origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
public void modifyText(ModifyEvent e) {
  handleDestinationChanged();
}
private void handleDestinationChanged() {
org.eclipse.jdt.internal.ui.refactoringMoveMembersWizard$MoveMembersInputPage$3

Most used methods

  • error
  • handleDestinationChanged

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now