Author: scabanovich
Date: 2011-07-22 12:39:40 -0400 (Fri, 22 Jul 2011)
New Revision: 33144
Removed:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalComputer.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java
Log:
JBIDE-9362
https://issues.jboss.org/browse/JBIDE-9362
Deleted:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalComputer.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalComputer.java 2011-07-22
16:04:44 UTC (rev 33143)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalComputer.java 2011-07-22
16:39:40 UTC (rev 33144)
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at
http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-
-package org.jboss.tools.seam.ui.text.java;
-
-import org.jboss.tools.common.el.ui.ca.ELProposalProcessor;
-import org.jboss.tools.common.el.ui.ca.JavaELProposalComputer;
-
-/**
- * Custom Java Completion Proposal computer
- *
- * @author Jeremy
- */
-public class SeamELProposalComputer extends JavaELProposalComputer {
-
- private final SeamELProposalProcessor fProcessor = new SeamELProposalProcessor();
-
- /*
- * (non-Javadoc)
- * @see org.jboss.tools.common.el.ui.ca.JavaELProposalComputer#getELProcessor()
- */
- @Override
- protected ELProposalProcessor getELProcessor() {
- return fProcessor;
- }
-}
\ No newline at end of file
Deleted:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java 2011-07-22
16:04:44 UTC (rev 33143)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java 2011-07-22
16:39:40 UTC (rev 33144)
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at
http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.seam.ui.text.java;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.swt.graphics.Image;
-import org.jboss.tools.jst.web.kb.el.KbELProposalProcessor;
-import org.jboss.tools.seam.core.ISeamProject;
-import org.jboss.tools.seam.core.SeamCorePlugin;
-
-/**
- * @author Alexey Kazakov
- */
-public class SeamELProposalProcessor extends KbELProposalProcessor {
-
- /*
- * (non-Javadoc)
- * @see
org.jboss.tools.common.el.ui.ca.ELProposalProcessor#isEnabled(org.eclipse.core.resources.IFile)
- */
- @Override
- protected boolean isEnabled(IFile file) {
- IProject project = (file == null ? null : file.getProject());
- ISeamProject seamProject = SeamCorePlugin.getSeamProject(project, true);
- return seamProject!=null;
- }
-
- /*
- * (non-Javadoc)
- * @see org.jboss.tools.common.el.ui.ca.ELProposalProcessor#getImage()
- */
- @Override
- protected Image getImage() {
- return SeamCorePlugin.getDefault().getImage(SeamCorePlugin.CA_SEAM_EL_IMAGE_PATH);
- }
-}
\ No newline at end of file