Examples of PHPexeItem


Examples of org.eclipse.php.internal.debug.core.preferences.PHPexeItem

    /**
     * @see ITableLabelProvider#getColumnText(Object, int)
     */
    public String getColumnText(final Object element, final int columnIndex) {
      if (element instanceof PHPexeItem) {
        final PHPexeItem phpExe = (PHPexeItem) element;
        switch (columnIndex) {
        case 0:
          if (isDefault(element)) {
            return phpExe.getName()
                + ' '
                + PHPDebugUIMessages.PHPsPreferencePage_WorkspaceDefault;
          }
          return phpExe.getName();
        case 1:
          String debuggerName = PHPDebuggersRegistry
              .getDebuggerName(phpExe.getDebuggerID());
          if (debuggerName == null) {
            debuggerName = ""; //$NON-NLS-1$
          }
          return debuggerName;
        case 2:
          File executable = phpExe.getExecutable();
          if (executable == null) {
            return ""; //$NON-NLS-1$
          }
          return executable.getAbsolutePath();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.