/** * 생성자 * * @param parent * @param toolkit * @param style * @param titleBarYn */ public AbstractSection(FormPage page, Composite parent, int style, boolean titleBarYn) { super(parent, page.getManagedForm().getToolkit(), titleBarYn ? (Section.TITLE_BAR | style) : style); this.page = page; // 설명, 에러 메시지를 출력할 컨트롤 설정 messageText = (Text) getSection().getDescriptionControl(); initialize(page.getManagedForm()); getSection().clientVerticalSpacing = CLIENT_VSPACING; getSection().setData("part", this); //$NON-NLS-1$ createClient(getSection(), page.getManagedForm().getToolkit()); }
/** * @param page * @param parent * @param style */ public OverviewProjectInformationSection(FormPage page, Composite parent) { super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION); try { this.rmData = RMDataUtil.findRMData(model); } catch (Exception e) { this.rmData = null; } }
@Override protected FormPage getPage() { RepositoryClient client = Database.getRepositoryClient(); List<Comment> comments = new ArrayList<>(); try { comments = client.getAllComments(); } catch (WebRequestException e) { log.error("Error loading comments" , e); } return new CommentsPage(this, comments); }
public AutomationBlock(FormPage page) { this.page = page; }
@Override protected FormPage getPage() { return page = new Page(); }
@Override protected FormPage getPage() { return new Page(); }
/** Creates a nice form header with the given title and returns the form. */ public static ScrolledForm formHeader(FormPage page, String subtitle, Image image) { return formHeader(page.getManagedForm(), page.getTitle() + ": " + subtitle, image); }
@Override protected FormPage getPage() { return new SimulationPage(this); }
public NamespaceDetailsBlock(FormPage page) { this.page = page; }
/** * 생성자 * * @param parent * @param toolkit * @param style */ public AbstractSection(FormPage page, Composite parent, int style) { this(page, parent, style, true); }
/** * FormPage 반환 * * @return FormPage */ public FormPage getPage() { return page; }
/** * 생성자 * * @param page * @param parent */ public OverviewModelDetailSection(FormPage page, Composite parent) { super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION); }
/** * 생성자 * * @param page * @param parent */ public FragmentSection(FormPage page, Composite parent) { super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION); }
/** * 생성자 * * @param page * @param parent */ public DetailsProfileSection(FormPage page, Composite parent) { super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION); }
/** * 생성자 * * @param fragmentDiagramPage * @param parent */ public DiagramSection(FormPage page, Composite parent) { super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION); }
/** * 생성자 * * @param page * @param parent */ public OverviewGeneralSection(FormPage page, Composite parent) { super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION); }
FormPage createEditorPage(FormEditor editor);
protected abstract FormPage getPage();