org.seasar.uruma.rcp.ui
クラス GenericPerspectiveFactory

java.lang.Object
  上位を拡張 org.seasar.uruma.rcp.ui.GenericPerspectiveFactory
すべての実装されたインタフェース:
IPerspectiveFactory, UrumaMessageCodes

public class GenericPerspectiveFactory
extends Object
implements IPerspectiveFactory, UrumaMessageCodes

workbench.xml に記述された perspective 要素からパースペクティブを生成するクラスです。

作成者:
y-komori

フィールドの概要
protected  int folderNum
           
protected  UrumaService service
           
protected  TemplateManager templateManager
           
 
インタフェース org.seasar.uruma.core.UrumaMessageCodes から継承されたフィールド
ANALYZING_BUNDLE, ASYNC_METHOD_CANCELED, ASYNC_METHOD_END, ASYNC_METHOD_SCHEDULED, ASYNC_METHOD_START, BUNDLE_START, BUNDLE_STARTED, BUNDLE_STOP, BUNDLE_UPDATE, CANT_BE_EMPTY_STRING, CANT_BE_NULL, CLASS_NOT_MUTCH, CLOSE_WINDOW, COMPARATOR_FOUND, COMPONENT_PROPERTY_IS_NOT_STRING, COMPONENT_REGISTERED, CONFIGURATION_WRITER_NOT_FOUND, CONTENT_PROVIDER_FOUND, COOLDEPLOY_PACKAGE_NOT_FOUND, CREATE_CONTRIBUTION, CREATE_METHOD_BINDING, DELETE_ALL_TEMPLATE_FROM_CACHE, DELETE_TEMPLATE_FROM_CACHE, DEPENDING_TYPE_NOT_SUPPORTED, DEPENDING_WIDGET_NOT_SUPPORTED, DICON_FILE_NOT_FOUND, DO_BINDING, DUPLICATE_ANNOTATED_METHOD, DUPLICATE_COMPONENT_ID, DUPLICATE_ID_TEMPLATE, DUPLICATE_WIDGET_ID, ENABLES_DEPENDING_TARGET_NOT_FOUND, END_METHOD_CALL, EXCEPTION_OCCURED, EXCEPTION_OCCURED_INVOKING_METHOD, EXCEPTION_OCCURED_WITH_REASON, EXCEPTION_ON_INVOKING_INITIALIZE_METHOD, EXPORT_APPLICATION_CONTEXT, EXTEND_TARGET_COMPONENT_NOT_FOUND, EXTEND_TARGET_PROPERTY_NOT_FOUND, FINDING_XML_START, FORM_CLASS_FOUND, FORM_CLASS_NOT_FOUND, ILLEGAL_ARG_NUMBERS, ILLEGAL_METHOD_SIGNATURE, IMAGE_DEF_BUNDLE_NOT_FOUND, IMPORT_APPLICATION_CONTEXT, INIT_WINDOW, INVALID_URUMA_APP_BUNDLE, IO_EXCEPTION_OCCURED, ISELECTION_LISTENER_REGISTERED, LABEL_PROVIDER_FOUND, LAYOUT_DATA_NOT_FOUND, LAYOUT_NOTO_FOUND, LOAD_TEMPLATE_FROM_CACHE, LOAD_TEMPLATE_FROM_FILE, LOADING_IMAGE_BUNDLE, MESSAGE_KEY_NOT_FOUND, MESSAGE_RESOURCE_NOT_FOUND, OPEN_WINDOW, PART_ACTION_CLASS_FOUND, PART_ACTION_CLASS_NOT_FOUND, PART_IN_PERSPECTIVE_NOT_FOUND, PERSPECTIVE_NOT_FOUND, PRE_RENDER_END, PRE_RENDER_START, PROPERTY_IS_NOT_WRITABLE, PROPERY_NOT_FOUND, RENDER_END, RENDER_MAPPING_FAILED, RENDER_START, RENDERER_NOT_FOUND, REQUIRED_VIEWPART_ERROR, STAND_ALONE_URUMA_STARTER_INIT, STAND_ALONE_URUMA_STARTER_STOP, START_METHOD_CALL, SWITCH_CONTEXT_CLASS_LOADER, SWT_EVENT_LISTENER_NOT_FOUND, TEMPLATE_NOT_FOUND, TEMPLATE_REGISTERED, TYPE_MISS_MATCH, UICOMPONENT_NOT_FOUND, UNSUPPORTED_CLASS, UNSUPPORTED_TYPE_ERROR, URUMA_APP_CLASS_LOADER_NOT_FOUND, URUMA_APP_NOT_FOUND, URUMA_APP_STARTED, URUMA_APP_STARTING, URUMA_APP_STARTING_FAILED, URUMA_APPLICATION_FOUND, URUMA_APPLICATION_STARTING, URUMA_APPLICATION_STOPPING, URUMA_BUNDLE_START, URUMA_BUNDLE_STOP, URUMA_SERVICE_DESTROY, URUMA_SERVICE_INIT_END, URUMA_SERVICE_INIT_START, VALUE_BINDER_NOT_FOUND, VIEW_INIT_END, VIEW_INIT_FAILED, VIEW_INIT_START, WIDGET_CREATED, WIDGET_NOT_FOUND, WIDGET_NOT_FOUND_ON_XML, WIDGET_NOT_SUPPORTED, WIDGET_PROPERTY_NOT_FOUND, WIDGET_REGISTERED, WIN32_API_CALL_FAILED, WINDOW_NOT_FOUND, WORKBENCH_ACTION_CLASS_FOUND, WORKBENCH_ACTION_CLASS_NOT_FOUND, WORKBENCH_DEF_FILE_NOT_FOUND, WORKBENCH_ELEMENT_NOT_FOUND
 
