Examples of show()


Examples of com.dci.intellij.dbn.execution.statement.result.ui.StatementViewerPopup.show()

    public void actionPerformed(AnActionEvent e) {
        getMessagesTree().grabFocus();
        StatementExecutionMessageNode execMessageNode = (StatementExecutionMessageNode) getMessagesTree().getSelectionPath().getLastPathComponent();
        StatementExecutionResult executionResult = execMessageNode.getExecutionMessage().getExecutionResult();
        StatementViewerPopup statementViewer = new StatementViewerPopup(executionResult);
        statementViewer.show((Component) e.getInputEvent().getSource());
    }

    public void update(AnActionEvent e) {
        boolean enabled =
                getMessagesTree().getSelectionPath() != null &&
View Full Code Here

Examples of com.dci.intellij.dbn.execution.statement.variables.ui.StatementExecutionVariablesDialog.show()

                executionVariables.initialize(bucket);
        }

        if (executionVariables != null) {
            StatementExecutionVariablesDialog dialog = new StatementExecutionVariablesDialog(executablePsiElement.getProject(), executionVariables, executablePsiElement.getText());
            dialog.show();
            return dialog.getExitCode() == DialogWrapper.OK_EXIT_CODE;
        }
        return true;
    }
View Full Code Here

Examples of com.dci.intellij.dbn.object.factory.ui.common.ObjectFactoryInputDialog.show()

        if (inputForm == null) {
            MessageUtil.showErrorDialog("Creation of " + objectType.getListName() + " is not supported yet.", "Operation not supported");
        } else {
            ObjectFactoryInputDialog dialog = new ObjectFactoryInputDialog(inputForm);
            dialog.show();
        }
    }

    public boolean createObject(ObjectFactoryInput factoryInput) {
        List<String> errors = new ArrayList<String>();
View Full Code Here

Examples of com.dci.intellij.dbn.object.filter.name.ui.EditFilterConditionDialog.show()

    }

    public void createFilter(DBObjectType objectType, ObjectNameFilterSettingsForm settingsForm) {
        EditFilterConditionDialog dialog =
                new EditFilterConditionDialog(getProject(), null, null, objectType, EditFilterConditionForm.Operation.CREATE);
        dialog.show();
        if (dialog.getExitCode() == DialogWrapper.OK_EXIT_CODE) {
            settingsForm.getConfiguration().setModified(true);
            JTree filtersTree = settingsForm.getFiltersTree();
            ObjectNameFilterSettings settings = (ObjectNameFilterSettings) filtersTree.getModel();
            ObjectNameFilter objectNameFilter = new ObjectNameFilter(settings, objectType, dialog.getCondition());
View Full Code Here

Examples of com.dci.intellij.dbn.options.ui.GlobalProjectSettingsDialog.show()

        Project project = ActionUtil.getProject(e);
        if (project != null) {
            GlobalProjectSettingsDialog globalSettingsDialog = new GlobalProjectSettingsDialog(project);
            DatabaseBrowserSettings databaseBrowserSettings = DatabaseBrowserSettings.getInstance(project);
            globalSettingsDialog.focusSettings(databaseBrowserSettings);
            globalSettingsDialog.show();
        }
    }

    public void update(AnActionEvent e) {
        Presentation presentation = e.getPresentation();
View Full Code Here

Examples of com.drakulo.games.ais.ui.component.button.ImageButton.show()

              } else {
                // TODO Play error sound
              }
            }
          });
          btn.show();
          if (getSelectedBuildingAction() == null) {
            btn.enable();
          } else {
            btn.disable();
          }
View Full Code Here

Examples of com.eclipsesource.tabris.widgets.swipe.Swipe.show()

    Swipe result = new Swipe( parent, itemProvider );
    GridDataFactory.fillDefaults()
      .grab( true, true )
      .align( SWT.FILL, SWT.FILL )
      .applyTo( result.getControl() );
    result.show( 0 );
    createPagingIndicator( parent, result, itemProvider.getItemCount() );
  }

  private void createPagingIndicator( Composite parent, Swipe swipe, int itemCount ) {
    final PagingIndicator pagingIndicator = new PagingIndicator( parent );
View Full Code Here

Examples of com.edgytech.swingfast.ConfirmDialog.show()

    @Override
    public void windowClosing(WindowEvent e) {
        if (getJobBar().hasChildren()) {
            String text = "There are jobs running, force exit?";
            ConfirmDialog confirm = new ConfirmDialog(null, "Confirm Exit", null, text);
            if (!confirm.show()) {
                return;
            }
        }
        super.windowClosing(e);
    }
View Full Code Here

Examples of com.edgytech.swingfast.FormDialog.show()

        if (index.containsField("expireAfterSeconds")) {
            isTTL = true;
            ttl = index.getLong("expireAfterSeconds");
        }
        setLongFieldValue(Item.expireAfterSeconds, ttl);
        if (!dialog.show())
            return;
       
        long newTTL = getLongFieldValue(Item.expireAfterSeconds);
        if (newTTL != ttl) {
            BasicDBObject cmd = new BasicDBObject("collMod", getIndexNode().getCollectionNode().getCollection().getName());
View Full Code Here

Examples of com.epsilon5.client.window.Window.show()

public class App {

    public static void main(String[] args) {
        final Injector injector = Guice.createInjector(new AppModule());
        final Window window = injector.getInstance(Window.class);
        window.show();

        final NetworkChannel channel = injector.getInstance(NetworkChannel.class);
        channel.open();
    }
}
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.