public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection= fStore.PRIVATE; fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_privatevisibilitydescription_label); } } });
public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection= fStore.PUBLIC; fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_publicvisibilitydescription_label); } } });
public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection= fStore.PACKAGE; fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_packagevisibledescription_label); } } });
@Override public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection= fStore.PACKAGE; fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_packagevisibledescription_label); } } });
@Override public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection= fStore.PROTECTED; fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_protectedvisibilitydescription_label); } } });
public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection= fStore.PACKAGE; // AspectJ Extension - messages fDescriptionLabel.setText(UIMessages.ajdocTreeWizardPage_packagevisibledescription_label); } } });
public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection= fStore.PROTECTED; // AspectJ Extension - messages fDescriptionLabel.setText(UIMessages.ajdocTreeWizardPage_protectedvisibilitydescription_label); } } });
public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection= fStore.PUBLIC; // AspectJ Extension - messages fDescriptionLabel.setText(UIMessages.ajdocTreeWizardPage_publicvisibilitydescription_label); } } });
/** * Sets the receiver's title text. */ public void setText(String label) { CLabel cl= (CLabel) getTopLeft(); cl.setText(label); }
/** * Sets the receiver's title text. * * @param label the text */ public void setText(String label) { CLabel cl= (CLabel) getTopLeft(); cl.setText(label); }
/** * Sets the receiver's title text. * @param label the label */ public void setText(String label) { CLabel cl= (CLabel) getTopLeft(); cl.setText(label); }
private void createSourceViewerLabel(Composite c) { fCurrentElementLabel= new CLabel(c, SWT.NONE); GridData gd= new GridData(GridData.FILL_HORIZONTAL); gd.heightHint= JavaElementImageProvider.SMALL_SIZE.x; fCurrentElementLabel.setText(RefactoringMessages.RenameTypeWizardSimilarElementsPage_select_element_to_view_source); fCurrentElementLabel.setLayoutData(gd); }
public void handleSetText( CLabel clabel, JsonObject properties ) { JsonValue text = properties.get( PROP_TEXT ); if( text != null ) { clabel.setText( text.asString() ); } }
/** * Set the pane's title text. * The value <code>null</code> clears it. * * @param label the text to be displayed in the pane or null */ public void setText(String label) { CLabel cl= (CLabel) getTopLeft(); if (cl != null && !cl.isDisposed()) cl.setText(label); }
private void setWarningText(String warning) { if (warningComposite == null || warningComposite.isDisposed()) return; GridData gd = (GridData) warningComposite.getLayoutData(); gd.exclude = warning == null; warningComposite.setVisible(!gd.exclude); if (warning != null) warningLabel.setText(warning); else warningLabel.setText(""); //$NON-NLS-1$ warningComposite.getParent().layout(true); }
public void widgetSelected(SelectionEvent event) { TypeNameMatch[] selection= fViewer.getSelection(); if (selection.length != 1) { fLabel.setText(""); //$NON-NLS-1$ fLabel.setImage(null); } else { TypeNameMatch type= selection[0]; fLabel.setText(fViewer.getLabelProvider().getQualificationText(type)); fLabel.setImage(fLabelProvider.getImage(type)); } } });
private void statusMessage(boolean error, String message) { statusLabel.setText(message); if (error) statusLabel.setForeground(JFaceColors.getErrorText(statusLabel .getDisplay())); else statusLabel.setForeground(null); }
private void statusMessage(boolean error, String message) { fStatusLabel.setText(message); if (error) { fStatusLabel.setForeground(JFaceColors.getErrorText(fStatusLabel.getDisplay())); } else { // use same color as another label to respect styling fStatusLabel.setForeground(fFileNamePatternDescription.getForeground()); } }
private void createTitleArea() { title = createComposite(container); final String providerName = provider.getDescription().getName(); final Image providerImage = provider.getDescription().getImage(); final CLabel l = new CLabel(title, SWT.NONE); l.setFont(JFaceResources.getFontRegistry().getBold(JFaceResources.DEFAULT_FONT)); setInfoForegroundColor(l); setInfoBackgroundColor(l); l.setText(providerName); l.setImage(providerImage); }