sampleAction = new Action() { public void run() { MessageDialog.openInformation(null, "Eomodeler Plug-in", "Sample Action Executed"); } }; sampleAction.setText("Sample Action"); sampleAction.setToolTipText("Sample Action tool tip"); sampleAction.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages(). getImageDescriptor(IDE.SharedImages.IMG_OBJS_TASK_TSK)); }
}
	private void createActions() {		sampleAction = new Action() {			public void run() {				MessageDialog.openInformation(null, "Eomodeler Plug-in", "Sample Action Executed");			}		};		sampleAction.setText("Sample Action");		sampleAction.setToolTipText("Sample Action tool tip");		sampleAction.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().				getImageDescriptor(IDE.SharedImages.IMG_OBJS_TASK_TSK));	}