Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

AbstractResourceDelta.java

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.apache.uima.caseditor.core.model.delta;

import org.eclipse.core.resources.IMarkerDelta;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResourceDelta;
import org.eclipse.core.resources.IResourceDeltaVisitor;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;

/**
 * Abstract base class, so clients must not implement all methods.
 */
00032 public abstract class AbstractResourceDelta implements IResourceDelta {
  
  /**
   * Dummy method, does nothing.
   */
00037   public void accept(IResourceDeltaVisitor visitor) throws CoreException {
    // not implemented
  }

  /**
   * Dummy method, does nothing.
   */
00044   public void accept(IResourceDeltaVisitor visitor, boolean includePhantoms) throws CoreException {
    // not implemented
  }

  /**
   * Dummy method, does nothing.
   */
00051   public void accept(IResourceDeltaVisitor visitor, int memberFlags) throws CoreException {
    // not implemented
  }

  /**
   * Dummy method, does nothing.
   */
00058   public IResourceDelta findMember(IPath path) {
    return null;
  }

  /**
   * Dummy method, does nothing.
   */
00065   public IResourceDelta[] getAffectedChildren() {
    return new IResourceDelta[] {};
  }

  /**
   * Dummy method, does nothing.
   */
00072   public IResourceDelta[] getAffectedChildren(int kindMask) {
    return new IResourceDelta[] {};
  }

  /**
   * Dummy method, does nothing.
   */
00079   public IResourceDelta[] getAffectedChildren(int kindMask, int memberFlags) {
    return new IResourceDelta[] {};
  }

  /**
   * Dummy method, does nothing.
   */
00086   public int getFlags() {
    return 0;
  }

  /**
   * Dummy method, does nothing.
   */
00093   public IPath getFullPath() {
    return null;
  }

  /**
   * Dummy method, does nothing.
   */
00100   public int getKind() {
    return 0;
  }

  /**
   * Dummy method, does nothing.
   */
00107   public IMarkerDelta[] getMarkerDeltas() {
    return new IMarkerDelta[] {};
  }

  /**
   * Dummy method, does nothing.
   */
00114   public IPath getMovedFromPath() {
    return null;
  }

  /**
   * Dummy method, does nothing.
   */
00121   public IPath getMovedToPath() {
    return null;
  }

  /**
   * Dummy method, does nothing.
   */
00128   public IPath getProjectRelativePath() {
    return null;
  }

  /**
   * Dummy method, does nothing.
   */
00135   public IResource getResource() {
    return null;
  }

  /**
   * Dummy method, does nothing.
   */
  @SuppressWarnings("unchecked")
00143   public Object getAdapter(Class adapter) {
    return null;
  }
}

Generated by  Doxygen 1.6.0   Back to index