@Override public PipelinedShapeModification interceptRemove( PipelinedShapeModification removeModification) { deconvertJavaProjects(removeModification); convertToJavaElements(removeModification.getChildren()); return removeModification; }
public PipelinedShapeModification interceptRemove( PipelinedShapeModification removeModification) { deconvertJavaProjects(removeModification); convertToJavaElements(removeModification.getChildren()); return removeModification; }
@Override public PipelinedShapeModification interceptRemove( PipelinedShapeModification removeModification) { deconvertJavaProjects(removeModification); convertToJavaElements(removeModification.getChildren()); return removeModification; }
@Override public PipelinedShapeModification interceptAdd(PipelinedShapeModification addModification) { Object parent= addModification.getParent(); if (parent instanceof IJavaProject) { addModification.setParent(((IJavaProject)parent).getProject()); } if (parent instanceof IWorkspaceRoot) { deconvertJavaProjects(addModification); } convertToJavaElements(addModification); return addModification; }
@Override public PipelinedShapeModification interceptAdd(PipelinedShapeModification addModification) { Object parent= addModification.getParent(); if (parent instanceof IJavaProject) { addModification.setParent(((IJavaProject)parent).getProject()); } if (parent instanceof IWorkspaceRoot) { deconvertJavaProjects(addModification); } convertToJavaElements(addModification); return addModification; }
public PipelinedShapeModification interceptAdd( PipelinedShapeModification addModification) { if(addModification.getParent() instanceof IJavaProject) { addModification.setParent(((IJavaProject)addModification.getParent()).getProject()); } else if(addModification.getParent() instanceof IWorkspaceRoot || addModification.getParent() instanceof IJavaProject){ deconvertJavaProjects(addModification); } convertToJavaElements(addModification); return addModification; }