Examples of navigate()


Examples of chrriis.dj.nativeswing.swtimpl.components.JWebBrowser.navigate()

         NativeInterface.open();
        NativeInterface.initialize();
        final JFrame authFrame = new JFrame();
        JPanel webBrowserPanel = new JPanel(new BorderLayout());
        final JWebBrowser webBrowser = new JWebBrowser();
        webBrowser.navigate(selectedItem.getLink());
        webBrowserPanel.add(webBrowser, BorderLayout.CENTER);
        authFrame.add(webBrowserPanel);
        authFrame.setSize(900, 700);
        authFrame.setVisible(true);
        authFrame.setLocationRelativeTo(null);
View Full Code Here

Examples of com.dci.intellij.dbn.language.common.psi.BasePsiElement.navigate()

        PsiFile file = PsiUtil.getPsiFile(getObject().getProject(), getVirtualFile());
        if (file instanceof PSQLFile) {
            PSQLFile psqlFile = (PSQLFile) file;
            BasePsiElement navigable = psqlFile.lookupObjectDeclaration(object.getObjectType(), object.getName());
            if (navigable == null) navigable = psqlFile.lookupObjectSpecification(object.getObjectType(), object.getName());
            if (navigable != null) navigable.navigate(true);
        }
    }

    /********************************************************
     *                ObjectFactoryListener                 *
 
View Full Code Here

Examples of com.dci.intellij.dbn.language.common.psi.BasePsiElement.navigate()

        if (file != null) {
            BasePsiElement basePsiElement = file.lookupObjectSpecification(objectType, objectName);
            if (basePsiElement != null) {
                BasicTextEditor textEditor = EditorUtil.getFileEditor(databaseFile, file.getVirtualFile());
                EditorUtil.selectEditor(databaseFile, textEditor);
                basePsiElement.navigate(true);
            }
        }
    }

    /**
 
View Full Code Here

Examples of com.dci.intellij.dbn.language.common.psi.BasePsiElement.navigate()

        if (file != null) {
            BasePsiElement basePsiElement = file.lookupObjectDeclaration(objectType, objectName);
            if (basePsiElement != null) {
                BasicTextEditor textEditor = EditorUtil.getFileEditor(databaseFile, file.getVirtualFile());
                EditorUtil.selectEditor(databaseFile, textEditor);
                basePsiElement.navigate(true);
            }
        }
    }

    public void updateSourceToDatabase(final Editor editor, final SourceCodeFile virtualFile) {
View Full Code Here

Examples of com.dci.intellij.dbn.object.common.DBObject.navigate()

    @Override
    public void actionPerformed(AnActionEvent e) {
        if (objectRef != null) {
            DBObject object = objectRef.get();
            if (object != null) {
                object.navigate(true);
            }
        }

    }
}
View Full Code Here

Examples of com.dci.intellij.dbn.object.common.DBObject.navigate()

                        protected void execute(@NotNull ProgressIndicator progressIndicator) throws InterruptedException {
                            final DBObject navigationObject = object.getDefaultNavigationObject();
                            if (navigationObject != null) {
                                new SimpleLaterInvocator(){
                                    public void execute() {
                                        navigationObject.navigate(true);
                                    }
                                }.start();
                            }

                        }
View Full Code Here

Examples of com.dci.intellij.dbn.object.common.DBObject.navigate()

    }

    public void navigate(boolean requestFocus) {
        DBObject object = getObject();
        if (object != null) {
            object.navigate(requestFocus);
        }

    }

    public boolean canNavigate() {
View Full Code Here

Examples of com.dci.intellij.dbn.object.common.DBObject.navigate()

            if (element instanceof DBObject) {
                DBObject object = (DBObject) element;
                if (object.getProperties().is(DBObjectProperty.EDITABLE)) {
                    DatabaseFileSystem.getInstance().openEditor(object);
                } else {
                    object.navigate(true);
                }
            }
        }

        @Override
View Full Code Here

Examples of com.intellij.navigation.NavigationItem.navigate()

    }

    public void navigate(boolean requestFocus) {
        if (psiElement instanceof NavigationItem) {
            NavigationItem navigationItem = (NavigationItem) psiElement;
            navigationItem.navigate(requestFocus);
        }
    }

    public boolean canNavigate() {
        return true;
View Full Code Here

Examples of com.intellij.navigation.NavigationItem.navigate()

    }

    public void navigate(boolean requestFocus) {
        if (psiElement instanceof NavigationItem) {
            NavigationItem navigationItem = (NavigationItem) psiElement;
            navigationItem.navigate(requestFocus);
        }
    }

    public boolean canNavigate() {
        return true;
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.