List of usage examples for org.eclipse.jface.dialogs IMessageProvider INFORMATION
int INFORMATION
To view the source code for org.eclipse.jface.dialogs IMessageProvider INFORMATION.
Click Source Link
From source file:edu.washington.cs.cupid.usage.internal.DataCollectorDialog.java
License:Open Source License
@Override public void create() { super.create(); setTitle("Enable Cupid Usage Data Collection?"); setMessage("Help improve Cupid by automatically reporting Cupid usage information", IMessageProvider.INFORMATION); }
From source file:es.axios.udig.spatialoperations.internal.ui.dialogs.CreateNewLayerDialog.java
License:Open Source License
@Override protected Control createContents(Composite parent) { Control ctrl = super.createContents(parent); setTitle(Messages.CreateNewLayerDialog_title); setMessage(Messages.CreateNewLayerDialog_specific_attributes, IMessageProvider.INFORMATION); return ctrl;//from ww w . ja v a2s . co m }
From source file:es.axios.udig.ui.commons.message.InfoMessage.java
License:LGPL
public InfoMessage(final String text, final int type) { assert text != null; this.text = text; switch (type) { case IMessageProvider.INFORMATION: this.type = Type.INFORMATION; break;/*from w ww . j a v a 2 s. c o m*/ case IMessageProvider.ERROR: this.type = Type.ERROR; break; case IMessageProvider.NONE: this.type = Type.NULL; break; case IMessageProvider.WARNING: this.type = Type.WARNING; break; } }
From source file:es.axios.udig.ui.editingtools.merge.internal.wizard.MergeFeaturesComposite.java
License:Open Source License
/** * Callback function to report a change in the merged geometry attribute * /*w ww. j a v a 2s . c om*/ * @param builder */ private void mergeGeometryChanged(MergeFeatureBuilder builder) { Geometry mergedGeometry = builder.getMergedGeometry(); String geomName; if (builder.mergeGeomIsUnion()) { geomName = UNION; } else { geomName = mergedGeometry == null ? "null" : mergedGeometry.getClass().getSimpleName(); } labelResultGeometry.setText(geomName); final String msg = MessageFormat.format(Messages.MergeFeaturesComposite_result_will_be, geomName); setMessage(msg, IMessageProvider.INFORMATION); }
From source file:es.axios.udig.ui.editingtools.merge.view.MergeComposite.java
License:LGPL
/** * Call back function to report a change in the merged geometry attribute * /*from w ww . j a v a 2 s.c om*/ * @param builder */ private void mergeGeometryChanged(MergeFeatureBuilder builder) { Geometry mergedGeometry = builder.getMergedGeometry(); String geomName; if (builder.mergeGeomIsUnion()) { geomName = UNION; } else { geomName = mergedGeometry == null ? "null" : mergedGeometry.getClass().getSimpleName(); } labelResultGeometry.setText(geomName); final String msg = MessageFormat.format(Messages.MergeFeaturesComposite_result_will_be, geomName); setMessage(msg, IMessageProvider.INFORMATION); }
From source file:eu.artist.migration.ct.gui.rcp2gwt.dialog.GUICloudifierDialog.java
License:Open Source License
@Override /**/*from w ww . j a v a 2s . c om*/ * This superclass method has been override to set the title, message and disable the OK button * upon the dialog pops up. */ public void create() { super.create(); setTitle("GUI Cloudification"); setMessage("Cloudifiers for selected class model " + inputModel.getName(), IMessageProvider.INFORMATION); //Disabling OK button by default enableOKButton(false); }
From source file:eu.artist.migration.deployment.dialog.DeploymentDialog.java
License:Open Source License
@Override /**/* w ww . j a v a2s. c o m*/ * This superclass method has been override to set the title, message and disable the OK button * upon the dialog pops up. */ public void create() { super.create(); setTitle("Deployment Tool"); setMessage("Cloud targets for selected deployment model:\n " + inputModel.getName(), IMessageProvider.INFORMATION); //Disabling OK button by default enableOKButton(false); }
From source file:eu.artist.migration.mut.cmg.dialog.ComponentModelGeneratorDialog.java
License:Open Source License
@Override /**/*from w ww . ja va2s . co m*/ * This superclass method has been override to set the title, message and disable the OK button * upon the dialog pops up. */ public void create() { super.create(); setTitle("Component Model Generator"); setMessage("Component model generation for selected class model " + inputModel.getName(), IMessageProvider.INFORMATION); //Disabling OK button by default enableOKButton(false); }
From source file:eu.artist.migration.mut.pimabstractor.dialog.PIMAbstractorDialog.java
License:Open Source License
@Override /**// w w w . jav a2 s .co m * This superclass method has been override to set the title, message and disable the OK button * upon the dialog pops up. */ public void create() { super.create(); setTitle("Model Abstraction"); setMessage("Abstraction for selected class model " + inputModel.getName(), IMessageProvider.INFORMATION); //Disabling OK button by default enableOKButton(false); }
From source file:eu.artist.premigration.tft.tft.dialog.ModelSourceSelectionDialog.java
License:Open Source License
@Override public void create() { super.create(); setTitle("Source Path Selection"); setMessage("Please select the source path(s) for the selected component model.", IMessageProvider.INFORMATION); }