當前位置: 首頁>>代碼示例>>Java>>正文


Java Section.DESCRIPTION屬性代碼示例

本文整理匯總了Java中org.eclipse.ui.forms.widgets.Section.DESCRIPTION屬性的典型用法代碼示例。如果您正苦於以下問題:Java Section.DESCRIPTION屬性的具體用法?Java Section.DESCRIPTION怎麽用?Java Section.DESCRIPTION使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在org.eclipse.ui.forms.widgets.Section的用法示例。


在下文中一共展示了Section.DESCRIPTION屬性的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: ApplicationMasterPart

public ApplicationMasterPart(DockerFoundryApplicationsEditorPage editorPage, IManagedForm managedForm,
			Composite parent, DockerFoundryServer cloudServer) {
		super(parent, managedForm.getToolkit(), Section.TITLE_BAR | Section.DESCRIPTION);
		this.editorPage = editorPage;
		this.cloudServer = cloudServer;
		this.toolkit = managedForm.getToolkit();
//		this.provideServices = CloudFoundryBrandingExtensionPoint.getProvideServices(editorPage.getServer()
//				.getServerType().getId());
		
		String linksAsString = this.cloudServer.getDockerContainerLinks();
		if(linksAsString != null && linksAsString.length() >0){
			StringTokenizer st = new StringTokenizer(linksAsString, ",");
			if(st != null){
				while (st.hasMoreTokens()) {
					String token = st.nextToken();
					String[] s = token.split(":");
					DockerApplicationService service = new DockerApplicationService();
					service.setName(s[0]);
					service.setLinkName(s[1]);
					services.add(service);
				}
			}
		}
	}
 
開發者ID:osswangxining,項目名稱:dockerfoundry,代碼行數:24,代碼來源:ApplicationMasterPart.java

示例2: ApplicationMasterPart

public ApplicationMasterPart(CloudFoundryApplicationsEditorPage editorPage, IManagedForm managedForm,
		Composite parent, CloudFoundryServer cloudServer) {
	super(parent, managedForm.getToolkit(), Section.TITLE_BAR | Section.DESCRIPTION | Section.TWISTIE);
	this.editorPage = editorPage;
	this.cloudServer = cloudServer;
	this.toolkit = managedForm.getToolkit();
	this.provideServices = CloudFoundryBrandingExtensionPoint
			.getProvideServices(editorPage.getServer().getServerType().getId());
}
 
開發者ID:eclipse,項目名稱:cft,代碼行數:9,代碼來源:ApplicationMasterPart.java

示例3: OverviewProjectInformationSection

/**
 * @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;
    }
}
 
開發者ID:SK-HOLDINGS-CC,項目名稱:NEXCORE-UML-Modeler,代碼行數:14,代碼來源:OverviewProjectInformationSection.java

示例4: SectPatternParticipants

/**
 * Default constructor
 * 
 * @param page
 *          Owner page
 */
public SectPatternParticipants(ParticipantPage page, Composite parent) {
	super(page, parent, Section.DESCRIPTION, getButtonLabels());
	// handleDefaultButton = false; v3.3
	this.fHandleDefaultButton = false; // v.3.3
	final String modelID = getDesignPatternInstance().getModelID();
	final String comment = DesignPatternPool.getDesignPatternModel(modelID).getComment();
	getSection().setDescription(comment + '\n' + (char) 160);
	fDisplay = parent.getDisplay();
}
 
開發者ID:patternbox,項目名稱:patternbox-eclipse,代碼行數:15,代碼來源:SectPatternParticipants.java

示例5: AbstractSection

public AbstractSection(AbstractFormPage page, Composite parent) {
	super(parent, page.getEditor().getToolkit(), Section.DESCRIPTION | 
													ExpandableComposite.TITLE_BAR | 
													ExpandableComposite.TWISTIE  | 
													ExpandableComposite.EXPANDED );
	this.page = page;
	initialize(page.getManagedForm());
	getSection().clientVerticalSpacing = 4;
	getSection().setData("part", this); //$NON-NLS-1$
	createClient(getSection(), page.getEditor().getToolkit());
}
 
