本文整理汇总了Java中org.insightech.er.editor.view.figure.ModelPropertiesFigure类的典型用法代码示例。如果您正苦于以下问题:Java ModelPropertiesFigure类的具体用法?Java ModelPropertiesFigure怎么用?Java ModelPropertiesFigure使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelPropertiesFigure类属于org.insightech.er.editor.view.figure包,在下文中一共展示了ModelPropertiesFigure类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createFigure
import org.insightech.er.editor.view.figure.ModelPropertiesFigure; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected IFigure createFigure() {
final ERDiagram diagram = getDiagram();
final Settings settings = diagram.getDiagramContents().getSettings();
final ModelPropertiesFigure figure = new ModelPropertiesFigure();
changeFont(figure);
figure.setVisible(settings.getModelProperties().isDisplay());
return figure;
}
示例2: doRefreshVisuals
import org.insightech.er.editor.view.figure.ModelPropertiesFigure; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public void doRefreshVisuals() {
final ERDiagram diagram = getDiagram();
final ModelProperties modelProperties = (ModelProperties) getModel();
final ModelPropertiesFigure figure = (ModelPropertiesFigure) getFigure();
figure.setData(modelProperties.getProperties(), modelProperties.getCreationDate(), modelProperties.getUpdatedDate(), diagram.getDiagramContents().getSettings().getTableStyle(), modelProperties.getColor());
}
示例3: createFigure
import org.insightech.er.editor.view.figure.ModelPropertiesFigure; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected IFigure createFigure() {
ERDiagram diagram = this.getDiagram();
Settings settings = diagram.getDiagramContents().getSettings();
ModelPropertiesFigure figure = new ModelPropertiesFigure();
this.changeFont(figure);
figure.setVisible(settings.getModelProperties().isDisplay());
return figure;
}
示例4: doRefreshVisuals
import org.insightech.er.editor.view.figure.ModelPropertiesFigure; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public void doRefreshVisuals() {
ERDiagram diagram = this.getDiagram();
ModelProperties modelProperties = (ModelProperties) this.getModel();
ModelPropertiesFigure figure = (ModelPropertiesFigure) this.getFigure();
figure.setData(modelProperties.getProperties(),
modelProperties.getCreationDate(),
modelProperties.getUpdatedDate(), diagram.getDiagramContents()
.getSettings().getTableStyle(),
modelProperties.getColor());
}