templates.presentation
Class TemplateToolset.TemplateUID

java.lang.Object
  extended by templates.presentation.TemplateToolset.TemplateUID
All Implemented Interfaces:
ides.api.plugin.presentation.UIDescriptor
Enclosing class:
TemplateToolset

protected class TemplateToolset.TemplateUID
extends java.lang.Object
implements ides.api.plugin.presentation.UIDescriptor

The UIDescriptor which specifies the UI elements to be displayed when a TemplateModel is activated in IDES.

Author:
Lenko Grigorov

Field Summary
protected  TemplateEditableCanvas canvas
          The main canvas which lets the user edit the template design.
protected  TemplateConsistencyCanvas consistency
          The canvas which highlights the consistency issues in the template design.
protected  IssuesViewer issues
          The Presentation which lists the consistency issues in the template design.
protected  TemplateModel model
          The template design which is displayed by the Presentations specified in this descriptor.
protected  ides.api.plugin.presentation.Presentation statusBar
          The status bar to be displayed when the TemplateModel is activated in IDES.
 
Constructor Summary
TemplateToolset.TemplateUID(TemplateModel model)
          Construct the UIDescriptor for the given TemplateModel.
 
Method Summary
 ides.api.plugin.presentation.Presentation[] getLeftPanePresentations()
           
 ides.api.plugin.presentation.Presentation[] getMainPanePresentations()
           
 javax.swing.JMenu[] getMenus()
           
 ides.api.plugin.presentation.Presentation[] getRightPanePresentations()
           
 ides.api.plugin.presentation.Presentation getStatusBar()
           
 javax.swing.JToolBar getToolbar()
           
 boolean supportsZoom()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected TemplateModel model
The template design which is displayed by the Presentations specified in this descriptor.


canvas

protected TemplateEditableCanvas canvas
The main canvas which lets the user edit the template design.


consistency

protected TemplateConsistencyCanvas consistency
The canvas which highlights the consistency issues in the template design.


issues

protected IssuesViewer issues
The Presentation which lists the consistency issues in the template design.


statusBar

protected ides.api.plugin.presentation.Presentation statusBar
The status bar to be displayed when the TemplateModel is activated in IDES.

Constructor Detail

TemplateToolset.TemplateUID

public TemplateToolset.TemplateUID(TemplateModel model)
Construct the UIDescriptor for the given TemplateModel.

Parameters:
model - the template design for which to construct a descriptor
Method Detail

getLeftPanePresentations

public ides.api.plugin.presentation.Presentation[] getLeftPanePresentations()
Specified by:
getLeftPanePresentations in interface ides.api.plugin.presentation.UIDescriptor

getMainPanePresentations

public ides.api.plugin.presentation.Presentation[] getMainPanePresentations()
Specified by:
getMainPanePresentations in interface ides.api.plugin.presentation.UIDescriptor

getMenus

public javax.swing.JMenu[] getMenus()
Specified by:
getMenus in interface ides.api.plugin.presentation.UIDescriptor

getRightPanePresentations

public ides.api.plugin.presentation.Presentation[] getRightPanePresentations()
Specified by:
getRightPanePresentations in interface ides.api.plugin.presentation.UIDescriptor

getStatusBar

public ides.api.plugin.presentation.Presentation getStatusBar()
Specified by:
getStatusBar in interface ides.api.plugin.presentation.UIDescriptor

getToolbar

public javax.swing.JToolBar getToolbar()
Specified by:
getToolbar in interface ides.api.plugin.presentation.UIDescriptor

supportsZoom

public boolean supportsZoom()
Specified by:
supportsZoom in interface ides.api.plugin.presentation.UIDescriptor