開發者ID:chrisGerken,項目名稱:transformAuthoring,代碼行數:11,代碼來源:AbstractSection.java

示例6: ValidateableTableSectionPart

/**
 * Constructor of the part without section flags
 * @see ValidateableTableSectionPart#TableSectionPart(Composite, String, String, FormToolkit, int)
 */
public ValidateableTableSectionPart(Composite composite, String title, String description, FormToolkit toolkit,
        BasicFormPage page, String sectionName)
{
    this(composite, title, description, toolkit, Section.DESCRIPTION | Section.TITLE_BAR, page, sectionName);
}
 
開發者ID:tlaplus,項目名稱:tlaplus,代碼行數:9,代碼來源:ValidateableTableSectionPart.java

示例7: createSection

/**
 * Creates a new subsection inside the current page. This subsection has its own heading and can be (un-)folded.
 * 
 * @param title
 *            The title of the section
 * @param description
 *            The description of the section (will be shown directly under the title)
 * @param gridStyle A GridData constants for configuring the behavior of the section.
 *     Usually,  <tt>GridData.FILL_HORIZONTAL</tt> should be appropriate.
 * @return A new composite where new elements can be added to.
 *     The newly created composite must be configured with a {@link GridLayout} otherwise
 *     nested elements will not be displayed.
 * @see #createSection(String, String, int, int)
 */
protected Composite createSection(String title, String description, int gridStyle) {
    int style = Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED;
    if (null != description) {
        style |= Section.DESCRIPTION;
    }
    
    return createSection(title, description, style, gridStyle);
}
 
開發者ID:SSEHUB,項目名稱:EASyProducer,代碼行數:22,代碼來源:AbstractEASyEditorPage.java

示例8: OverviewModelDetailSection

/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public OverviewModelDetailSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);

}
 
開發者ID:SK-HOLDINGS-CC,項目名稱:NEXCORE-UML-Modeler,代碼行數:10,代碼來源:OverviewModelDetailSection.java

示例9: OverviewDocumentSection

/**
 * 생성자
 * 
 * @param overviewPage
 * @param parent
 */
public OverviewDocumentSection(OverviewPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
開發者ID:SK-HOLDINGS-CC,項目名稱:NEXCORE-UML-Modeler,代碼行數:9,代碼來源:OverviewDocumentSection.java

示例10: DetailsModelLibrarySection

/**
 * 생성자
 * 
 * @param detailsPage
 * @param parent
 */
public DetailsModelLibrarySection(DetailsPage detailsPage, Composite parent) {
    super(detailsPage, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
開發者ID:SK-HOLDINGS-CC,項目名稱:NEXCORE-UML-Modeler,代碼行數:9,代碼來源:DetailsModelLibrarySection.java

示例11: FragmentSection

/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public FragmentSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
開發者ID:SK-HOLDINGS-CC,項目名稱:NEXCORE-UML-Modeler,代碼行數:9,代碼來源:FragmentSection.java

示例12: DetailsProfileSection

/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public DetailsProfileSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
開發者ID:SK-HOLDINGS-CC,項目名稱:NEXCORE-UML-Modeler,代碼行數:9,代碼來源:DetailsProfileSection.java

示例13: DiagramSection

/**
 * 생성자
 * 
 * @param fragmentDiagramPage
 * @param parent
 */
public DiagramSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
開發者ID:SK-HOLDINGS-CC,項目名稱:NEXCORE-UML-Modeler,代碼行數:9,代碼來源:DiagramSection.java

示例14: OverviewGeneralSection

/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public OverviewGeneralSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
開發者ID:SK-HOLDINGS-CC,項目名稱:NEXCORE-UML-Modeler,代碼行數:9,代碼來源:OverviewGeneralSection.java


注:本文中的org.eclipse.ui.forms.widgets.Section.DESCRIPTION屬性示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。