com.japisoft.editix.plugin
Class EditiXManager

java.lang.Object
  extended by com.japisoft.editix.plugin.EditiXManager

public class EditiXManager
extends java.lang.Object

Here a manager for controlling EditiX. You can activate action item (from the menu/popup/toolbar) and access to all the editor

Author:
Alexandre Brillant (http://www.editix.com)

Method Summary
 void activeAction(java.lang.String actionId)
          Active an item action from the editix descriptor
 java.util.Iterator<java.lang.String> getActions()
           
 EditixDocumentModel getDocumentModel()
           
static EditiXManager getInstance()
           
 void info(java.lang.String message)
          Display a dialog
 java.lang.String prompt(java.lang.String title, java.lang.String defaultMessage)
          Show a dialog and return the user input
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static EditiXManager getInstance()
Returns:
the current singleton for accessing to the editix manager

activeAction

public void activeAction(java.lang.String actionId)
Active an item action from the editix descriptor

Parameters:
actionId - A unique action id

getActions

public java.util.Iterator<java.lang.String> getActions()
Returns:
available actions id

info

public void info(java.lang.String message)
Display a dialog

Parameters:
message - Simple dialog message

prompt

public java.lang.String prompt(java.lang.String title,
                               java.lang.String defaultMessage)
Show a dialog and return the user input


getDocumentModel

public EditixDocumentModel getDocumentModel()
Returns:
An access to all the opened document