Package workspace.editor

Examples of workspace.editor.CodeFilesEditor


public class VisibilityTester extends PropertyTester
{
   
    public boolean test(Object receiver, String property, Object[] args, Object expectedValue)
    {
        CodeFilesEditor fragment= (CodeFilesEditor)receiver;
        if ("canRefactor".equals(property))
        {
            HaxeTree node = fragment.getCurrentNode();
            return testCanRefactor(node);
        }
        return false;
    }
View Full Code Here


            IEditorPart editor = WorkspaceUtils.openFileInEditor(file);
            if (!(editor instanceof CodeFilesEditor))
            {
                return;
            }
            CodeFilesEditor hxEditor = (CodeFilesEditor)editor;
            hxEditor.selectAndReveal(offset, length);
        }
        catch (Exception e)
        {
            String message = "WorkspaceUtils.jumpToLocation: " + e.getLocalizedMessage();
            Activator.logger.error(message);
View Full Code Here

        return getEditorPart().getCurrentNode();
    }

    protected HashMapForLists<NodeLink> getUsagesList()
    {
        CodeFilesEditor editor = getEditorPart();
        if (editor == null)
        {
            return null;
        }
        return editor.getUsagesList();
    }
View Full Code Here

TOP

Related Classes of workspace.editor.CodeFilesEditor

Copyright © 2018 www.massapicom. 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.