Tabnine Logo
AbstractLaunchConfigurationTab.isValid
Code IndexAdd Tabnine to your IDE (free)

How to use
isValid
method
in
org.eclipse.debug.ui.AbstractLaunchConfigurationTab

Best Java code snippets using org.eclipse.debug.ui.AbstractLaunchConfigurationTab.isValid (Showing top 4 results out of 315)

origin: eclipse/aCute

@Override public boolean isValid(ILaunchConfiguration launchConfig) {
  try {
    return super.isValid(launchConfig) && new File(launchConfig.getAttribute(DSPPlugin.ATTR_DSP_CMD, "/letshopenofileevergetthisname")).canExecute(); //$NON-NLS-1$
  } catch (CoreException e) {
    AcutePlugin.logError(e);
    setErrorMessage(e.getMessage());
    return false;
  }
}
origin: eclipse/aCute

@Override public boolean isValid(ILaunchConfiguration launchConfig) {
  if (!super.isValid(launchConfig)) {
    return false;
  }
  String projectName;
  try {
    projectName = launchConfig.getAttribute(DotnetRunDelegate.PROJECT_FOLDER, ""); //$NON-NLS-1$
    if (projectName.isEmpty()) {
      return false;
    }
    return Tester.isDotnetProject(ResourcesPlugin.getWorkspace().getRoot().getProject(projectName));
  } catch (CoreException e) {
    AcutePlugin.logError(e);
    setErrorMessage(e.getMessage());
    return false;
  }
}
origin: eclipse/linuxtools

if (!tab.isValid(config)) {
  setErrorMessage(tab.getErrorMessage());
  return false;
  if (!tab.isValid(config)) {
    return false;
origin: org.eclipse.platform/org.eclipse.ant.ui

@Override
public boolean isValid(ILaunchConfiguration launchConfig) {
  if (fAllTargets == null || isDirty()) {
    if (getErrorMessage() != null && !isDirty()) {
      // error in parsing;
      return false;
    }
    // targets not up to date and no error message...we have not parsed recently
    initializeFrom(launchConfig);
    if (getErrorMessage() != null) {
      // error in parsing;
      return false;
    }
  }
  setErrorMessage(null);
  return super.isValid(launchConfig);
}
org.eclipse.debug.uiAbstractLaunchConfigurationTabisValid

Popular methods of AbstractLaunchConfigurationTab

  • updateLaunchConfigurationDialog
    Updates the buttons and message in this page's launch configuration dialog.
  • getShell
    Returns the shell this tab is contained in, or null.
  • activated
    This method was added to the ILaunchConfigurationTab interface in the 3.0 release to allow tabs to d
  • dispose
    By default, do nothing.
  • getErrorMessage
  • getLaunchConfigurationDialog
    Returns the dialog this tab is contained in, or null if not yet set.
  • initializeFrom
  • performApply
  • setDirty
    Sets the dirty state of the tab. Setting this flag allows clients to explicitly say whether this tab
  • setErrorMessage
    Sets this page's error message, possibly null.
  • createPushButton
    Creates and returns a new push button with the given label and/or image.
  • createUpdateJob
    Creates and returns a job used to update the launch configuration dialog for this tab. Subclasses ma
  • createPushButton,
  • createUpdateJob,
  • getAttributeLabel,
  • getControl,
  • getId,
  • getMessage,
  • getUpdateJob,
  • getUpdateJobDelay,
  • initializeAttributes

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • startActivity (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Best plugins for Eclipse
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