コンストラクタの概要
GenericPerspectiveFactory()
          GenericPerspectiveFactory を構築します。
 
メソッドの概要
protected  void addView(Object parent, String viewId, int pos, float ratio)
           
protected  IFolderLayout createFolder(IPageLayout layout, PartFolderComponent folder)
           
 void createInitialLayout(IPageLayout layout)
           
protected  PerspectiveComponent findPerspective(List<PerspectiveComponent> perspectives, String perspectiveId)
           
protected  boolean findViewPart(String viewId)
           
protected  String getFolderId(PartFolderComponent folder)
           
protected  int getPosition(String str)
           
protected  float getRatio(String str)
           
protected  void setupChildren(UIElementContainer container, Object layout, String perspectiveId)
           
protected  boolean setupLayout(Object layout, PartComponent part, UIElementContainer parent)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

service

protected UrumaService service

templateManager

protected TemplateManager templateManager

folderNum

protected int folderNum
コンストラクタの詳細

GenericPerspectiveFactory

public GenericPerspectiveFactory()
GenericPerspectiveFactory を構築します。

メソッドの詳細

createInitialLayout

public void createInitialLayout(IPageLayout layout)
定義:
インタフェース IPerspectiveFactory 内の createInitialLayout

setupChildren

protected void setupChildren(UIElementContainer container,
                             Object layout,
                             String perspectiveId)

createFolder

protected IFolderLayout createFolder(IPageLayout layout,
                                     PartFolderComponent folder)

setupLayout

protected boolean setupLayout(Object layout,
                              PartComponent part,
                              UIElementContainer parent)

addView

protected void addView(Object parent,
                       String viewId,
                       int pos,
                       float ratio)

getPosition

protected int getPosition(String str)

getRatio

protected float getRatio(String str)

getFolderId

protected String getFolderId(PartFolderComponent folder)

findPerspective

protected PerspectiveComponent findPerspective(List<PerspectiveComponent> perspectives,
                                               String perspectiveId)

findViewPart

protected boolean findViewPart(String viewId)


Copyright © 2006-2008 The Seasar Foundation. All Rights Reserved.