private void setViewerInput(Object input) { fProcessSelectionEvents= false; fViewer.setInput(input); fProcessSelectionEvents= true; }
private void setViewerInput(Object input) { fProcessSelectionEvents= false; fViewer.setInput(input); fProcessSelectionEvents= true; }
public void setViewerInput(Object input){ fViewer.setInput(input); }
private void setViewerInput(Object input) { fProcessSelectionEvents= false; fViewer.setInput(input); fProcessSelectionEvents= true; }
public void setViewerInput(Object input){ fViewer.setInput(input); }
private void disconnectViewer() { fViewer.setInput(null); }
private void connectViewer(AbstractTextSearchResult search) { fViewer.setInput(search); }
private void connectViewer(AbstractTextSearchResult search) { fViewer.setInput(search); }
public void setViewerInput(Object input){ fViewer.setInput(input); }
private void disconnectViewer() { fViewer.setInput(null); }
public void setInput(Object object) { if (object != fViewer.getInput()) fViewer.setInput(object); }
@Override public void initialize() { fAnnotationTypeViewer.setInput(fListModel); fAnnotationTypeViewer.getControl().getDisplay().asyncExec(new Runnable() { @Override public void run() { if (fAnnotationTypeViewer != null && !fAnnotationTypeViewer.getControl().isDisposed()) { fAnnotationTypeViewer.setSelection(new StructuredSelection(fListModel[0])); } } }); }
public void initialize() { fAnnotationTypeViewer.setInput(fListModel); fAnnotationTypeViewer.getControl().getDisplay().asyncExec(new Runnable() { public void run() { if (fAnnotationTypeViewer != null && !fAnnotationTypeViewer.getControl().isDisposed()) { fAnnotationTypeViewer.setSelection(new StructuredSelection(fListModel[0])); } } }); }
public void initialize() { super.initialize(); fListViewer.setInput(fListModel); fListViewer.setSelection(new StructuredSelection(fJavaCategory)); }
@Override protected void setInitialInput() { IJavaElement root= JavaCore.create(JavaPlugin.getWorkspace().getRoot()); getViewer().setInput(root); updateTitle(); }
@Override protected void setInitialInput() { IJavaElement root= JavaCore.create(JavaPlugin.getWorkspace().getRoot()); getViewer().setInput(root); updateTitle(); }
public void initialize() { initializeFields(); fAnnotationTypeViewer.setInput(fListModel); fAnnotationTypeViewer.getControl().getDisplay().asyncExec(new Runnable() { public void run() { if (fAnnotationTypeViewer != null && !fAnnotationTypeViewer.getControl().isDisposed()) { fAnnotationTypeViewer.setSelection(new StructuredSelection(fListModel[0])); initializeFields(); } } }); }
protected void setInitialInput() { IJavaElement root= JavaCore.create(JavaPlugin.getWorkspace().getRoot()); getViewer().setInput(root); updateTitle(); }
@Override public void initialize() { initializeFields(); fAnnotationTypeViewer.setInput(fListModel); fAnnotationTypeViewer.getControl().getDisplay().asyncExec(new Runnable() { @Override public void run() { if (fAnnotationTypeViewer != null && !fAnnotationTypeViewer.getControl().isDisposed()) { fAnnotationTypeViewer.setSelection(new StructuredSelection(fListModel[0])); initializeFields(); } } }); }
public void createVersionSelectionField(Composite comp, String id) { Group group = new Group(comp, SWT.NONE); group.setText(PDEUIMessages.PluginVersionPart_groupTitle); group.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING | GridData.FILL_HORIZONTAL)); group.setLayout(new GridLayout(2, false)); PluginVersionTablePart part = new PluginVersionTablePart(new String[] {PDEUIMessages.PluginVersionPart_buttonTitle}); part.createControl(group, SWT.FULL_SELECTION | SWT.MULTI | SWT.V_SCROLL, 1, null); part.setMinimumSize(0, 75); part.getViewer().setLabelProvider(PDEPlugin.getDefault().getLabelProvider()); part.getViewer().setContentProvider(new PluginVersionContentProvider()); part.getViewer().setComparator(new ViewerComparator()); part.getViewer().setInput(PluginRegistry.findEntry(id)); part.setButtonEnabled(0, false); }