<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java%2FSWT_JFace_Eclipse%2FEclipse_Plugin</id>
		<title>Java/SWT JFace Eclipse/Eclipse Plugin - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java%2FSWT_JFace_Eclipse%2FEclipse_Plugin"/>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java/SWT_JFace_Eclipse/Eclipse_Plugin&amp;action=history"/>
		<updated>2026-04-24T19:30:48Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java/SWT_JFace_Eclipse/Eclipse_Plugin&amp;diff=5654&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java/SWT_JFace_Eclipse/Eclipse_Plugin&amp;diff=5654&amp;oldid=prev"/>
				<updated>2010-06-01T05:55:44Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 05:55, 1 июня 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java/SWT_JFace_Eclipse/Eclipse_Plugin&amp;diff=5653&amp;oldid=prev</id>
		<title> в 18:01, 31 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java/SWT_JFace_Eclipse/Eclipse_Plugin&amp;diff=5653&amp;oldid=prev"/>
				<updated>2010-05-31T18:01:43Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Bdaum Spell Checker Eclipse Plugin ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom widget PlugIn ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse Help PlugIn ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn Demo ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn FlowChart ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
SWT/JFace in Action&lt;br /&gt;
GUI Design with Eclipse 3.0&lt;br /&gt;
Matthew Scarpino, Stephen Holder, Stanford Ng, and Laurent Mihalkovic&lt;br /&gt;
ISBN: 1932394273&lt;br /&gt;
Publisher: Manning&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn Gadget ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn Game ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn Hello World ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn Hello World 2 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn Image Viewer ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn Menu Editor ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse Plug In RCP Example Plugin ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
SWT/JFace in Action&lt;br /&gt;
GUI Design with Eclipse 3.0&lt;br /&gt;
Matthew Scarpino, Stephen Holder, Stanford Ng, and Laurent Mihalkovic&lt;br /&gt;
ISBN: 1932394273&lt;br /&gt;
Publisher: Manning&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn shapes merlin ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse Plugin Spell Checker ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse PlugIn Wizards Plugin ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== HEX Eclipse Plugin ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Shapes Emf PlugIn ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Shape srcp PlugIn ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Table Viewer Example Plugin ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The main plugin class to be used in the desktop. ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/*******************************************************************************&lt;br /&gt;
 * Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br /&gt;
 * All rights reserved. This program and the accompanying materials&lt;br /&gt;
 * are made available under the terms of the Eclipse Public License v1.0&lt;br /&gt;
 * which accompanies this distribution, and is available at&lt;br /&gt;
 * http://www.eclipse.org/legal/epl-v10.html&lt;br /&gt;
 *&lt;br /&gt;
 * Contributors:&lt;br /&gt;
 *     IBM Corporation - initial API and implementation&lt;br /&gt;
 *******************************************************************************/&lt;br /&gt;
package org.eclipse.swt.examples.paint;&lt;br /&gt;
&lt;br /&gt;
import org.eclipse.core.runtime.*;&lt;br /&gt;
import org.eclipse.ui.plugin.*;&lt;br /&gt;
/**&lt;br /&gt;
 * The main plugin class to be used in the desktop.&lt;br /&gt;
 */&lt;br /&gt;
