net.sf.latexdraw.instruments
Class Helper

java.lang.Object
  extended by org.malai.instrument.Instrument
      extended by org.malai.instrument.WidgetInstrument
          extended by net.sf.latexdraw.instruments.Helper
All Implemented Interfaces:
ActionHandler, Preferenciable, Modifiable, Reinitialisable, UndoHandler

public class Helper
extends WidgetInstrument

This instrument manages help features.

This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

11/20/10

Version:
3.0
Author:
Arnaud BLOUIN

Field Summary
protected  AboutDialogueBox aboutFrame
          The dialogue box that gives information on latexdraw.
protected  MMenuItem aboutItem
          This menu item shows the "About latexdraw" panel.
protected  MMenuItem donateItem
          This menu opens the web page used to donate to the latexdraw project.
protected  MMenuItem forumItem
          This menu opens the latexdraw forum.
protected  MMenuItem reportBugItem
          This menu opens the web page used to report bugs.
 
Fields inherited from class org.malai.instrument.WidgetInstrument
composer
 
Fields inherited from class org.malai.instrument.Instrument
activated, eventables, links, modified
 
Constructor Summary
Helper(UIComposer<?> composer)
          Creates the instrument.
 
Method Summary
 MMenuItem getAboutItem()
           
 MMenuItem getDonateItem()
           
 MMenuItem getForumItem()
           
 MMenuItem getReportBugItem()
           
protected  AboutDialogueBox initialiseAboutFrame()
           
protected  void initialiseLinks()
          Initialises the links of the instrument.
protected  void initialiseWidgets()
          Initialises the widgets of the instrument.
 
Methods inherited from class org.malai.instrument.WidgetInstrument
getComposer, setActivated
 
Methods inherited from class org.malai.instrument.Instrument
addEventable, addLink, clearEvents, getLinks, getSizeLinks, hasLinks, interimFeedback, isActivated, isModified, load, onActionAborted, onActionAdded, onActionCancelled, onActionDone, onActionExecuted, onUndoableAdded, onUndoableRedo, onUndoableUndo, reinit, removeLink, save, setActivated, setModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aboutItem

protected MMenuItem aboutItem
This menu item shows the "About latexdraw" panel.


reportBugItem

protected MMenuItem reportBugItem
This menu opens the web page used to report bugs.


donateItem

protected MMenuItem donateItem
This menu opens the web page used to donate to the latexdraw project.


forumItem

protected MMenuItem forumItem
This menu opens the latexdraw forum.


aboutFrame

protected AboutDialogueBox aboutFrame
The dialogue box that gives information on latexdraw.

Constructor Detail

Helper

public Helper(UIComposer<?> composer)
Creates the instrument.

Parameters:
composer - The composer that manages the widgets of the instrument.
Since:
3.0
Method Detail

initialiseWidgets

protected void initialiseWidgets()
Description copied from class: WidgetInstrument
Initialises the widgets of the instrument.

Specified by:
initialiseWidgets in class WidgetInstrument

initialiseLinks

protected void initialiseLinks()
Description copied from class: Instrument
Initialises the links of the instrument.

Specified by:
initialiseLinks in class Instrument

getAboutItem

public MMenuItem getAboutItem()
Returns:
The menu item that shows the "About latexdraw" panel.
Since:
3.0

getReportBugItem

public MMenuItem getReportBugItem()
Returns:
The menu that opens the web page used to report bugs.
Since:
3.0

getDonateItem

public MMenuItem getDonateItem()
Returns:
The menu that opens the web page used to donate to the latexdraw project.
Since:
3.0

getForumItem

public MMenuItem getForumItem()
Returns:
the menu that opens the latexdraw forum.
Since:
3.0

initialiseAboutFrame

protected AboutDialogueBox initialiseAboutFrame()
Returns:
The created latexdraw dialogue box.
Since:
3.0