public class PaintPlugin extends AbstractUIPlugin {&lt;br /&gt;
  private static PaintPlugin plugin;&lt;br /&gt;
  /**&lt;br /&gt;
   * Constructs the Paint plugin.&lt;br /&gt;
   */&lt;br /&gt;
  public PaintPlugin() {&lt;br /&gt;
    super();&lt;br /&gt;
    plugin = this;&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  /**&lt;br /&gt;
   * Log an error to the ILog for this plugin&lt;br /&gt;
   * &lt;br /&gt;
   * @param message the localized error message text&lt;br /&gt;
   * @param exception the associated exception, or null&lt;br /&gt;
   */&lt;br /&gt;
  public static void logError(String message, Throwable exception) {&lt;br /&gt;
    plugin.getLog().log(&lt;br /&gt;
      new Status(IStatus.ERROR, plugin.getBundle().getSymbolicName(), 0, message, exception));&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/*******************************************************************************&lt;br /&gt;
 * Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br /&gt;
 * All rights reserved. This program and the accompanying materials&lt;br /&gt;
 * are made available under the terms of the Eclipse Public License v1.0&lt;br /&gt;
 * which accompanies this distribution, and is available at&lt;br /&gt;
 * http://www.eclipse.org/legal/epl-v10.html&lt;br /&gt;
 *&lt;br /&gt;
 * Contributors:&lt;br /&gt;
 *     IBM Corporation - initial API and implementation&lt;br /&gt;
 *******************************************************************************/&lt;br /&gt;
package org.eclipse.swt.examples.paint;&lt;br /&gt;
&lt;br /&gt;
import org.eclipse.jface.action.*;&lt;br /&gt;
import org.eclipse.jface.resource.*;&lt;br /&gt;
import org.eclipse.swt.SWT;&lt;br /&gt;
import org.eclipse.swt.widgets.*;&lt;br /&gt;
import org.eclipse.ui.*;&lt;br /&gt;
import org.eclipse.ui.part.*;&lt;br /&gt;
/**&lt;br /&gt;
 * The view for the paint application.&lt;br /&gt;
 * All rendering happens inside the area created by createPartControl().&lt;br /&gt;
 * &lt;br /&gt;
 * @see ViewPart&lt;br /&gt;
 */&lt;br /&gt;
public class PaintView extends ViewPart {&lt;br /&gt;
  PaintExample instance = null;&lt;br /&gt;
  /**&lt;br /&gt;
   * Constructs a Paint view.&lt;br /&gt;
   */&lt;br /&gt;
  public PaintView() {&lt;br /&gt;
  }&lt;br /&gt;
  /**&lt;br /&gt;
   * Creates the example.&lt;br /&gt;
   * &lt;br /&gt;
   * @see ViewPart#createPartControl&lt;br /&gt;
   */&lt;br /&gt;
  public void createPartControl(Composite parent) {&lt;br /&gt;
    instance = new PaintExample(parent);&lt;br /&gt;
    instance.createGUI(parent);&lt;br /&gt;
    /*** Add toolbar contributions ***/&lt;br /&gt;
    final IActionBars actionBars = getViewSite().getActionBars();&lt;br /&gt;
    IToolBarManager toolbarManager = actionBars.getToolBarManager();&lt;br /&gt;
    Tool tools[] = PaintExample.tools;&lt;br /&gt;
    String group = tools[0].group;&lt;br /&gt;
    toolbarManager.add(new GroupMarker(group));&lt;br /&gt;
    for (int i = 0; i &amp;lt; tools.length; i++) {&lt;br /&gt;
      Tool tool = tools[i];&lt;br /&gt;
      if (!tool.group.equals(group)) {&lt;br /&gt;
        toolbarManager.add(new Separator());&lt;br /&gt;
        toolbarManager.add(new GroupMarker(tool.group));&lt;br /&gt;
      }&lt;br /&gt;
      group = tool.group;&lt;br /&gt;
      PaintAction action = new PaintAction(tool);&lt;br /&gt;
      toolbarManager.appendToGroup(group, action);&lt;br /&gt;
      if (i == PaintExample.Default_tool || i == PaintExample.Default_fill || i == PaintExample.Default_linestyle) {&lt;br /&gt;
        action.setChecked(true);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
    actionBars.updateActionBars();&lt;br /&gt;
    instance.setDefaults();&lt;br /&gt;
  }&lt;br /&gt;
  /**&lt;br /&gt;
   * Called when the View is to be disposed&lt;br /&gt;
   */  &lt;br /&gt;
  public void dispose() {&lt;br /&gt;
    instance.dispose();&lt;br /&gt;
    instance = null;&lt;br /&gt;
    super.dispose();&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  /**&lt;br /&gt;
   * Returns the Display.&lt;br /&gt;
   * &lt;br /&gt;
   * @return the display we&amp;quot;re using&lt;br /&gt;
   */&lt;br /&gt;
  public Display getDisplay() {&lt;br /&gt;
    return instance.getDisplay();&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  /**&lt;br /&gt;
   * Called when we must grab focus.&lt;br /&gt;
   * &lt;br /&gt;
   * @see org.eclipse.ui.part.ViewPart#setFocus&lt;br /&gt;
   */&lt;br /&gt;
  public void setFocus() {&lt;br /&gt;
    instance.setFocus();&lt;br /&gt;
  }&lt;br /&gt;
  /**&lt;br /&gt;
   * Action set glue.&lt;br /&gt;
   */&lt;br /&gt;
  class PaintAction extends Action {&lt;br /&gt;
    private int style;&lt;br /&gt;
    private Runnable action;&lt;br /&gt;
    public PaintAction(Tool tool) {&lt;br /&gt;
      super();&lt;br /&gt;
      String id = tool.group + &amp;quot;.&amp;quot; + tool.name;&lt;br /&gt;
      setId(id);&lt;br /&gt;
      style = tool.type == SWT.RADIO ? IAction.AS_RADIO_BUTTON : IAction.AS_PUSH_BUTTON;&lt;br /&gt;
      action = tool.action;&lt;br /&gt;
      setText(PaintExample.getResourceString(id + &amp;quot;.label&amp;quot;));&lt;br /&gt;
      setToolTipText(PaintExample.getResourceString(id + &amp;quot;.tooltip&amp;quot;));&lt;br /&gt;
      setDescription(PaintExample.getResourceString(id + &amp;quot;.description&amp;quot;));&lt;br /&gt;
      setImageDescriptor(ImageDescriptor.createFromFile(&lt;br /&gt;
          PaintExample.class,&lt;br /&gt;
          PaintExample.getResourceString(id + &amp;quot;.image&amp;quot;)));&lt;br /&gt;
    }&lt;br /&gt;
    public int getStyle() { return style; }&lt;br /&gt;
    public void run() { action.run(); }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tree viewer PlugIn ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== View Article PlugIn ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== WizardsPlugin ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== XML Editor Plugin ==&lt;/div&gt;</summary>
			</entry>

	</feed>